diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2018-08-30 23:34:09 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-11-09 18:42:28 +0100 |
commit | 8d1b99f2fe9d41462614ad5a33dbdcb612fc08b0 (patch) | |
tree | 3622cfa2175721a815bcc979a3a9a81fce8c47f5 /vcl/inc/WidgetThemeLibrary.hxx | |
parent | cb09d6eee7574a1b3c6f74cbb5210a1f2964fe2c (diff) |
custom widgets: get the region from the lib. + custom tab width
This implements getting the region rectangle from the widget
library so it is possible to redefine the size of the widgets if
needed.
Additionally increase a tab width which are too small by default.
Change-Id: If662c44e02631715efd137ecbfc4a5770fa9f6ab
Diffstat (limited to 'vcl/inc/WidgetThemeLibrary.hxx')
-rw-r--r-- | vcl/inc/WidgetThemeLibrary.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/WidgetThemeLibrary.hxx b/vcl/inc/WidgetThemeLibrary.hxx index 6d4ab9dde196..53d5e5769ffa 100644 --- a/vcl/inc/WidgetThemeLibrary.hxx +++ b/vcl/inc/WidgetThemeLibrary.hxx @@ -42,6 +42,10 @@ public: virtual ~WidgetThemeLibrary(); virtual bool isNativeControlSupported(ControlType eType, ControlPart ePart); + virtual bool getRegion(ControlType eType, ControlPart ePart, ControlState eState, + const tools::Rectangle& rBoundingControlRegion, + tools::Rectangle& rNativeBoundingRegion, + tools::Rectangle& rNativeContentRegion); virtual bool drawPushButton(ControlDrawParameters const& rParameters, long nWidth, long nHeight); |