#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 |
void DefaultDraw | ( | ) |
void DefaultMouseDrag | ( | int | x, | |
int | y | |||
) |
void DefaultMousePress | ( | int | b, | |
int | state, | |||
int | x, | |||
int | y | |||
) |
void DefaultReshape | ( | int | Width, | |
int | Height | |||
) |
void WMClose | ( | ) |
Definition at line 130 of file GLUTCore.cpp.
int buttonPressed = 0 |
Definition at line 20 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.