include/tools/wintypes.hxx |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

New commits:
commit ad6adb1bfadf49af3187a0bb3ceffbf355e9eed1
Author:     Jan-Marek Glogowski <glo...@fbihome.de>
AuthorDate: Fri Sep 28 20:58:32 2018 +0000
Commit:     Jan-Marek Glogowski <glo...@fbihome.de>
CommitDate: Sat Sep 29 02:35:43 2018 +0200

    Add number comments to WindowType
    
    Change-Id: Icc8bddb00a26f3844d8b264acd5535951ac64f1c
    Reviewed-on: https://gerrit.libreoffice.org/61099
    Tested-by: Jenkins
    Reviewed-by: Jan-Marek Glogowski <glo...@fbihome.de>

diff --git a/include/tools/wintypes.hxx b/include/tools/wintypes.hxx
index 9f5229806e3f..baa8119e785d 100644
--- a/include/tools/wintypes.hxx
+++ b/include/tools/wintypes.hxx
@@ -26,8 +26,8 @@
 enum class WindowType : sal_uInt16
 {
     NONE                 = 0,
-    FIRST                = 0x0130,
-    MESSBOX              = FIRST,
+    FIRST                = 0x0130, // 304
+    MESSBOX              = FIRST, // 0
     INFOBOX              ,
     WARNINGBOX           ,
     ERRORBOX             ,
@@ -37,7 +37,7 @@ enum class WindowType : sal_uInt16
     CONTAINER            ,
     FLOATINGWINDOW       ,
     DIALOG               ,
-    MODELESSDIALOG       ,
+    MODELESSDIALOG       , // 10 (314)
     MODALDIALOG          ,
     CONTROL              ,
     PUSHBUTTON           ,
@@ -47,7 +47,7 @@ enum class WindowType : sal_uInt16
     IMAGEBUTTON          ,
     MENUBUTTON           ,
     MOREBUTTON           ,
-    SPINBUTTON           ,
+    SPINBUTTON           , // 20 (324)
     RADIOBUTTON          ,
     CHECKBOX             ,
     TRISTATEBOX          ,
@@ -57,7 +57,7 @@ enum class WindowType : sal_uInt16
     LISTBOX              ,
     MULTILISTBOX         ,
     FIXEDTEXT            ,
-    FIXEDLINE            ,
+    FIXEDLINE            , // 30 (334)
     FIXEDBITMAP          ,
     FIXEDIMAGE           ,
     GROUPBOX             ,
@@ -67,7 +67,7 @@ enum class WindowType : sal_uInt16
     SPLITWINDOW          ,
     SPINFIELD            ,
     PATTERNFIELD         ,
-    NUMERICFIELD         ,
+    NUMERICFIELD         , // 40 (344)
     METRICFIELD          ,
     CURRENCYFIELD        ,
     DATEFIELD            ,
@@ -77,7 +77,7 @@ enum class WindowType : sal_uInt16
     METRICBOX            ,
     CURRENCYBOX          ,
     DATEBOX              ,
-    TIMEBOX              ,
+    TIMEBOX              , // 50 (354)
     LONGCURRENCYFIELD    ,
     LONGCURRENCYBOX      ,
     SCROLLWINDOW         ,
@@ -87,7 +87,7 @@ enum class WindowType : sal_uInt16
     TABPAGE              ,
     TABCONTROL           ,
     TABDIALOG            ,
-    BORDERWINDOW         ,
+    BORDERWINDOW         , // 60 (364)
     BUTTONDIALOG         ,
     SYSTEMCHILDWINDOW    ,
     SLIDER               ,
@@ -97,7 +97,7 @@ enum class WindowType : sal_uInt16
     INTROWINDOW          ,
     LISTBOXWINDOW        ,
     DOCKINGAREA          ,
-    RULER                ,
+    RULER                , // 70 (374)
     CALCINPUTLINE        ,
     LAST                 = CALCINPUTLINE,
     // only used in vclxtoolkit.cxx
@@ -163,6 +163,7 @@ WinBits const WB_AUTOHSCROLL =          
SAL_CONST_INT64(0x10000000);
 WinBits const WB_DOCKABLE =             SAL_CONST_INT64(0x20000000);
 WinBits const WB_AUTOVSCROLL =          SAL_CONST_INT64(0x40000000);
 WinBits const WB_HYPHENATION =          SAL_CONST_INT64(0x800000000) | 
WB_WORDBREAK;
+// #i93011# style bit for some child windows, that want their children checked 
for accelerators
 WinBits const WB_CHILDDLGCTRL =         SAL_CONST_INT64(0x100000000000);
 
 // system floating window
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to