RE_XServer Class Reference

#include <RE_XServer.h>

Inheritance diagram for RE_XServer:

RE_Server

List of all members.

Public Member Functions

 RE_XServer ()
virtual ~RE_XServer ()
virtual char initServer (char *hostSystem=0)
virtual void flush () const
virtual void lock (const char *msg=0)
virtual void unlock (const char *msg=0)
virtual Display * getDisplay () const
unsigned char * getProperty (OGLWindow wid, Atom property, Atom target, unsigned long *size, int *format_bytes=NULL)
void setProperty (OGLWindow wid, Atom property, Atom target, int unitsize, unsigned long size, char *data)
void freeServerData (void *data)
int getDefaultScreen () const
OGLWindow getRoot (int screen) const
OGLWindow getRoot () const
virtual short getWidth () const
virtual short getHeight () const
virtual short getWidthMM () const
virtual short getHeightMM () const
virtual UT_DimRect getWorkArea ()
unsigned short getWhitePixel () const
unsigned short getBlackPixel () const
void redirectEvents (const OGLWindow from, const OGLWindow to)
void stopRedirectingEvents (const OGLWindow from, const OGLWindow to)
void redirectEventWindow (XEvent &event)
void mapWindowNotify (const OGLWindow from, int state)
void findLocation (OGLWindow wid, short *x, short *y, short *w, short *h, short *_leftBorder=NULL, short *_rightBorder=NULL, short *_bottomBorder=NULL, short *_topBorder=NULL, char topMostParent=0)
virtual bool GLMakeCurrent (OGLDrawable draw, RE_OGLContext context)
virtual int GLMakeCopyCurrent (OGLDrawable draw, RE_OGLContext sourceContext, RE_OGLContext targetContext)
virtual void GLSwapBuffers (RE_Window *currentWindow)
virtual OGLDrawable GLGetCurrentDrawable ()
virtual void GLWaitGL ()
virtual bool windowUnderCursor (RE_IDType, int x, int y)
virtual bool getColorUnderCursor (float color[3])
void selectTabletInputEvents (Window wid)
void handleTabletInputEvent (XEvent *event)
RE_XWinManager getWindowManager ()


Detailed Description

Definition at line 41 of file RE_XServer.h.


Constructor & Destructor Documentation

RE_XServer::RE_XServer (  ) 

virtual RE_XServer::~RE_XServer (  )  [virtual]


Member Function Documentation

void RE_XServer::findLocation ( OGLWindow  wid,
short *  x,
short *  y,
short *  w,
short *  h,
short *  _leftBorder = NULL,
short *  _rightBorder = NULL,
short *  _bottomBorder = NULL,
short *  _topBorder = NULL,
char  topMostParent = 0 
)

virtual void RE_XServer::flush (  )  const [virtual]

Implements RE_Server.

void RE_XServer::freeServerData ( void *  data  ) 

unsigned short RE_XServer::getBlackPixel (  )  const [inline]

Definition at line 84 of file RE_XServer.h.

virtual bool RE_XServer::getColorUnderCursor ( float  color[3]  )  [virtual]

Reimplemented from RE_Server.

int RE_XServer::getDefaultScreen (  )  const [inline]

Definition at line 68 of file RE_XServer.h.

virtual Display* RE_XServer::getDisplay (  )  const [inline, virtual]

Reimplemented from RE_Server.

Definition at line 53 of file RE_XServer.h.

virtual short RE_XServer::getHeight (  )  const [virtual]

Implements RE_Server.

virtual short RE_XServer::getHeightMM (  )  const [virtual]

Implements RE_Server.

unsigned char* RE_XServer::getProperty ( OGLWindow  wid,
Atom  property,
Atom  target,
unsigned long *  size,
int *  format_bytes = NULL 
)

OGLWindow RE_XServer::getRoot (  )  const [inline]

Definition at line 72 of file RE_XServer.h.

OGLWindow RE_XServer::getRoot ( int  screen  )  const [inline]

Definition at line 70 of file RE_XServer.h.

unsigned short RE_XServer::getWhitePixel (  )  const [inline]

Definition at line 82 of file RE_XServer.h.

virtual short RE_XServer::getWidth (  )  const [virtual]

Implements RE_Server.

virtual short RE_XServer::getWidthMM (  )  const [virtual]

Implements RE_Server.

RE_XWinManager RE_XServer::getWindowManager (  ) 

virtual UT_DimRect RE_XServer::getWorkArea (  )  [virtual]

Implements RE_Server.

virtual OGLDrawable RE_XServer::GLGetCurrentDrawable (  )  [virtual]

Implements RE_Server.

virtual int RE_XServer::GLMakeCopyCurrent ( OGLDrawable  draw,
RE_OGLContext  sourceContext,
RE_OGLContext  targetContext 
) [virtual]

Implements RE_Server.

virtual bool RE_XServer::GLMakeCurrent ( OGLDrawable  draw,
RE_OGLContext  context 
) [virtual]

Implements RE_Server.

virtual void RE_XServer::GLSwapBuffers ( RE_Window currentWindow  )  [virtual]

Implements RE_Server.

virtual void RE_XServer::GLWaitGL (  )  [virtual]

Implements RE_Server.

void RE_XServer::handleTabletInputEvent ( XEvent *  event  ) 

virtual char RE_XServer::initServer ( char *  hostSystem = 0  )  [virtual]

Reimplemented from RE_Server.

virtual void RE_XServer::lock ( const char *  msg = 0  )  [virtual]

Reimplemented from RE_Server.

void RE_XServer::mapWindowNotify ( const OGLWindow  from,
int  state 
)

void RE_XServer::redirectEvents ( const OGLWindow  from,
const OGLWindow  to 
)

void RE_XServer::redirectEventWindow ( XEvent &  event  ) 

void RE_XServer::selectTabletInputEvents ( Window  wid  ) 

void RE_XServer::setProperty ( OGLWindow  wid,
Atom  property,
Atom  target,
int  unitsize,
unsigned long  size,
char *  data 
)

void RE_XServer::stopRedirectingEvents ( const OGLWindow  from,
const OGLWindow  to 
)

virtual void RE_XServer::unlock ( const char *  msg = 0  )  [virtual]

Reimplemented from RE_Server.

virtual bool RE_XServer::windowUnderCursor ( RE_IDType  wid,
int  x,
int  y 
) [virtual]

Determine if the given window is currently under the mouse The current x,y mouse coordinates are optional under certain platforms

Reimplemented from RE_Server.


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

Generated on Mon Jan 28 00:29:51 2013 for HDK by  doxygen 1.5.9