From 9e28cc8ca79b5c42955867a62e89faf8facc5e80 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 23 Jul 2015 13:19:40 +0200 Subject: convert WindowAlign to scoped enum Change-Id: I028d108b3a83bd5541d873c4d03b87339cd3be52 --- include/tools/wintypes.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/tools') 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 -- cgit