chore: Windows support
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
parent
972615f91d
commit
542115a1ee
23 changed files with 308 additions and 148 deletions
|
|
@ -173,7 +173,7 @@ Win32Window::MessageHandler(HWND hwnd,
|
|||
|
||||
return 0;
|
||||
}
|
||||
case WM_SIZE:
|
||||
case WM_SIZE: {
|
||||
RECT rect = GetClientArea();
|
||||
if (child_content_ != nullptr) {
|
||||
// Size and position the child window.
|
||||
|
|
@ -181,6 +181,7 @@ Win32Window::MessageHandler(HWND hwnd,
|
|||
rect.bottom - rect.top, TRUE);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
case WM_ACTIVATE:
|
||||
if (child_content_ != nullptr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue