]> git.saurik.com Git - wxWidgets.git/commitdiff
Make brush hatches in wxGTK consistent with wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Mar 2011 16:35:56 +0000 (16:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Mar 2011 16:35:56 +0000 (16:35 +0000)
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
src/gtk/horiz.xbm
src/gtk/verti.xbm

index 916ee76e3a876cf98d8b82285a3bc4c2b72bbbdd..2930c572e409a482990f3d0ac5784a456366dc71 100644 (file)
@@ -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, };
index f4a31c6e9d6417f1421630edf1c491e3a7cf5857..94de3f9dcf05f988363e3ad348ac587d46961f0d 100644 (file)
@@ -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, };
index b71941e82e0982713dc431a5052cae758045c572..c06305d6fd2f34adfffa6586552f9a287e0971da 100644 (file)
@@ -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, };