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

Public Member Functions

 CDisplayWindows (QObject *parent=nullptr)
 
virtual int Width () override
 
virtual int Height () override
 
virtual QImage GetDisplay (int width, int height, int x, int y) override
 
- Public Member Functions inherited from CDesktop
 CDesktop (QObject *parent=nullptr)
 
virtual QImage GetDesktop ()=0
 
virtual QImage GetDesktop (int x, int y, int width, int height)=0
 
virtual QImage GetCursor (QPoint &pos, QPoint &posHot)=0
 
virtual QPoint GetCursorPosition ()=0
 
virtual bool GetHasCursor () const
 
virtual void SetHasCursor (bool newHaveCursor)
 

Private Member Functions

HDC GetDesktopDC ()
 

Private Attributes

HDC m_DC
 
HDC m_MemDc
 
HBITMAP m_Bitmap
 
int m_Width
 
int m_Height
 

Additional Inherited Members

- Signals inherited from CDesktop
void sigUpdate (QImage desktop, QRect rect)
 
- Static Public Member Functions inherited from CDesktop
static CDesktopInstance ()
 

Detailed Description

Definition at line 7 of file DisplayWindows.h.

Constructor & Destructor Documentation

◆ CDisplayWindows()

CDisplayWindows::CDisplayWindows ( QObject *  parent = nullptr)
explicit

Definition at line 6 of file DisplayWindows.cpp.

◆ ~CDisplayWindows()

CDisplayWindows::~CDisplayWindows ( )
overridevirtual

Definition at line 14 of file DisplayWindows.cpp.

Member Function Documentation

◆ GetDesktopDC()

HDC CDisplayWindows::GetDesktopDC ( )
private

Definition at line 28 of file DisplayWindows.cpp.

◆ GetDisplay()

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

Definition at line 45 of file DisplayWindows.cpp.

◆ Height()

int CDisplayWindows::Height ( )
overridevirtual

Implements CDesktop.

Definition at line 40 of file DisplayWindows.cpp.

◆ Width()

int CDisplayWindows::Width ( )
overridevirtual

Implements CDesktop.

Definition at line 35 of file DisplayWindows.cpp.

Member Data Documentation

◆ m_Bitmap

HBITMAP CDisplayWindows::m_Bitmap
private

Definition at line 21 of file DisplayWindows.h.

◆ m_DC

HDC CDisplayWindows::m_DC
private

Definition at line 19 of file DisplayWindows.h.

◆ m_Height

int CDisplayWindows::m_Height
private

Definition at line 22 of file DisplayWindows.h.

◆ m_MemDc

HDC CDisplayWindows::m_MemDc
private

Definition at line 20 of file DisplayWindows.h.

◆ m_Width

int CDisplayWindows::m_Width
private

Definition at line 22 of file DisplayWindows.h.


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