From f1005e50e795a06b5504960a94e529b48e085a91 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Sat, 5 May 2012 20:07:41 +0400 Subject: 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 --- vcl/inc/vcl/salnativewidgets.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vcl/inc/vcl/salnativewidgets.hxx') 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 -- cgit v1.2.3