Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
CDisplayXLib Class Reference
Inheritance diagram for CDisplayXLib:
CDisplay

Public Member Functions

virtual int Width () override
 
virtual int Height () override
 
virtual int GetScreenCount () override
 
virtual QImage::Format GetFormat () override
 
virtual QImage GetDisplay (int x, int y, int width, int height) override
 
virtual QImage GetDisplay () override
 
virtual QImage GetCursor (QPoint &pos, QPoint &posHot) override
 
virtual QPoint GetCursorPosition () override
 
- Public Member Functions inherited from CDisplay
bool GetHasCursor () const
 
void SetHasCursor (bool newHasCursor)
 

Protected Member Functions

virtual int Open () override
 
virtual int Close () override
 

Private Member Functions

QImage::Format GetFormat (XImage *pImage)
 

Static Private Member Functions

static void DestroyImage (void *pImage)
 

Private Attributes

Display * m_pDisplay
 
Window m_RootWindow
 
QImage::Format m_Format
 
XImage * m_pImage
 
QImage m_Desktop
 

Additional Inherited Members

- Static Public Member Functions inherited from CDisplay
static CDisplayInstance ()
 

Detailed Description

Definition at line 12 of file DisplayXLib.h.

Constructor & Destructor Documentation

◆ CDisplayXLib()

CDisplayXLib::CDisplayXLib ( )
explicit

Definition at line 20 of file DisplayXLib.cpp.

◆ ~CDisplayXLib()

CDisplayXLib::~CDisplayXLib ( )
overridevirtual

Definition at line 29 of file DisplayXLib.cpp.

Member Function Documentation

◆ Close()

int CDisplayXLib::Close ( )
overrideprotectedvirtual

Implements CDisplay.

Definition at line 142 of file DisplayXLib.cpp.

◆ DestroyImage()

void CDisplayXLib::DestroyImage ( void *  pImage)
staticprivate

Definition at line 167 of file DisplayXLib.cpp.

◆ GetCursor()

QImage CDisplayXLib::GetCursor ( QPoint &  pos,
QPoint &  posHot 
)
overridevirtual

Implements CDisplay.

Definition at line 245 of file DisplayXLib.cpp.

◆ GetCursorPosition()

QPoint CDisplayXLib::GetCursorPosition ( )
overridevirtual

Implements CDisplay.

Definition at line 286 of file DisplayXLib.cpp.

◆ GetDisplay() [1/2]

QImage CDisplayXLib::GetDisplay ( )
overridevirtual

Implements CDisplay.

Definition at line 214 of file DisplayXLib.cpp.

◆ GetDisplay() [2/2]

QImage CDisplayXLib::GetDisplay ( int  x,
int  y,
int  width,
int  height 
)
overridevirtual

Implements CDisplay.

Definition at line 173 of file DisplayXLib.cpp.

◆ GetFormat() [1/2]

QImage::Format CDisplayXLib::GetFormat ( )
overridevirtual

Implements CDisplay.

Definition at line 55 of file DisplayXLib.cpp.

◆ GetFormat() [2/2]

QImage::Format CDisplayXLib::GetFormat ( XImage *  pImage)
private

Definition at line 60 of file DisplayXLib.cpp.

◆ GetScreenCount()

int CDisplayXLib::GetScreenCount ( )
overridevirtual

Implements CDisplay.

Definition at line 162 of file DisplayXLib.cpp.

◆ Height()

int CDisplayXLib::Height ( )
overridevirtual

Implements CDisplay.

Definition at line 48 of file DisplayXLib.cpp.

◆ Open()

int CDisplayXLib::Open ( )
overrideprotectedvirtual

Implements CDisplay.

Definition at line 74 of file DisplayXLib.cpp.

◆ Width()

int CDisplayXLib::Width ( )
overridevirtual

Implements CDisplay.

Definition at line 41 of file DisplayXLib.cpp.

Member Data Documentation

◆ m_Desktop

QImage CDisplayXLib::m_Desktop
private

Definition at line 36 of file DisplayXLib.h.

◆ m_Format

QImage::Format CDisplayXLib::m_Format
private

Definition at line 34 of file DisplayXLib.h.

◆ m_pDisplay

Display* CDisplayXLib::m_pDisplay
private

Definition at line 32 of file DisplayXLib.h.

◆ m_pImage

XImage* CDisplayXLib::m_pImage
private

Definition at line 35 of file DisplayXLib.h.

◆ m_RootWindow

Window CDisplayXLib::m_RootWindow
private

Definition at line 33 of file DisplayXLib.h.


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