util-x11.h File Reference

Go to the source code of this file.

Functions

MPUBLIC Display * MythXOpenDisplay (void)
MPUBLIC void InstallXErrorHandler (Display *d)
MPUBLIC void PrintXErrors (Display *d, const std::vector< XErrorEvent > &events)
MPUBLIC std::vector< XErrorEvent > UninstallXErrorHandler (Display *d, bool printErrors=true)
MPUBLIC QSize MythXGetDisplaySize (Display *d=NULL, int screen=-1)
MPUBLIC QSize MythXGetDisplayDimensions (Display *d=NULL, int screen=-1)
MPUBLIC double MythXGetPixelAspectRatio (Display *d=NULL, int screen=-1)
MPUBLIC int GetNumberOfXineramaScreens ()
 Returns number of Xinerama screens if Xinerama is available, or 0 if it is not available.

Variables

MPUBLIC QMutex x11_lock


Function Documentation

MPUBLIC Display* MythXOpenDisplay ( void   ) 

MPUBLIC void InstallXErrorHandler ( Display *  d  ) 

MPUBLIC void PrintXErrors ( Display *  d,
const std::vector< XErrorEvent > &  events 
)

MPUBLIC std::vector<XErrorEvent> UninstallXErrorHandler ( Display *  d,
bool  printErrors = true 
)

MPUBLIC QSize MythXGetDisplaySize ( Display *  d = NULL,
int  screen = -1 
)

Definition at line 130 of file util-x11.cpp.

Referenced by MythXGetPixelAspectRatio().

MPUBLIC QSize MythXGetDisplayDimensions ( Display *  d = NULL,
int  screen = -1 
)

MPUBLIC double MythXGetPixelAspectRatio ( Display *  d = NULL,
int  screen = -1 
)

Definition at line 188 of file util-x11.cpp.

Referenced by MythGetPixelAspectRatio().

MPUBLIC int GetNumberOfXineramaScreens (  ) 

Returns number of Xinerama screens if Xinerama is available, or 0 if it is not available.

Definition at line 31 of file util-x11.cpp.

Referenced by AppearanceSettings::AppearanceSettings(), MythContextPrivate::GetScreenBounds(), VideoOutputXv::InitDisplayMeasurements(), and XineramaScreen().


Variable Documentation

MPUBLIC QMutex x11_lock

Definition at line 9 of file util-x11.cpp.


Generated on Sat Dec 18 05:15:56 2010 for MythTV by  doxygen 1.5.5