Rabbit Remote Control
0.0.30
Loading...
Searching...
No Matches
Service
DisplayWindows.h
1
#ifndef CDISPLAYWINDOWS_H
2
#define CDISPLAYWINDOWS_H
3
4
#pragma once
5
#include "Display.h"
6
7
class
CDisplayWindows
:
public
CDesktop
8
{
9
Q_OBJECT
10
public
:
11
explicit
CDisplayWindows
(QObject *parent =
nullptr
);
12
virtual
~CDisplayWindows
()
override
;
13
14
virtual
int
Width()
override
;
15
virtual
int
Height()
override
;
16
virtual
QImage GetDisplay(
int
width,
int
height,
int
x,
int
y)
override
;
17
18
private
:
19
HDC m_DC;
20
HDC m_MemDc;
21
HBITMAP m_Bitmap;
22
int
m_Width, m_Height;
23
24
HDC GetDesktopDC();
25
};
26
27
#endif
// CDISPLAYWINDOWS_H
CDesktop
Definition
Desktop.h:15
CDisplayWindows
Definition
DisplayWindows.h:8
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力