#include <MenuOnButton.h>
Inheritance diagram for OglGui::MenuOnButton:
Public Member Functions | |
MenuOnButton (Window *parent, int x, int y, int w, int h, strconst label, Menu *menu=0) | |
MenuOnButton (Window *parent, int w, int h, strconst label, Menu *menu=0) | |
virtual void | ButtonSelectionEvent (Button *src, void *userData) |
void | SetMenu (Menu *menu) |
void | ShowTriangle (bool mode=true) |
void | ActiveBorderType (int type) |
void | ShowMenuTriangle () |
virtual void | DisplayFunc () |
virtual void | MouseFunc (int msg, int but, int state, int x, int y) |
This function is called by the event handling system everytime the user has moved or clicked the mouse. | |
Private Member Functions | |
void | Init (Menu *menu, int w, int h) |
Private Attributes | |
Menu * | mMenu |
ULONG | mNonActiveBg |
int | mNonActiveBorderType |
int | mActiveBorderType |
bool | mActive |
bool | mShowTriangle |
Definition at line 20 of file MenuOnButton.h.