Rabbit Remote Control
0.0.30
Loading...
Searching...
No Matches
Service
ScreenWindows.h
1
// Author: Kang Lin <kl222@126.com>
2
3
#ifndef CSCREENWINDOWS_H
4
#define CSCREENWINDOWS_H
5
6
#include "Screen.h"
7
8
class
CScreenWindows
:
public
CScreen
9
{
10
public
:
11
explicit
CScreenWindows
(QObject *parent =
nullptr
);
12
virtual
~CScreenWindows
();
13
14
virtual
int
Width()
override
;
15
virtual
int
Height()
override
;
16
virtual
int
VirtualTop()
override
;
17
virtual
int
VirtualLeft()
override
;
18
virtual
int
VirtualWidth()
override
;
19
virtual
int
VirtualHeight()
override
;
20
virtual
int
VisibleMonitorCount()
override
;
21
22
virtual
QImage GetScreen(
int
index = 0)
override
;
23
virtual
int
SetFormat(QImage::Format f = QImage::Format_ARGB32)
override
;
24
virtual
QImage::Format GetFormat(
int
index = 0)
override
;
25
26
private
:
27
int
GetImage(
bool
bBuffer);
28
};
29
30
#endif
// CSCREENWINDOWS_H
CScreenWindows
Definition
ScreenWindows.h:9
CScreen
The CScreen class.
Definition
Screen.h:14
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力