#include <TitledWindow.h>
Inheritance diagram for OglGui::TitledWindow:
Public Types | |
enum | TWInfo { BtnClose = 1, BtnMax = 2, BtnMaxClose = 3, BtnMin = 4, BtnMinClose = 5, BtnMinMax = 6, BtnMinMaxClose = 7, BtnRounded = 8, TitleRounded = 16, NoContent = 32 } |
Public Member Functions | |
TitledWindow (Window *parent, int x, int y, int w, int h, strconst title, int extInfo=0, bool is2D=true) | |
TitledWindow (Window *parent, int w, int h, strconst title, int extInfo=0, bool is2D=true) | |
void | SetCloseWindowListener (CloseWindowListener *l, void *userData) |
void | GetClientArea (int &x, int &y, int &w, int &h) |
virtual void | SetBorderType (int type) |
void | SetButtonRoundness (int r0, int r1, int r2, int r3) |
void | SetButtonBorderType (int type) |
void | SetContentPane (Window *nwPane, bool delOldContent=true, bool doLayoutAndConnect=true) |
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. | |
Window * | ContentPane () |
Button * | CloseButton () |
Button * | MaximizeButton () |
Button * | MinimizeButton () |
StaticText * | TitleText () |
virtual void | OnCloseButton () |
virtual void | OnMaximizeButton () |
virtual void | OnMinimizeButton () |
Private Member Functions | |
void | Init (strconst title, int extInfo, bool is2D) |
void | CreateTitleBar (strconst title, int extInfo) |
Button * | TitleBarButton (int x, int y, int btnSz, bool disabled, int btnR, char *str) |
void | HandleTargetVisibility (OGLWND *parent, OGLWND *targetWnd, bool targetMode, bool otherMode) |
Private Attributes | |
TitleBarButtonListener * | mTitleBarButtonListener |
CloseWindowListener * | mCloseWindowListener |
void * | mCloseWindowUserData |
Window * | mContent |
StaticText * | mTitleText |
Button * | mCloseButton |
Button * | mMaximizeButton |
Button * | mMinimizeButton |
LayoutListener * | mMaxConnection |
bool | mMaximized |
bool | mOldAllowMove |
int | mTitleHeight |
int | mOldX |
int | mOldY |
int | mOldW |
int | mOldH |
Classes | |
class | TitleBarButtonListener |
Definition at line 29 of file TitledWindow.h.