RE_NTWindow Class Reference

#include <RE_NTWindow.h>

Inheritance diagram for RE_NTWindow:

RE_Window

List of all members.

Public Types

enum  RE_NTBorderType { BORDERS_NONE, BORDERS_ALL }

Public Member Functions

 RE_NTWindow (RE_Server *newserver, RE_WindowType type, RE_VisualType visType=RE_NORMAL_VIS, RE_WindowVisibility doOffScreen=RE_WINDOW_VISIBLE, bool alwaysOnTop=false)
virtual ~RE_NTWindow ()
virtual OGLDrawable getGraphicsDrawable ()
virtual void setGraphicsDrawable (OGLDrawable d)
virtual OGLDrawable getAlternateDrawable ()
virtual void setAlternateDrawable (OGLDrawable d)
virtual void initMaxSize (short w, short h)
virtual void initMinSize (short w, short h)
virtual void initClass (const char *name, const char *rclass)
virtual void setName (const char *name)
virtual void setIconName (const char *name)
virtual void reparentWindow (RE_Window *newParent)
virtual void moveWindow (short x, short y, int force=1)
virtual void sizeWindow (short w, short h, int force=1)
virtual void resizeWindow (short w, short h)
virtual void moveAndSizeWindow (short x, short y, short w, short h, int force=1)
virtual void maximizeWindow ()
virtual void restoreWindow ()
virtual short getX () const
virtual short getY () const
virtual short getW () const
virtual short getH () const
virtual void lowerWindow ()
virtual void raiseWindow ()
virtual void fullscreenWindow (bool full)
virtual void findLocation (short *x, short *y, short *w, short *h, char topMostParent=0)
virtual RE_IDType openWindow (int isMain=0, int show=1)
virtual void showWindow ()
virtual void closeWindow ()
virtual void setWindowAlwaysOnTop (bool newstate)
virtual int overlayState (int state)
int isOverlayOn () const
int isChild () const
RE_WindowgetParentWnd ()
void setWindowBorderType (RE_NTBorderType bordertype)
virtual void setParentOfTransient (RE_IDType transient)
virtual RE_IDType getParentOfTransient ()
void setCursor (void *cursor)
void resetWindowSize ()
void adjustVerticalSize (int top, int bot)

Static Public Member Functions

static void setWindowCreationThread (DWORD id)

Protected Member Functions

void setBordersByWindowType ()
BOOL RegisterWindowClass ()

Static Protected Member Functions

static LRESULT CALLBACK WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)

Protected Attributes

RE_DIBSection * myOffscreenBitmap
UT_String myName
UT_String myIconName
OGLDrawable myGraphicsDrawable
OGLDrawable myAlternateDrawable
UT_Bool myOverlayOn
RECT size
POINT minsize
POINT maxsize
POINT oldsize
POINT oldpos
void * myCursor
unsigned long myExStyle
unsigned long myStyle

Static Protected Attributes

static int theSystemBorderLeftSize
static int theSystemBorderRightSize
static int theSystemBorderTopSize
static int theSystemBorderBottomSize
static DWORD theWindowCreationThread
static BOOL bClassRegistered
static char szClassName []
static char szOverlayClassName []


Detailed Description

Definition at line 36 of file RE_NTWindow.h.


Member Enumeration Documentation

Enumerator:
BORDERS_NONE 
BORDERS_ALL 

Definition at line 106 of file RE_NTWindow.h.


Constructor & Destructor Documentation

RE_NTWindow::RE_NTWindow ( RE_Server newserver,
RE_WindowType  type,
RE_VisualType  visType = RE_NORMAL_VIS,
RE_WindowVisibility  doOffScreen = RE_WINDOW_VISIBLE,
bool  alwaysOnTop = false 
)

virtual RE_NTWindow::~RE_NTWindow (  )  [virtual]


Member Function Documentation

void RE_NTWindow::adjustVerticalSize ( int  top,
int  bot 
)

virtual void RE_NTWindow::closeWindow (  )  [virtual]

Implements RE_Window.

virtual void RE_NTWindow::findLocation ( short *  x,
short *  y,
short *  w,
short *  h,
char  topMostParent = 0 
) [virtual]

Implements RE_Window.

virtual void RE_NTWindow::fullscreenWindow ( bool  full  )  [virtual]

Reimplemented from RE_Window.

virtual OGLDrawable RE_NTWindow::getAlternateDrawable (  )  [inline, virtual]

Implements RE_Window.

Definition at line 50 of file RE_NTWindow.h.

virtual OGLDrawable RE_NTWindow::getGraphicsDrawable (  )  [inline, virtual]

Implements RE_Window.

Definition at line 47 of file RE_NTWindow.h.

virtual short RE_NTWindow::getH (  )  const [inline, virtual]

Implements RE_Window.

Definition at line 75 of file RE_NTWindow.h.

virtual RE_IDType RE_NTWindow::getParentOfTransient (  )  [virtual]

Reimplemented from RE_Window.

RE_Window* RE_NTWindow::getParentWnd (  )  [inline]

Definition at line 100 of file RE_NTWindow.h.

virtual short RE_NTWindow::getW (  )  const [inline, virtual]

Implements RE_Window.

Definition at line 74 of file RE_NTWindow.h.

virtual short RE_NTWindow::getX (  )  const [inline, virtual]

Implements RE_Window.

Definition at line 72 of file RE_NTWindow.h.

virtual short RE_NTWindow::getY (  )  const [inline, virtual]

Implements RE_Window.

Definition at line 73 of file RE_NTWindow.h.

virtual void RE_NTWindow::initClass ( const char *  name,
const char *  rclass 
) [virtual]

Implements RE_Window.

