RE_Window Class Reference

#include <RE_Window.h>

Inheritance diagram for RE_Window:

RE_EGLWindow RE_NTWindow RE_OSXWindow RE_XWindow

List of all members.

Public Member Functions

 RE_Window (RE_Server *server, RE_WindowType type, RE_VisualType visType=RE_NORMAL_VIS, RE_WindowVisibility doOffScreen=RE_WINDOW_VISIBLE, bool alwaysOnTop=false)
virtual ~RE_Window ()
virtual void setName (const char *name)=0
virtual void setIconName (const char *name)=0
void setParentWindow (RE_Window *parent)
virtual void reparentWindow (RE_Window *newParent)=0
const RE_WindowgetParentWindow () const
virtual void setParentOfTransient (RE_IDType transient)
virtual RE_IDType getParentOfTransient ()
RE_ServergetServer ()
RE_VisualgetVisual ()
RE_RendergetRender ()
void setRender (RE_Render *r)
virtual RE_IDType openWindow (int isMain=0, int show=1)=0
virtual void showWindow ()
virtual void closeWindow ()=0
virtual void initMaxSize (short w, short h)=0
virtual void initMinSize (short w, short h)=0
virtual void initClass (const char *name, const char *rclass)=0
virtual void initVisual (RE_Visual *visual)
void setLimitPositions (bool limitpos)
bool getLimitPositions () const
virtual void updateMaxSize (int w, int h)
virtual void moveWindow (short x, short y, int force=1)=0
virtual void sizeWindow (short w, short h, int force=1)=0
virtual void resizeWindow (short w, short h)=0
virtual void moveAndSizeWindow (short x, short y, short w, short h, int force=1)=0
virtual void maximizeWindow ()
virtual void restoreWindow ()
bool isMaximized () const
virtual void fullscreenWindow (bool full)
bool isFullscreenWindow () const
virtual short getX () const =0
virtual short getY () const =0
virtual short getW () const =0
virtual short getH () const =0
virtual void lowerWindow ()=0
virtual void raiseWindow ()=0
int getBorderWidth () const
int getBorderHeight () const
int getBorderTopSize () const
int getBorderLeftSize () const
int getBorderBottomSize () const
int getBorderRightSize () const
virtual bool makeCurrent (bool &needs_initialization)
virtual void unmakeCurrent ()
virtual void findLocation (short *x, short *y, short *w, short *h, char topMostParent=0)=0
virtual void setWindowAlwaysOnTop (bool newstate)
virtual void setWindowAlwaysOnTopAndHideWhenInactive (bool newstate)
int getWindowAlwaysOnTop () const
RE_DisplayMode getMode () const
RE_VisualType getVisualType () const
void setVisualType (RE_VisualType t)
void setWindowType (RE_WindowType t)
RE_WindowType getWindowType () const
void setWindowID (RE_IDType id)
RE_IDType getWindowID () const
int matchID (RE_IDType wid) const
virtual RE_IDType getBufferID () const
virtual OGLDrawable getGraphicsDrawable ()=0
virtual OGLDrawable getAlternateDrawable ()=0
virtual void setGraphicsDrawable (OGLDrawable)
virtual void setAlternateDrawable (OGLDrawable)
void setIconPixmap (unsigned long pm)
unsigned long getIconPixmap () const
void setIconLoader (RE_IconLoader loader)
UT_Bool isOffscreen () const
virtual void grabWindowFocusLock (bool)
virtual void releaseWindowFocusLock ()
void setWindowBorders (int left, int right, int top, int bottom)
OGLDrawable getDrawable ()

Protected Member Functions

RE_OGLContext getContext (bool &needs_initialization)

Protected Attributes

RE_ServermyServer
RE_VisualvisualResource
RE_VisualType visualType
RE_IDType windowID
RE_RendermyRender
unsigned long iconPixmap
RE_IconLoader iconLoader
RE_WindowFlags winFlags
RE_WindowFlags storeFlags
RE_WindowparentWindow
RE_WindowType myWindowType
int myLeftBorder
int myTopBorder
int myRightBorder
int myBottomBorder
unsigned int myLimitPositions:1


Detailed Description

