diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-11 12:33:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-13 08:54:36 +0200 |
commit | 670b7ade84ec972d831055349e2bdbc2b1218955 (patch) | |
tree | 90e18c89c0e8d789c97eec18eb8c4285b9a37097 /vcl/inc | |
parent | d61f0a8c8634827ad427ebb4609d389164c0cc79 (diff) |
convert BUTTON_DRAW constants to scoped enum
Change-Id: I6ad6558c855736a4a5268593ced9c8300235d4bd
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/brdwin.hxx | 71 |
1 files changed, 36 insertions, 35 deletions
diff --git a/vcl/inc/brdwin.hxx b/vcl/inc/brdwin.hxx index a82aa82ad92c..e118024e9a67 100644 --- a/vcl/inc/brdwin.hxx +++ b/vcl/inc/brdwin.hxx @@ -23,6 +23,7 @@ #include <vcl/window.hxx> class ImplBorderWindowView; +enum class DrawButtonFlags; #define BORDERWINDOW_STYLE_OVERLAP ((sal_uInt16)0x0001) #define BORDERWINDOW_STYLE_BORDER ((sal_uInt16)0x0002) @@ -176,41 +177,41 @@ struct ImplBorderFrameData { VclPtr<ImplBorderWindow> mpBorderWindow; VclPtr<OutputDevice> mpOutDev; - Rectangle maTitleRect; - Rectangle maPinRect; - Rectangle maCloseRect; - Rectangle maRollRect; - Rectangle maDockRect; - Rectangle maMenuRect; - Rectangle maHideRect; - Rectangle maHelpRect; - Point maMouseOff; - long mnWidth; - long mnHeight; - long mnTrackX; - long mnTrackY; - long mnTrackWidth; - long mnTrackHeight; - sal_Int32 mnLeftBorder; - sal_Int32 mnTopBorder; - sal_Int32 mnRightBorder; - sal_Int32 mnBottomBorder; - long mnNoTitleTop; - long mnBorderSize; - long mnTitleHeight; - long mnTitleOff; - sal_uInt16 mnHitTest; - sal_uInt16 mnPinState; - sal_uInt16 mnCloseState; - sal_uInt16 mnRollState; - sal_uInt16 mnDockState; - sal_uInt16 mnMenuState; - sal_uInt16 mnHideState; - sal_uInt16 mnHelpState; - sal_uInt16 mnTitleType; - bool mbFloatWindow; - bool mbDragFull; - bool mbTitleClipped; + Rectangle maTitleRect; + Rectangle maPinRect; + Rectangle maCloseRect; + Rectangle maRollRect; + Rectangle maDockRect; + Rectangle maMenuRect; + Rectangle maHideRect; + Rectangle maHelpRect; + Point maMouseOff; + long mnWidth; + long mnHeight; + long mnTrackX; + long mnTrackY; + long mnTrackWidth; + long mnTrackHeight; + sal_Int32 mnLeftBorder; + sal_Int32 mnTopBorder; + sal_Int32 mnRightBorder; + sal_Int32 mnBottomBorder; + long mnNoTitleTop; + long mnBorderSize; + long mnTitleHeight; + long mnTitleOff; + sal_uInt16 mnHitTest; + DrawButtonFlags mnPinState; + DrawButtonFlags mnCloseState; + DrawButtonFlags mnRollState; + DrawButtonFlags mnDockState; + DrawButtonFlags mnMenuState; + DrawButtonFlags mnHideState; + DrawButtonFlags mnHelpState; + sal_uInt16 mnTitleType; + bool mbFloatWindow; + bool mbDragFull; + bool mbTitleClipped; }; class ImplBorderWindowView |