Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
ScreenWindows.h
1// Author: Kang Lin <kl222@126.com>
2
3#ifndef CSCREENWINDOWS_H
4#define CSCREENWINDOWS_H
5
6#include "Screen.h"
7
8class CScreenWindows : public CScreen
9{
10public:
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
26private:
27 int GetImage(bool bBuffer);
28};
29
30#endif // CSCREENWINDOWS_H
The CScreen class.
Definition Screen.h:14