summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-23 13:19:40 +0200
committerNoel Grandin <noel@peralex.com>2015-07-24 09:52:08 +0200
commit9e28cc8ca79b5c42955867a62e89faf8facc5e80 (patch)
treed882dd9776f44748debac32c65b80194387cffe5 /include/tools
parentdc7fc2074dd81f0960e6c112ead1cfe5bfd1bf4c (diff)
convert WindowAlign to scoped enum
Change-Id: I028d108b3a83bd5541d873c4d03b87339cd3be52
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/wintypes.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/tools/wintypes.hxx b/include/tools/wintypes.hxx
index bfd038ee6e6c..01a04d921803 100644
--- a/include/tools/wintypes.hxx
+++ b/include/tools/wintypes.hxx
@@ -285,11 +285,13 @@ WinBits const WB_EXT_DOCMODIFIED = 0x00000002;
// WindowAlign
-enum WindowAlign { WINDOWALIGN_LEFT, WINDOWALIGN_TOP, WINDOWALIGN_RIGHT, WINDOWALIGN_BOTTOM };
+enum class WindowAlign { Left, Top, Right, Bottom };
+
enum ImageAlign { IMAGEALIGN_LEFT, IMAGEALIGN_TOP, IMAGEALIGN_RIGHT, IMAGEALIGN_BOTTOM,
IMAGEALIGN_LEFT_TOP, IMAGEALIGN_LEFT_BOTTOM, IMAGEALIGN_TOP_LEFT,
IMAGEALIGN_TOP_RIGHT, IMAGEALIGN_RIGHT_TOP, IMAGEALIGN_RIGHT_BOTTOM,
IMAGEALIGN_BOTTOM_LEFT, IMAGEALIGN_BOTTOM_RIGHT, IMAGEALIGN_CENTER };
+
enum class SymbolAlign { LEFT, RIGHT };
// ButtonDialog-Types