#include <DropDownWindow.h>
Inheritance diagram for OglGui::DropDownWindow:
Public Types | |
enum | DDOPTIONS { PlusMinus = 1, Lines = 2 } |
Public Member Functions | |
DropDownWindow (Window *parent, int width, int height, strconst txt, int options=PlusMinus+Lines) | |
DropDownWindow (Window *parent, int x, int y, int width, int height, strconst txt, int options=PlusMinus+Lines) | |
void | AddWindow (Window *child, int inset=20, int insertAt=-1) |
void | HandleLayoutChange () |
void | RemoveWindow (Window *child, bool destroy=false) |
void | DropDown (bool mode=true) |
void | SetClosedHeight (int h) |
bool | IsDropped () const |
void | ShowLines (bool show=true) |
void | LinePattern (short pat) |
void | Spacing (int nPix) |
Window * | HeaderWindow () |
StaticText * | HeaderText () |
StaticText * | PlusMinText () |
virtual void | WindowMouseEvent (Window *src, int msg, int but, int state, int x, int y, void *listenerData) |
virtual void | DisplayFunc () |
Private Member Functions | |
void | Init (int w, int h, strconst txt, int options) |
Private Attributes | |
Window * | mHeaderWindow |
StaticText * | mPlusMinText |
StaticText * | mHeaderText |
std::vector< Window * > | mChildWindows |
bool | mShowLines |
short | mLinePattern |
bool | mIsDropped |
int | mHeaderHeight |
int | mClosedHeight |
int | mSpacing |
Definition at line 23 of file DropDownWindow.h.