X11Display Class Reference

Class for encapsulation of a X11 Display. More...

Inheritance diagram for X11Display:

Inheritance graph
[legend]
Collaboration diagram for X11Display:

Collaboration graph
[legend]

Public Types

typedef void(X11Display::* MakePixelFunc_t )(uint8_t *pPixel, uint8_t r, uint8_t g, uint8_t b, uint8_t a) const
 Type of function to put RGBA values into a pixel.

Public Member Functions

 X11Display (intf_thread_t *pIntf)
virtual ~X11Display ()
Display * getDisplay () const
 Get the display.
Visual * getVisual () const
 Get the visual.
int getPixelSize () const
 Get the pixel size.
GC getGC () const
 Get the graphics context.
Colormap getColormap () const
 Get the colormap.
MakePixelFunc_t getBlendPixel () const
 Get a pointer on the right blendPixel implementation.
MakePixelFunc_t getPutPixel () const
 Get a pointer on the right putPixel implementation.
unsigned long getPixelValue (uint8_t r, uint8_t g, uint8_t b) const
 Get the pixel value corresponding to the given colors.
Window getMainWindow () const
 Get the main window ID.
void testEWMH ()
 test EWMH capabilities

Data Fields

Atom m_net_wm_supported
 Window m_voutWindow;.
Atom m_net_wm_state
Atom m_net_wm_state_above
Atom m_net_wm_state_fullscreen
Atom m_net_wm_stays_on_top
Atom m_net_wm_window_opacity
Atom m_net_wm_pid

Detailed Description

Class for encapsulation of a X11 Display.

Member Typedef Documentation

typedef void(X11Display::* X11Display::MakePixelFunc_t)(uint8_t *pPixel, uint8_t r, uint8_t g, uint8_t b, uint8_t a) const

Type of function to put RGBA values into a pixel.


Constructor & Destructor Documentation

X11Display::X11Display ( intf_thread_t pIntf  ) 

virtual X11Display::~X11Display (  )  [virtual]


Member Function Documentation

Display* X11Display::getDisplay (  )  const [inline]

Get the display.

Visual* X11Display::getVisual (  )  const [inline]

Get the visual.

int X11Display::getPixelSize (  )  const [inline]

Get the pixel size.

GC X11Display::getGC (  )  const [inline]

Get the graphics context.

Colormap X11Display::getColormap (  )  const [inline]

Get the colormap.

MakePixelFunc_t X11Display::getBlendPixel (  )  const [inline]

Get a pointer on the right blendPixel implementation.

MakePixelFunc_t X11Display::getPutPixel (  )  const [inline]

Get a pointer on the right putPixel implementation.

unsigned long X11Display::getPixelValue ( uint8_t  r,
uint8_t  g,
uint8_t  b 
) const

Get the pixel value corresponding to the given colors.

Window X11Display::getMainWindow (  )  const [inline]

Get the main window ID.

void X11Display::testEWMH (  ) 

test EWMH capabilities


Field Documentation

Window m_voutWindow;.

EWMH spec


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

Generated on Tue May 25 08:06:32 2010 for VLC by  doxygen 1.5.6