summaryrefslogtreecommitdiff
path: root/vcl/inc/win
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-09-25 17:00:42 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-09-26 07:11:41 +0200
commitb00d322c5fc7e275244a7848b735f7f93fec5791 (patch)
treea427034ce32bafb9e3cae1da7a5c09473fa91054 /vcl/inc/win
parentc3e89c03d340db7b80a36ada7cbd2ea9009ac075 (diff)
tdf#160837 win: Move SetMaximizedFrameGeometry to WinSalFrame
Turn the previously static helper function SetMaximizedFrameGeometry into a WinSalFrame method. It requires write access to the maGeometry member, which is currently still, but soon no longer public. Change-Id: Iceef8a5366e6f4f5bf2163011651ee99ee908b2a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173958 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
Diffstat (limited to 'vcl/inc/win')
-rw-r--r--vcl/inc/win/salframe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/win/salframe.h b/vcl/inc/win/salframe.h
index e465eb1350b1..21700c0fccba 100644
--- a/vcl/inc/win/salframe.h
+++ b/vcl/inc/win/salframe.h
@@ -147,6 +147,7 @@ public:
virtual bool GetUseReducedAnimation() const override;
constexpr vcl::WindowState state() const { return m_eState; }
+ void SetMaximizedFrameGeometry(HWND hWnd, RECT* pParentRect = nullptr);
void UpdateFrameState();
constexpr bool isFullScreen() const { return bool(m_eState & vcl::WindowState::FullScreen); }