summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-01-26 17:00:08 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-01-27 09:46:43 +0100
commit2f4f4cbeb8e50081d607b86b0475b93971c40ab8 (patch)
tree9e0eff98d1a8f556709bd8140fb7d799a7715b61
parentf9c3e9bbe780a394e43bf380cdedb6f2c9c8d8ac (diff)
add WindowStateMask::Size for convenience
Change-Id: I8669a37b5495ba2150013f77c65357dc0f531a89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129003 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--include/vcl/vclenum.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx
index eebefc92ce1b..6e0359fa2699 100644
--- a/include/vcl/vclenum.hxx
+++ b/include/vcl/vclenum.hxx
@@ -131,6 +131,7 @@ enum class WindowStateMask {
MaximizedWidth = 0x0400,
MaximizedHeight = 0x0800,
Pos = X | Y,
+ Size = Width | Height,
All = X | Y | Width | Height | MaximizedX | MaximizedY | MaximizedWidth | MaximizedHeight | State | Minimized
};
namespace o3tl