From 9bfdedfb3ee1c5c88f33cf39b292efe2b3c23be0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 9 Mar 2011 16:35:56 +0000 Subject: [PATCH] Make brush hatches in wxGTK consistent with wxMSW. The cross, vertically and horizontally hatched brushes used 4 pixels between the hatches in wxGTK but 7 in wxMSW which was very noticeable. Use the same pattern in wxGTK as MSW uses (as we can't change it there anyhow). Closes #13029. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/cross.xbm | 10 +++++----- src/gtk/horiz.xbm | 10 +++++----- src/gtk/verti.xbm | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/gtk/cross.xbm b/src/gtk/cross.xbm index 916ee76e3a..2930c572e4 100644 --- a/src/gtk/cross.xbm +++ b/src/gtk/cross.xbm @@ -1,6 +1,6 @@ -#define cross_width 15 -#define cross_height 15 +#define cross_width 16 +#define cross_height 16 static unsigned char cross_bits[] = { - 0x84, 0x10, 0x84, 0x10, 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, - 0x84, 0x10, 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, - 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10}; + 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0xFF, 0xFF, 0x08, 0x08, 0x08, 0x08, + 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0xFF, 0xFF, + 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, }; diff --git a/src/gtk/horiz.xbm b/src/gtk/horiz.xbm index f4a31c6e9d..94de3f9dcf 100644 --- a/src/gtk/horiz.xbm +++ b/src/gtk/horiz.xbm @@ -1,6 +1,6 @@ -#define horiz_width 15 -#define horiz_height 15 +#define horiz_width 16 +#define horiz_height 16 static unsigned char horiz_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00}; + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; diff --git a/src/gtk/verti.xbm b/src/gtk/verti.xbm index b71941e82e..c06305d6fd 100644 --- a/src/gtk/verti.xbm +++ b/src/gtk/verti.xbm @@ -1,6 +1,6 @@ -#define verti_width 15 -#define verti_height 15 +#define verti_width 16 +#define verti_height 16 static unsigned char verti_bits[] = { - 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, - 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, - 0x84, 0x10, 0x84, 0x10, 0x84, 0x10}; + 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, + 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, + 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, }; -- 2.47.2