mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-23 13:42:55 +08:00
fix: can't compile in windows
This commit is contained in:
parent
162efcf2fa
commit
e75c068443
@ -87,6 +87,7 @@ public:
|
|||||||
void SetBorderColor(QColor color);
|
void SetBorderColor(QColor color);
|
||||||
static bool IsWin11OrGreater();
|
static bool IsWin11OrGreater();
|
||||||
static bool IsWin7();
|
static bool IsWin7();
|
||||||
|
static bool getWinSysVersion(DWORD *major_version, DWORD *minor_version, DWORD *build_number);
|
||||||
|
|
||||||
inline void SetTitleBarWidget(QWidget *w){
|
inline void SetTitleBarWidget(QWidget *w){
|
||||||
_titleBarWidget = w;
|
_titleBarWidget = w;
|
||||||
@ -101,7 +102,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
QScreen* screenFromCurrentMonitorHandle();
|
QScreen* screenFromCurrentMonitorHandle();
|
||||||
bool getWinSysVersion(DWORD *major_version, DWORD *minor_version, DWORD *build_number);
|
|
||||||
void showBorder();
|
void showBorder();
|
||||||
void hideBorder();
|
void hideBorder();
|
||||||
static RECT GetMonitorArea(HMONITOR hMonitor, bool isPhysics);
|
static RECT GetMonitorArea(HMONITOR hMonitor, bool isPhysics);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user