CPPGPGPU Library - Reference (Doxygen)

Main Page | General Use | Reference | Examples Info | Get/Download CPPGPGPU | SF.net Page

GLUTCore.cpp File Reference

#include "GLUTCore.h"
#include <stdio.h>
#include <sys/time.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

void DefaultMousePress (int b, int state, int x, int y)
 Default mouse pressing function in GLUTCore.
void DefaultMouseDrag (int x, int y)
 Default mouse dragging function.
void DefaultReshape (int Width, int Height)
 Default reshape function inside of GLUTCore.
void DefaultDraw ()
 Default draw function held within GLUTCore.
void WMClose ()

Variables

GLUTCore GLUT
 Instantiation of the GLUTCore object.
int oldX
int oldY
int buttonPressed = 0
int rbuttonPressed = 0


Function Documentation

void DefaultDraw (  ) 

Default draw function held within GLUTCore.

Definition at line 71 of file GLUTCore.cpp.

void DefaultMouseDrag ( int  x,
int  y 
)

Default mouse dragging function.

Definition at line 31 of file GLUTCore.cpp.

void DefaultMousePress ( int  b,
int  state,
int  x,
int  y 
)

Default mouse pressing function in GLUTCore.

Definition at line 22 of file GLUTCore.cpp.

void DefaultReshape ( int  Width,
int  Height 
)

Default reshape function inside of GLUTCore.

Definition at line 55 of file GLUTCore.cpp.

void WMClose (  ) 

Definition at line 130 of file GLUTCore.cpp.


Variable Documentation

int buttonPressed = 0

Definition at line 20 of file GLUTCore.cpp.

GLUTCore GLUT

Instantiation of the GLUTCore object.

Definition at line 17 of file GLUTCore.cpp.

int oldX

Definition at line 20 of file GLUTCore.cpp.

int oldY

Definition at line 20 of file GLUTCore.cpp.

int rbuttonPressed = 0

Definition at line 20 of file GLUTCore.cpp.


© 2005-2007 Charles Lohr, Joshua Allen, David Chapman, Andrew Lohr. All material including documentation under the MIT/X11 license.