summaryrefslogtreecommitdiff
path: root/vcl/inc/win
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-09-25 17:13:34 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-09-26 07:11:48 +0200
commit25f8b88ac9d602c1c518561c0f641a1e21699338 (patch)
tree7fc9503bc7b1a6604c5eeae2a3854ad8ec68732b /vcl/inc/win
parentb00d322c5fc7e275244a7848b735f7f93fec5791 (diff)
tdf#160837 win: Move UpdateFrameGeometry to WinSalFrame
Turn the previously static helper function UpdateFrameGeometry into a WinSalFrame method. It requires write access to the maGeometry member, which is currently still, but soon no longer public. Change-Id: Ief0dfee6061a5ea4e8ce497f1605b7c46c6e40c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173959 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
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 21700c0fccba..ca3bbd8eb323 100644
--- a/vcl/inc/win/salframe.h
+++ b/vcl/inc/win/salframe.h
@@ -148,6 +148,7 @@ public:
constexpr vcl::WindowState state() const { return m_eState; }
void SetMaximizedFrameGeometry(HWND hWnd, RECT* pParentRect = nullptr);
+ void UpdateFrameGeometry();
void UpdateFrameState();
constexpr bool isFullScreen() const { return bool(m_eState & vcl::WindowState::FullScreen); }