]> git.saurik.com Git - wxWidgets.git/blobdiff - art/repview.xpm
Test m_dc before using it
[wxWidgets.git] / art / repview.xpm
index 5212bae45cbc9747f4ec845ac61c55f056872b24..cebebffe51c9c8dff5dbaf449e5ed756e64ebb7b 100644 (file)
@@ -1,27 +1,24 @@
-/* XPM */
-static char * repview_xpm[] = {
-"20 20 4 1",
-"      c None",
-".     c #000000",
-"+     c #FFFFFF",
-"@     c #000083",
-"                    ",
-"                    ",
-"  ................  ",
-"  .++++++++++++++.  ",
-"  .++++++++++++++.  ",
-"  .+++....+...+.+.  ",
-"  .++++++++++++++.  ",
-"  .+@@@@@@@@@@@.+.  ",
-"  .++++++++++++++.  ",
-"  .+@+....+...+.+.  ",
-"  .++++++++++++++.  ",
-"  .+@+....+...+.+.  ",
-"  .++++++++++++++.  ",
-"  .+@+....+...+.+.  ",
-"  .++++++++++++++.  ",
-"  .+@+....+...+.+.  ",
-"  .++++++++++++++.  ",
-"  ................  ",
-"                    ",
-"                    "};
+/* XPM */\r
+static const char *const repview_xpm[] = {\r
+/* columns rows colors chars-per-pixel */\r
+"16 15 3 1",\r
+"  c Black",\r
+"X c #FFFFFF",\r
+". c #C0C0C0",\r
+/* pixels */\r
+"                ",\r
+" .............. ",\r
+" .  .    .    . ",\r
+" .............. ",\r
+" .............. ",\r
+" XXXXXXXXXXXXXX ",\r
+" X  X    X    X ",\r
+" XXXXXXXXXXXXXX ",\r
+" X  X    X    X ",\r
+" XXXXXXXXXXXXXX ",\r
+" X  X    X    X ",\r
+" XXXXXXXXXXXXXX ",\r
+" X  X    X    X ",\r
+" XXXXXXXXXXXXXX ",\r
+"                "\r
+};\r