diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-12 10:32:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-12 11:59:55 +0200 |
commit | 8c1140e6230d14604f17030e22986e338510174c (patch) | |
tree | 81f436c896c4f529489360cb05be9d4d96e144f5 /include/vcl/vclenum.hxx | |
parent | 6e820db2290783031f4d0877eaa39c2951bb909e (diff) |
move the key related types to keycod.hxx
so we have all the related definitions in the same header file
Change-Id: I8032c2ae36bc9dd860069b3dafd69207d5636501
Reviewed-on: https://gerrit.libreoffice.org/42187
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/vclenum.hxx')
-rw-r--r-- | include/vcl/vclenum.hxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx index 02c49e2c87d7..e31c7cc70e50 100644 --- a/include/vcl/vclenum.hxx +++ b/include/vcl/vclenum.hxx @@ -25,12 +25,6 @@ enum class TimeFieldFormat : sal_Int32 { F_NONE, F_SEC, F_SEC_CS }; -enum class KeyFuncType : sal_Int32 { DONTKNOW, NEW, OPEN, SAVE, - SAVEAS, PRINT, CLOSE, QUIT, - CUT, COPY, PASTE, UNDO, - REDO, DELETE, REPEAT, FIND, - FINDBACKWARD, PROPERTIES, FRONT }; - enum class MenuItemType { DONTKNOW, STRING, IMAGE, STRINGIMAGE, SEPARATOR }; enum class MenuItemBits : sal_Int16 @@ -124,17 +118,6 @@ namespace o3tl template<> struct typed_flags<WindowBorderStyle> : is_typed_flags<WindowBorderStyle, 0x3033> {}; } -#define KEY_CODE_MASK ((sal_uInt16)0x0FFF) - -// Modifier keys -#define KEY_SHIFT ((sal_uInt16)0x1000) -#define KEY_MOD1 ((sal_uInt16)0x2000) -#define KEY_MOD2 ((sal_uInt16)0x4000) -#define KEY_MOD3 ((sal_uInt16)0x8000) -#define KEY_MODIFIERS_MASK ((sal_uInt16)0xF000) - - - enum class ExtTimeFieldFormat { Short24H, Long24H |