#include <OglWindow.h>
Inheritance diagram for OglGui::OglWindow:
Public Member Functions | |
OglWindow (int x, int y, int width, int height) | |
OglWindow (OglWindow *parent, int x, int y, int width, int height) | |
OglWindow (OGLWND *oglWnd) | |
OglWindow (OGLWND *parent, int x, int y, int width, int height) | |
virtual | ~OglWindow () |
virtual void | OnLayoutChange () |
LayoutListener * | ConnectTo (LayoutComponent *target, int mode=ALLSIDES) |
LayoutListener * | ScaleTo (LayoutComponent *target, int mode=0) |
bool | Valid () const |
OGLWND * | GetOGLWND () const |
void | UpdateScene (bool mode=true) const |
virtual void | SetFocus () |
void | SetAlwaysDraw (bool mode=true) |
void | SetVisible (bool flag=true) |
bool | GetVisible () |
void | SetBackground (ULONG col) |
ULONG | GetBackground () |
int | WndX () |
int | WndY () |
int | WndWidth () |
int | WndHeight () |
int | X () |
int | Y () |
int | W () |
int | H () |
int | Width () |
int | Height () |
void | SetDimensions (int x, int y, int w, int h) |
void | SetDimensions (int w, int h) |
void | GetDimensions (int &x, int &y, int &w, int &h) |
void | GetDimensions (int &w, int &h) |
bool | IsRounded () |
void | SetRoundness (float r0, float r1, float r2, float r3) |
bool | GetRoundness (float &r0, float &r1, float &r2, float &r3) |
void | SetClipRounded (bool mode) |
virtual void | SetBorderType (int type) |
int | GetBorderType () |
void | SetBorderBackground (ULONG col) |
ULONG | GetBorderBackground () |
virtual void | SetBorderFillShaded (int sh=2) |
int | GetBorderFillShaded () |
void | SetBorderFillOpacity (float op=0.5f) |
float | GetBorderFillOpacity () |
void | SetNoMouseInput (bool mode=true) |
int | GetId () const |
int | GetRunTimeType () |
OglWindow * | GetParent () |
virtual void | InitFunc () |
virtual void | ExitFunc () |
virtual void | InitDisplayFunc () |
virtual void | DisplayFunc () |
virtual void | MouseFunc (int msg, int but, int state, int x, int y) |
virtual void | KeyboardFunc (int c, int state) |
virtual void | ViewportFunc (int width, int height) |
virtual void | ReshapeFunc (int width, int height) |
virtual void | Start () |
/brief initialisation. | |
Static Public Member Functions | |
static void | ToTopWindow (OglWindow *wnd, int &x, int &y) |
static void | TopWindowTo (OglWindow *wnd, int &x, int &y) |
static OglWindow * | GetPeer (OGLWND *oglWnd) |
static OglWindow * | GetOglWindow (OGLWND *oglWnd) |
Protected Member Functions | |
void | GlueFuncs () |
Protected Attributes | |
OGLWND * | mOglWnd |
int | mRunTimeType |
OGLUSERFUNCS | mOldUserCFunctions |
bool | mDone |
bool | mIsDestructing |
bool | mIsExiting |
Private Member Functions | |
void | Init () |
Static Private Member Functions | |
static void | GlueInitFunc (OGLWND *oglWnd) |
static void | GlueExitFunc (OGLWND *oglWnd) |
static void | GlueInitDisplayFunc (OGLWND *oglWnd) |
static void | GlueDisplayFunc (OGLWND *oglWnd) |
static void | GlueMouseFunc (OGLWND *oglWnd, INT msg, INT but, INT state, INT x, INT y) |
static void | GlueKeyboardFunc (OGLWND *oglWnd, INT c, INT state) |
static void | GlueViewportFunc (OGLWND *oglWnd, INT width, INT height) |
static void | GlueReshapeFunc (OGLWND *oglWnd, INT width, INT height) |
Private Attributes | |
int | mID |
Static Private Attributes | |
static int | mNr |
Unexperienced users are advided to use OglGui::Window and forget about this class.
Definition at line 33 of file OglWindow.h.