Definition at line 23 of file RE_Window.h.


Constructor & Destructor Documentation

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

virtual RE_Window::~RE_Window (  )  [virtual]


Member Function Documentation

virtual void RE_Window::closeWindow (  )  [pure virtual]

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

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

Reimplemented in RE_EGLWindow, RE_NTWindow, RE_OSXWindow, and RE_XWindow.

virtual OGLDrawable RE_Window::getAlternateDrawable (  )  [pure virtual]

int RE_Window::getBorderBottomSize (  )  const [inline]

Definition at line 109 of file RE_Window.h.

int RE_Window::getBorderHeight (  )  const [inline]

Definition at line 103 of file RE_Window.h.

int RE_Window::getBorderLeftSize (  )  const [inline]

Definition at line 107 of file RE_Window.h.

int RE_Window::getBorderRightSize (  )  const [inline]

Definition at line 111 of file RE_Window.h.

int RE_Window::getBorderTopSize (  )  const [inline]

Definition at line 105 of file RE_Window.h.

int RE_Window::getBorderWidth (  )  const [inline]

Definition at line 101 of file RE_Window.h.

virtual RE_IDType RE_Window::getBufferID (  )  const [inline, virtual]

Reimplemented in RE_EGLWindow, RE_OSXWindow, and RE_XWindow.

Definition at line 146 of file RE_Window.h.

RE_OGLContext RE_Window::getContext ( bool &  needs_initialization  )  [protected]

OGLDrawable RE_Window::getDrawable (  )  [inline]

Definition at line 173 of file RE_Window.h.

virtual OGLDrawable RE_Window::getGraphicsDrawable (  )  [pure virtual]

virtual short RE_Window::getH (  )  const [pure virtual]

unsigned long RE_Window::getIconPixmap (  )  const [inline]

Definition at line 154 of file RE_Window.h.

bool RE_Window::getLimitPositions (  )  const [inline]

Definition at line 63 of file RE_Window.h.

RE_DisplayMode RE_Window::getMode (  )  const

virtual RE_IDType RE_Window::getParentOfTransient (  )  [virtual]

Reimplemented in RE_EGLWindow, RE_NTWindow, RE_OSXWindow, and RE_XWindow.

const RE_Window* RE_Window::getParentWindow (  )  const [inline]

Definition at line 39 of file RE_Window.h.

RE_Render* RE_Window::getRender (  ) 

RE_Server* RE_Window::getServer (  )  [inline]

Definition at line 45 of file RE_Window.h.

RE_Visual* RE_Window::getVisual (  )  [inline]

Reimplemented in RE_EGLWindow.

Definition at line 46 of file RE_Window.h.

RE_VisualType RE_Window::getVisualType (  )  const [inline]

Definition at line 130 of file RE_Window.h.

virtual short RE_Window::getW (  )  const [pure virtual]

int RE_Window::getWindowAlwaysOnTop (  )  const [inline]

Definition at line 125 of file RE_Window.h.

RE_IDType RE_Window::getWindowID (  )  const [inline]

Definition at line 141 of file RE_Window.h.

RE_WindowType RE_Window::getWindowType (  )  const [inline]

Definition at line 137 of file RE_Window.h.

virtual short RE_Window::getX (  )  const [pure virtual]

virtual short RE_Window::getY (  )  const [pure virtual]

virtual void RE_Window::grabWindowFocusLock ( bool   )  [inline, virtual]

Reimplemented in RE_EGLWindow, and RE_XWindow.

Definition at line 162 of file RE_Window.h.

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

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

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

virtual void RE_Window::initVisual ( RE_Visual visual  )  [virtual]

bool RE_Window::isFullscreenWindow (  )  const [inline]

Definition at line 91 of file RE_Window.h.

bool RE_Window::isMaximized (  )  const [inline]

Definition at line 84 of file RE_Window.h.

UT_Bool RE_Window::isOffscreen (  )  const [inline]

Definition at line 159 of file RE_Window.h.

virtual void RE_Window::lowerWindow (  )  [pure virtual]

virtual bool RE_Window::makeCurrent ( bool &  needs_initialization  )  [virtual]

Reimplemented in RE_EGLWindow, and RE_XWindow.

