RE_XWindow Class Reference

#include <RE_XWindow.h>

Inheritance diagram for RE_XWindow:

RE_Window

List of all members.

Public Member Functions

 RE_XWindow (RE_Server *newserver, RE_WindowType wintype=RE_WINDOW_NORMAL, RE_VisualType visType=RE_NORMAL_VIS, RE_WindowVisibility doOffScreen=RE_WINDOW_VISIBLE)
virtual ~RE_XWindow ()
virtual OGLDrawable getGraphicsDrawable ()
virtual OGLDrawable getAlternateDrawable ()
virtual RE_IDType getBufferID () const
virtual void initMaxSize (short w, short h)
virtual void initMinSize (short w, short h)
virtual void initClass (char *name, char *rclass)
virtual void setName (const char *name)
virtual void setIconName (const char *name)
virtual void reparentWindow (RE_Window *newParent)
void setImmediateParent (RE_IDType pid)
virtual void resizeWindow (short w, short h)
void updateWindowPlacement (int x, int y)
virtual void moveWindow (short x, short y, int force=1)
virtual void sizeWindow (short w, short h, int force=1)
virtual void moveAndSizeWindow (short x, short y, short w, short h, int force=1)
virtual void maximizeWindow ()
virtual void restoreWindow ()
virtual void fullscreenWindow (bool state)
virtual short getX () const
virtual short getY () const
virtual short getW () const
virtual short getH () const
virtual void lowerWindow ()
virtual void raiseWindow ()
virtual void findLocation (short *x, short *y, short *w, short *h, char topMostParent=0)
virtual unsigned long openWindow (int isMain=0, int show=1)
virtual void showWindow ()
virtual void closeWindow ()
unsigned long openRealWindow (int show)
unsigned long openPixmapWindow ()
void closeRealWindow ()
void closePixmapWindow ()
virtual bool makeCurrent (bool &needs_initialization)
virtual void unmakeCurrent ()
int isChild () const
const RE_XServerxServer () const
RE_XServerxServer ()
virtual void setWindowAlwaysOnTop (bool newstate)
virtual void grabWindowFocusLock (bool pointer_too)
virtual void releaseWindowFocusLock ()
virtual RE_IDType getParentOfTransient ()
virtual void setParentOfTransient (RE_IDType transient)

Static Public Member Functions

static RE_IDType getWindowWithFocusLock ()
static void setDefaultWindowBorder (RE_WindowType type, int left, int right, int top, int bottom, bool initialize)

Protected Member Functions

void sendEWMHStateEvent (const char *statename1, const char *statename2=NULL, bool add=true)
void sendEWMHEvent (const char *eventype)
void setEWMHAtoms (const char *atomname, const UT_StringArray &states)
void initBorders ()

Protected Attributes

XSizeHints sizeHints
XSizeHints minSize
XClassHint classHints
XWMHints wmHints
XTextProperty iconNameProperty
XTextProperty windowNameProperty
Pixmap myXPixmap
GLXPbufferSGIX myXPbuffer
GLXContext myPbufferContext
RE_IDType myImmediateParent


Detailed Description

Definition at line 29 of file RE_XWindow.h.


Constructor & Destructor Documentation

RE_XWindow::RE_XWindow ( RE_Server newserver,
RE_WindowType  wintype = RE_WINDOW_NORMAL,
RE_VisualType  visType = RE_NORMAL_VIS,
RE_WindowVisibility  doOffScreen = RE_WINDOW_VISIBLE 
)

virtual RE_XWindow::~RE_XWindow (  )  [virtual]


Member Function Documentation

void RE_XWindow::closePixmapWindow (  ) 

void RE_XWindow::closeRealWindow (  ) 

virtual void RE_XWindow::closeWindow (  )  [virtual]

Implements RE_Window.

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

Implements RE_Window.

virtual void RE_XWindow::fullscreenWindow ( bool  state  )  [virtual]

Reimplemented from RE_Window.

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

Implements RE_Window.

Definition at line 44 of file RE_XWindow.h.

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

Reimplemented from RE_Window.

Definition at line 51 of file RE_XWindow.h.

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

Implements RE_Window.

Definition at line 40 of file RE_XWindow.h.

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

Implements RE_Window.

Definition at line 95 of file RE_XWindow.h.

virtual RE_IDType RE_XWindow::getParentOfTransient (  )  [virtual]

