mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
feat: DwmSharedSurface 支持 DPI 缩放
This commit is contained in:
parent
0d0a9023d7
commit
b9e06a11bb
15 changed files with 85 additions and 33 deletions
|
|
@ -11,7 +11,7 @@ MagCallbackFrameSource::~MagCallbackFrameSource() {
|
|||
DestroyWindow(_hwndMag);
|
||||
}
|
||||
|
||||
bool MagCallbackFrameSource::Initialize() {
|
||||
bool MagCallbackFrameSource::Initialize(SIZE& frameSize) {
|
||||
HWND hwndHost = App::GetInstance().GetHwndHost();
|
||||
const RECT& srcClientRect = App::GetInstance().GetSrcClientRect();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue