VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
GX::Display Class Reference

An Xlib Display wrapper. More...

#include <gxdisplay.h>

Classes

struct  PixmapFormat
 A summary of one item in an Xlib XPixmapFormatValues list. More...
 

Public Member Functions

 Display ()
 Constructor.
 
 ~Display ()
 Destructor.
 
::Displayx ()
 Returns the X object.
 
int fd () const
 Returns a select()able file descriptor.
 
int depth () const
 Returns the color depth (in bits).
 
int white () const
 Returns the white colour value.
 
int black () const
 Returns the black colour value.
 
int dx () const
 Returns the default screen's width.
 
int dy () const
 Returns the default screen's height.
 
::Colormap defaultColourmap ()
 Returns the default colour map of the default screen. More...
 
Context defaultContext ()
 Returns the default graphics context for the default screen. More...
 
std::list< PixmapFormatpixmapFormats () const
 Returns a list of supported pixmap formats.
 

Detailed Description

An Xlib Display wrapper.

Definition at line 38 of file gxdisplay.h.

Member Function Documentation

Colormap GX::Display::defaultColourmap ( )

Returns the default colour map of the default screen.

Definition at line 63 of file gxdisplay.cpp.

GX::Context GX::Display::defaultContext ( )

Returns the default graphics context for the default screen.

Definition at line 69 of file gxdisplay.cpp.


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