Reimplemented from RE_Window.

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

Implements RE_Window.

Definition at line 94 of file RE_XWindow.h.

static RE_IDType RE_XWindow::getWindowWithFocusLock (  )  [static]

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

Implements RE_Window.

Definition at line 92 of file RE_XWindow.h.

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

Implements RE_Window.

Definition at line 93 of file RE_XWindow.h.

virtual void RE_XWindow::grabWindowFocusLock ( bool  pointer_too  )  [virtual]

Reimplemented from RE_Window.

void RE_XWindow::initBorders (  )  [protected]

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

Implements RE_Window.

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

Implements RE_Window.

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

Implements RE_Window.

int RE_XWindow::isChild (  )  const [inline]

Definition at line 116 of file RE_XWindow.h.

virtual void RE_XWindow::lowerWindow (  )  [virtual]

Implements RE_Window.

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

Reimplemented from RE_Window.

virtual void RE_XWindow::maximizeWindow (  )  [virtual]

Reimplemented from RE_Window.

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

Implements RE_Window.

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

Implements RE_Window.

unsigned long RE_XWindow::openPixmapWindow (  ) 

unsigned long RE_XWindow::openRealWindow ( int  show  ) 

virtual unsigned long RE_XWindow::openWindow ( int  isMain = 0,
int  show = 1 
) [virtual]

Implements RE_Window.

virtual void RE_XWindow::raiseWindow (  )  [virtual]

Implements RE_Window.

virtual void RE_XWindow::releaseWindowFocusLock (  )  [virtual]

Reimplemented from RE_Window.

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

Implements RE_Window.

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

Implements RE_Window.

virtual void RE_XWindow::restoreWindow (  )  [virtual]

Reimplemented from RE_Window.

void RE_XWindow::sendEWMHEvent ( const char *  eventype  )  [protected]

void RE_XWindow::sendEWMHStateEvent ( const char *  statename1,
const char *  statename2 = NULL,
bool  add = true 
) [protected]

static void RE_XWindow::setDefaultWindowBorder ( RE_WindowType  type,
int  left,
int  right,
int  top,
int  bottom,
bool  initialize 
) [static]

void RE_XWindow::setEWMHAtoms ( const char *  atomname,
const UT_StringArray states 
) [protected]

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

Implements RE_Window.

void RE_XWindow::setImmediateParent ( RE_IDType  pid  )  [inline]

Definition at line 63 of file RE_XWindow.h.

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

Implements RE_Window.

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

Reimplemented from RE_Window.

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

Reimplemented from RE_Window.

virtual void RE_XWindow::showWindow (  )  [virtual]

Reimplemented from RE_Window.

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

Implements RE_Window.

virtual void RE_XWindow::unmakeCurrent (  )  [virtual]

Reimplemented from RE_Window.

void RE_XWindow::updateWindowPlacement ( int  x,
int  y 
)

RE_XServer* RE_XWindow::xServer (  )  [inline]

Definition at line 121 of file RE_XWindow.h.

const RE_XServer* RE_XWindow::xServer (  )  const [inline]

Definition at line 119 of file RE_XWindow.h.


Member Data Documentation

XClassHint RE_XWindow::classHints [protected]

Definition at line 169 of file RE_XWindow.h.

XTextProperty RE_XWindow::iconNameProperty [protected]

Definition at line 171 of file RE_XWindow.h.

XSizeHints RE_XWindow::minSize [protected]

Definition at line 168 of file RE_XWindow.h.

Definition at line 176 of file RE_XWindow.h.

GLXContext RE_XWindow::myPbufferContext [protected]

Definition at line 175 of file RE_XWindow.h.

GLXPbufferSGIX RE_XWindow::myXPbuffer [protected]

Definition at line 174 of file RE_XWindow.h.

Pixmap RE_XWindow::myXPixmap [protected]

Definition at line 173 of file RE_XWindow.h.

XSizeHints RE_XWindow::sizeHints [protected]

Definition at line 167 of file RE_XWindow.h.

XTextProperty RE_XWindow::windowNameProperty [protected]

Definition at line 172 of file RE_XWindow.h.

XWMHints RE_XWindow::wmHints [protected]

Definition at line 170 of file RE_XWindow.h.


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

Generated on Fri May 25 00:10:36 2012 for HDK by  doxygen 1.5.9