VMenu Class Reference

#include <VMenu.h>

List of all members.

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


Detailed Description

Definition at line 11 of file VMenu.h.


Constructor & Destructor Documentation

VMenu::VMenu (  ) 

Definition at line 3 of file VMenu.cpp.

References actPos, hMenu, lFile, mPos, and shMenu.


Member Function Documentation

void VMenu::DrawBox ( GLfloat  ,
GLfloat  ,
GLfloat  ,
GLfloat  ,
GLfloat   
) [private]

Definition at line 156 of file VMenu.cpp.

Referenced by draw().

void VMenu::draw ( void   ) 

Definition at line 11 of file VMenu.cpp.

References actPos, DrawBox(), f, hMenu, lFile, mPos, and shMenu.

Referenced by OnDraw().

void VMenu::setMouse ( float  ,
float   
)

Definition at line 166 of file VMenu.cpp.

References actPos, mouseX, and mouseY.

Referenced by mousepos().

void VMenu::click ( void   ) 

Definition at line 196 of file VMenu.cpp.

References actPos, and mPos.

Referenced by mousebutton().

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().

bool VMenu::showMenu ( void   ) 

Definition at line 213 of file VMenu.cpp.

References shMenu.

bool VMenu::helpMenu ( void   ) 

Definition at line 217 of file VMenu.cpp.

References hMenu.

bool VMenu::loadFile ( void   ) 

Definition at line 221 of file VMenu.cpp.

References lFile.

int VMenu::menuPos ( void   ) 

Definition at line 225 of file VMenu.cpp.

References mPos.

Referenced by inputKey(), inputSpecialKey(), and mousebutton().

void VMenu::menuPos ( int   ) 

Definition at line 229 of file VMenu.cpp.

References mPos.

void VMenu::incmenuPos ( void   ) 

Definition at line 233 of file VMenu.cpp.

References mPos.

Referenced by inputSpecialKey().

void VMenu::decmenuPos ( void   ) 

Definition at line 237 of file VMenu.cpp.

References mPos.

Referenced by inputSpecialKey().


Member Data Documentation

bool VMenu::shMenu [private]

Definition at line 12 of file VMenu.h.

Referenced by draw(), showMenu(), and VMenu().

bool VMenu::hMenu [private]

Definition at line 13 of file VMenu.h.

Referenced by draw(), helpMenu(), and VMenu().

bool VMenu::lFile [private]

Definition at line 14 of file VMenu.h.

Referenced by draw(), loadFile(), and VMenu().

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]

Definition at line 16 of file VMenu.h.

Referenced by click(), draw(), setMouse(), and VMenu().

float VMenu::mouseX [private]

Definition at line 17 of file VMenu.h.

Referenced by setMouse().

float VMenu::mouseY [private]

Definition at line 17 of file VMenu.h.

Referenced by setMouse().


The documentation for this class was generated from the following files:
Generated on Wed Dec 6 11:08:04 2006 for VisLU by  doxygen 1.5.1-p1