diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-05-05 20:07:41 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-05-05 20:25:36 +0400 |
commit | f1005e50e795a06b5504960a94e529b48e085a91 (patch) | |
tree | feace04b0fcd9e8366f798113ff5aab1570c7ec6 /vcl/inc | |
parent | 33880a63fef2abf126163186d81c204d965031a6 (diff) |
gtk: fix drawing of separators in vertical toolbars
(regression from 0377b99b3f50a67e7845a3d728313e5a2ef36e73)
* divide PART_SEPARATOR into PART_SEPARATOR_HORZ and PART_SEPARATOR_VERT
* improve separator reduction: now the offset is (height*0.2) instead of 7.
* rename: gVSeparator -> gSeparator
* remove trailing whitespace
Change-Id: I I If144509d7e061bf1b7901cd5418c4d7dbc3aa0d0
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/vcl/salnativewidgets.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/vcl/salnativewidgets.hxx b/vcl/inc/vcl/salnativewidgets.hxx index 872fa35be87d..c082b3826997 100644 --- a/vcl/inc/vcl/salnativewidgets.hxx +++ b/vcl/inc/vcl/salnativewidgets.hxx @@ -165,7 +165,8 @@ typedef sal_uInt32 ControlPart; #define PART_BUTTON_LEFT 103 #define PART_BUTTON_RIGHT 104 #define PART_ALL_BUTTONS 105 -#define PART_SEPARATOR 106 +#define PART_SEPARATOR_HORZ 106 +#define PART_SEPARATOR_VERT 107 #define PART_TRACK_HORZ_LEFT 200 #define PART_TRACK_VERT_UPPER 201 #define PART_TRACK_HORZ_RIGHT 202 |