Classes | Public Member Functions | Static Public Member Functions | Private Types | Private Attributes
GLWindowMenu Class Reference

#include <GLWindowMenu.h>

List of all members.

Classes

struct  MenuItem
struct  SubMenu

Public Member Functions

void FillBox (int l, int r, int t, int b)
 GLWindowMenu (std::string sName, std::string sTitle)
void GUICommandHandler (std::string sCommand, std::string sParams)
bool HandleClick (int button, int state, int x, int y)
void LineBox (int l, int r, int t, int b)
void Render (int nTop, int nHeight, int nWidth, GLWindow2 &glw)
 ~GLWindowMenu ()

Static Public Member Functions

static void GUICommandCallBack (void *ptr, std::string sCommand, std::string sParams)

Private Types

enum  MenuItemType { Button, Toggle, Monitor, Slider }

Private Attributes

int mgvnEnabled
int mgvnMenuItemWidth
int mgvnMenuTextOffset
std::map< std::string, SubMenummSubMenus
int mnLeftMostCoord
int mnMenuHeight
int mnMenuTop
int mnTextOffset
int mnWidth
std::string msCurrentSubMenu
std::string msName
std::string msTitle

Detailed Description

Definition at line 17 of file GLWindowMenu.h.


Member Enumeration Documentation

Enumerator:
Button 
Toggle 
Monitor 
Slider 

Definition at line 35 of file GLWindowMenu.h.


Constructor & Destructor Documentation

GLWindowMenu::GLWindowMenu ( std::string  sName,
std::string  sTitle 
)

Definition at line 13 of file GLWindowMenu.cc.

Definition at line 37 of file GLWindowMenu.cc.


Member Function Documentation

void GLWindowMenu::FillBox ( int  l,
int  r,
int  t,
int  b 
)

Definition at line 154 of file GLWindowMenu.cc.

void GLWindowMenu::GUICommandCallBack ( void *  ptr,
std::string  sCommand,
std::string  sParams 
) [static]

Definition at line 47 of file GLWindowMenu.cc.

void GLWindowMenu::GUICommandHandler ( std::string  sCommand,
std::string  sParams 
)

Definition at line 52 of file GLWindowMenu.cc.

bool GLWindowMenu::HandleClick ( int  button,
int  state,
int  x,
int  y 
)

Definition at line 259 of file GLWindowMenu.cc.

void GLWindowMenu::LineBox ( int  l,
int  r,
int  t,
int  b 
)

Definition at line 143 of file GLWindowMenu.cc.

void GLWindowMenu::Render ( int  nTop,
int  nHeight,
int  nWidth,
GLWindow2 glw 
)

Definition at line 164 of file GLWindowMenu.cc.


Member Data Documentation

Definition at line 65 of file GLWindowMenu.h.

Definition at line 66 of file GLWindowMenu.h.

Definition at line 67 of file GLWindowMenu.h.

std::map<std::string, SubMenu> GLWindowMenu::mmSubMenus [private]

Definition at line 53 of file GLWindowMenu.h.

Definition at line 72 of file GLWindowMenu.h.

Definition at line 61 of file GLWindowMenu.h.

int GLWindowMenu::mnMenuTop [private]

Definition at line 60 of file GLWindowMenu.h.

Definition at line 62 of file GLWindowMenu.h.

int GLWindowMenu::mnWidth [private]

Definition at line 59 of file GLWindowMenu.h.

std::string GLWindowMenu::msCurrentSubMenu [private]

Definition at line 54 of file GLWindowMenu.h.

std::string GLWindowMenu::msName [private]

Definition at line 55 of file GLWindowMenu.h.

std::string GLWindowMenu::msTitle [private]

Definition at line 56 of file GLWindowMenu.h.


The documentation for this class was generated from the following files:


ptam
Author(s): Markus Achtelik , Stephan Weiss , Simon Lynen
autogenerated on Sun Oct 5 2014 23:52:34