int RE_Window::matchID ( RE_IDType  wid  )  const [inline]

Definition at line 143 of file RE_Window.h.

virtual void RE_Window::maximizeWindow (  )  [virtual]

Reimplemented in RE_EGLWindow, RE_NTWindow, RE_OSXWindow, and RE_XWindow.

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

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

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

virtual void RE_Window::raiseWindow (  )  [pure virtual]

virtual void RE_Window::releaseWindowFocusLock (  )  [inline, virtual]

Reimplemented in RE_EGLWindow, and RE_XWindow.

Definition at line 163 of file RE_Window.h.

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

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

virtual void RE_Window::restoreWindow (  )  [virtual]

Reimplemented in RE_NTWindow, RE_OSXWindow, and RE_XWindow.

virtual void RE_Window::setAlternateDrawable ( OGLDrawable   )  [inline, virtual]

Reimplemented in RE_NTWindow.

Definition at line 151 of file RE_Window.h.

virtual void RE_Window::setGraphicsDrawable ( OGLDrawable   )  [inline, virtual]

Reimplemented in RE_NTWindow.

Definition at line 150 of file RE_Window.h.

void RE_Window::setIconLoader ( RE_IconLoader  loader  ) 

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

void RE_Window::setIconPixmap ( unsigned long  pm  )  [inline]

Definition at line 153 of file RE_Window.h.

void RE_Window::setLimitPositions ( bool  limitpos  )  [inline]

Definition at line 61 of file RE_Window.h.

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

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

Reimplemented in RE_EGLWindow, RE_NTWindow, RE_OSXWindow, and RE_XWindow.

void RE_Window::setParentWindow ( RE_Window parent  ) 

void RE_Window::setRender ( RE_Render r  )  [inline]

Definition at line 50 of file RE_Window.h.

void RE_Window::setVisualType ( RE_VisualType  t  )  [inline]

Definition at line 132 of file RE_Window.h.

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

Reimplemented in RE_EGLWindow, RE_NTWindow, RE_OSXWindow, and RE_XWindow.

virtual void RE_Window::setWindowAlwaysOnTopAndHideWhenInactive ( bool  newstate  )  [virtual]

Reimplemented in RE_OSXWindow.

void RE_Window::setWindowBorders ( int  left,
int  right,
int  top,
int  bottom 
) [inline]

Definition at line 165 of file RE_Window.h.

void RE_Window::setWindowID ( RE_IDType  id  )  [inline]

Definition at line 140 of file RE_Window.h.

void RE_Window::setWindowType ( RE_WindowType  t  )  [inline]

Definition at line 135 of file RE_Window.h.

virtual void RE_Window::showWindow (  )  [virtual]

Reimplemented in RE_EGLWindow, RE_NTWindow, RE_OSXWindow, and RE_XWindow.

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

virtual void RE_Window::unmakeCurrent (  )  [virtual]

Reimplemented in RE_EGLWindow, and RE_XWindow.

virtual void RE_Window::updateMaxSize ( int  w,
int  h 
) [virtual]


Member Data Documentation

Definition at line 192 of file RE_Window.h.

unsigned long RE_Window::iconPixmap [protected]

Definition at line 191 of file RE_Window.h.

int RE_Window::myBottomBorder [protected]

Definition at line 202 of file RE_Window.h.

int RE_Window::myLeftBorder [protected]

Definition at line 199 of file RE_Window.h.

unsigned int RE_Window::myLimitPositions [protected]

Definition at line 204 of file RE_Window.h.

Definition at line 188 of file RE_Window.h.

int RE_Window::myRightBorder [protected]

Definition at line 201 of file RE_Window.h.

Definition at line 182 of file RE_Window.h.

int RE_Window::myTopBorder [protected]

Definition at line 200 of file RE_Window.h.

Definition at line 197 of file RE_Window.h.

Definition at line 195 of file RE_Window.h.

Definition at line 194 of file RE_Window.h.

Definition at line 183 of file RE_Window.h.

Definition at line 184 of file RE_Window.h.

Definition at line 185 of file RE_Window.h.

Definition at line 193 of file RE_Window.h.


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

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