LeviLamina
Loading...
Searching...
No Matches
WindowStatePlatform.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
6public:
7 // virtual functions
8 // NOLINTBEGIN
9 virtual ~WindowStatePlatform() = default;
10
11 virtual bool getWindowRect(::HWND__* window, ::tagRECT& result) const;
12
13 virtual bool getClientRect(::HWND__* window, ::tagRECT& result) const;
14
15 virtual bool getWindowShowCommand(::HWND__* window, int& result) const;
16
17 virtual bool getClosestMonitorRect(::tagRECT const& closestToRect, ::tagRECT& result) const = 0;
18
19 virtual bool getAdjustedWindowRect(::tagRECT const& clientRect, ::tagRECT& windowRect) const;
20
21 virtual ::tagRECT _fitClientToScreen(::tagRECT const& client, ::tagRECT const& window, ::tagRECT const& screen) = 0;
22 // NOLINTEND
23
24public:
25 // virtual function thunks
26 // NOLINTBEGIN
27#ifdef LL_PLAT_C
28 MCNAPI bool $getWindowRect(::HWND__* window, ::tagRECT& result) const;
29
30 MCNAPI bool $getClientRect(::HWND__* window, ::tagRECT& result) const;
31
32 MCNAPI bool $getWindowShowCommand(::HWND__* window, int& result) const;
33
34 MCNAPI bool $getAdjustedWindowRect(::tagRECT const& clientRect, ::tagRECT& windowRect) const;
35#endif
36
37
38 // NOLINTEND
39
40public:
41 // vftables
42 // NOLINTBEGIN
43 MCNAPI static void** $vftable();
44 // NOLINTEND
45};
Definition WindowStatePlatform.h:5
static MCAPI void ** $vftable()
Definition window.h:5