Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

OglGui::OglWindow Class Reference

Please note that OglGui::Window, a class derived from this one, is very much alike and can be used in almost all cases where one would use this one. More...

#include <OglWindow.h>

Inheritance diagram for OglGui::OglWindow:

Inheritance graph
[legend]
Collaboration diagram for OglGui::OglWindow:

Collaboration graph
[legend]
List of all members.

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 ()
LayoutListenerConnectTo (LayoutComponent *target, int mode=ALLSIDES)
LayoutListenerScaleTo (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 ()
OglWindowGetParent ()
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 OglWindowGetPeer (OGLWND *oglWnd)
static OglWindowGetOglWindow (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

Detailed Description

Please note that OglGui::Window, a class derived from this one, is very much alike and can be used in almost all cases where one would use this one.

Unexperienced users are advided to use OglGui::Window and forget about this class.

Definition at line 33 of file OglWindow.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 13 09:26:40 2011 for ImpalaSrc by  doxygen 1.5.1