virtual void RE_NTWindow::initMaxSize ( short  w,
short  h 
) [virtual]

Implements RE_Window.

virtual void RE_NTWindow::initMinSize ( short  w,
short  h 
) [virtual]

Implements RE_Window.

int RE_NTWindow::isChild (  )  const [inline]

Definition at line 98 of file RE_NTWindow.h.

int RE_NTWindow::isOverlayOn (  )  const [inline]

Definition at line 96 of file RE_NTWindow.h.

virtual void RE_NTWindow::lowerWindow (  )  [virtual]

Implements RE_Window.

virtual void RE_NTWindow::maximizeWindow (  )  [virtual]

Reimplemented from RE_Window.

virtual void RE_NTWindow::moveAndSizeWindow ( short  x,
short  y,
short  w,
short  h,
int  force = 1 
) [virtual]

Implements RE_Window.

virtual void RE_NTWindow::moveWindow ( short  x,
short  y,
int  force = 1 
) [virtual]

Implements RE_Window.

virtual RE_IDType RE_NTWindow::openWindow ( int  isMain = 0,
int  show = 1 
) [virtual]

Implements RE_Window.

virtual int RE_NTWindow::overlayState ( int  state  )  [virtual]

virtual void RE_NTWindow::raiseWindow (  )  [virtual]

Implements RE_Window.

BOOL RE_NTWindow::RegisterWindowClass (  )  [protected]

virtual void RE_NTWindow::reparentWindow ( RE_Window newParent  )  [virtual]

Implements RE_Window.

void RE_NTWindow::resetWindowSize (  ) 

virtual void RE_NTWindow::resizeWindow ( short  w,
short  h 
) [virtual]

Implements RE_Window.

virtual void RE_NTWindow::restoreWindow (  )  [virtual]

Reimplemented from RE_Window.

virtual void RE_NTWindow::setAlternateDrawable ( OGLDrawable  d  )  [inline, virtual]

Reimplemented from RE_Window.

Definition at line 51 of file RE_NTWindow.h.

void RE_NTWindow::setBordersByWindowType (  )  [protected]

void RE_NTWindow::setCursor ( void *  cursor  )  [inline]

Definition at line 116 of file RE_NTWindow.h.

virtual void RE_NTWindow::setGraphicsDrawable ( OGLDrawable  d  )  [inline, virtual]

Reimplemented from RE_Window.

Definition at line 48 of file RE_NTWindow.h.

virtual void RE_NTWindow::setIconName ( const char *  name  )  [virtual]

Implements RE_Window.

virtual void RE_NTWindow::setName ( const char *  name  )  [virtual]

Implements RE_Window.

virtual void RE_NTWindow::setParentOfTransient ( RE_IDType  transient  )  [virtual]

Reimplemented from RE_Window.

virtual void RE_NTWindow::setWindowAlwaysOnTop ( bool  newstate  )  [virtual]

Reimplemented from RE_Window.

void RE_NTWindow::setWindowBorderType ( RE_NTBorderType  bordertype  ) 

static void RE_NTWindow::setWindowCreationThread ( DWORD  id  )  [inline, static]

Definition at line 103 of file RE_NTWindow.h.

virtual void RE_NTWindow::showWindow (  )  [virtual]

Reimplemented from RE_Window.

virtual void RE_NTWindow::sizeWindow ( short  w,
short  h,
int  force = 1 
) [virtual]

Implements RE_Window.

static LRESULT CALLBACK RE_NTWindow::WindowProc ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
) [static, protected]


Member Data Documentation

BOOL RE_NTWindow::bClassRegistered [static, protected]

Definition at line 147 of file RE_NTWindow.h.

Definition at line 135 of file RE_NTWindow.h.

Definition at line 135 of file RE_NTWindow.h.

Definition at line 132 of file RE_NTWindow.h.

void* RE_NTWindow::myCursor [protected]

Definition at line 137 of file RE_NTWindow.h.

unsigned long RE_NTWindow::myExStyle [protected]

Definition at line 138 of file RE_NTWindow.h.

Definition at line 131 of file RE_NTWindow.h.

Definition at line 130 of file RE_NTWindow.h.

Definition at line 129 of file RE_NTWindow.h.

RE_DIBSection* RE_NTWindow::myOffscreenBitmap [protected]

Definition at line 128 of file RE_NTWindow.h.

Definition at line 133 of file RE_NTWindow.h.

unsigned long RE_NTWindow::myStyle [protected]

Definition at line 139 of file RE_NTWindow.h.

Definition at line 136 of file RE_NTWindow.h.

Definition at line 136 of file RE_NTWindow.h.

RECT RE_NTWindow::size [protected]

Definition at line 134 of file RE_NTWindow.h.

char RE_NTWindow::szClassName[] [static, protected]

Definition at line 148 of file RE_NTWindow.h.

char RE_NTWindow::szOverlayClassName[] [static, protected]

Definition at line 149 of file RE_NTWindow.h.

int RE_NTWindow::theSystemBorderBottomSize [static, protected]

Definition at line 144 of file RE_NTWindow.h.

int RE_NTWindow::theSystemBorderLeftSize [static, protected]

Definition at line 141 of file RE_NTWindow.h.

int RE_NTWindow::theSystemBorderRightSize [static, protected]

Definition at line 142 of file RE_NTWindow.h.

int RE_NTWindow::theSystemBorderTopSize [static, protected]

Definition at line 143 of file RE_NTWindow.h.

DWORD RE_NTWindow::theWindowCreationThread [static, protected]

Definition at line 146 of file RE_NTWindow.h.


The documentation for this class was generated from the following file:

Generated on Thu Jan 31 00:31:56 2013 for HDK by  doxygen 1.5.9