#include <VMenu.h>
Public Member Functions | |
VMenu () | |
void | draw (void) |
void | setMouse (float, float) |
void | click (void) |
void | showMenu (bool) |
void | helpMenu (bool) |
void | loadFile (bool) |
bool | showMenu (void) |
bool | helpMenu (void) |
bool | loadFile (void) |
int | menuPos (void) |
void | menuPos (int) |
void | incmenuPos (void) |
void | decmenuPos (void) |
Private Member Functions | |
void | DrawBox (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat) |
Private Attributes | |
bool | shMenu |
bool | hMenu |
bool | lFile |
int | mPos |
int | actPos |
float | mouseX |
float | mouseY |
Definition at line 11 of file VMenu.h.
VMenu::VMenu | ( | ) |
void VMenu::DrawBox | ( | GLfloat | , | |
GLfloat | , | |||
GLfloat | , | |||
GLfloat | , | |||
GLfloat | ||||
) | [private] |
void VMenu::draw | ( | void | ) |
void VMenu::setMouse | ( | float | , | |
float | ||||
) |
void VMenu::click | ( | void | ) |
void VMenu::showMenu | ( | bool | ) |
Definition at line 201 of file VMenu.cpp.
References shMenu.
Referenced by inputKey(), inputSpecialKey(), loadVolume(), mousebutton(), mousepos(), and OnDraw().
void VMenu::helpMenu | ( | bool | ) |
Definition at line 205 of file VMenu.cpp.
References hMenu.
Referenced by inputKey(), and mousebutton().
void VMenu::loadFile | ( | bool | ) |
Definition at line 209 of file VMenu.cpp.
References lFile.
Referenced by inputKey(), inputSpecialKey(), loadVolume(), and mousebutton().
int VMenu::menuPos | ( | void | ) |
Definition at line 225 of file VMenu.cpp.
References mPos.
Referenced by inputKey(), inputSpecialKey(), and mousebutton().
void VMenu::incmenuPos | ( | void | ) |
void VMenu::decmenuPos | ( | void | ) |
bool VMenu::shMenu [private] |
bool VMenu::hMenu [private] |
bool VMenu::lFile [private] |
int VMenu::mPos [private] |
Definition at line 15 of file VMenu.h.
Referenced by click(), decmenuPos(), draw(), incmenuPos(), menuPos(), and VMenu().
int VMenu::actPos [private] |
float VMenu::mouseX [private] |
float VMenu::mouseY [private] |