diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2014-12-26 20:33:34 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2014-12-26 20:42:12 +0900 |
commit | 8a009858aa25825e26eb9f04ea1d3620445e6709 (patch) | |
tree | 9a3e4aea95a7f708cc73c81e8b6c33a6cd747719 /include/vcl | |
parent | f37ccf3ed8aae4e2d5191fb97aa28446541ff790 (diff) |
Adjust the statusbar item widths according to HiDPI scaling factor
Change-Id: Id697b3b799c7437d937de6534edf88083e5c4dfd
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/status.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx index 0f74411eaec2..b6433ef89531 100644 --- a/include/vcl/status.hxx +++ b/include/vcl/status.hxx @@ -92,6 +92,7 @@ private: bool mbFormat; bool mbProgressMode; bool mbInUserDraw; + bool mbAdjustHiDPI; Link maClickHdl; Link maDoubleClickHdl; @@ -114,6 +115,8 @@ public: WinBits nWinStyle = WB_BORDER | WB_RIGHT ); virtual ~StatusBar(); + void AdjustItemWidthsForHiDPI(bool bAdjustHiDPI); + virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual void Move() SAL_OVERRIDE; |