]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/taskbar/smile.xpm
Support using GetTextExtent() with empty string to get descent in wxOSX.
[wxWidgets.git] / samples / taskbar / smile.xpm
index 165e738a9580fe549556b252e34f29876aaca04c..599c49c1c07f38a22659533dd281b6b1927ebcdd 100644 (file)
@@ -1,49 +1,42 @@
-/* XPM */
-static char * smile_xpm[] = {
-"24 24 22 1",
-"      c None",
-".     c #404000",
-"+     c #333300",
-"@     c #7F7F00",
-"#     c #FFFF00",
-"$     c #000000",
-"%     c #CFCF00",
-"&     c #9F9F00",
-"*     c #DFDF00",
-"=     c #303000",
-"-     c #808000",
-";     c #BFBF00",
-">     c #202000",
-",     c #707000",
-"'     c #606000",
-")     c #EFEF00",
-"!     c #9F1000",
-"~     c #603000",
-"{     c #DF0000",
-"]     c #FF0000",
-"^     c #804000",
-"/     c #800000",
-"         ......         ",
-"      +@@######@@+      ",
-"     $%##########%$     ",
-"    &##############&    ",
-"   &################&   ",
-"  $##################$  ",
-" +%####*==*##*==*####%+ ",
-" -#####-$$-##-$$-#####- ",
-" -#####-$$-##-$$-#####- ",
-".######-$$-##-$$-######.",
-".######;>>;##;>>;######.",
-".#####,#%%####%%#,#####.",
-".####%,##########,%####.",
-".##-->############>--##.",
-".##;;;,##########,;;;##.",
-" -####;')######)';####- ",
-" -####*.'&####&'.*####- ",
-" +%####*=!....!=*####%+ ",
-"  $######~{]]{~######$  ",
-"   &#####*^//^*#####&   ",
-"    &#####*;;*#####&    ",
-"     $%##########%$     ",
-"      +--######--+      ",
-"         ......         "};
+/* XPM */\r
+static const char *const smile_xpm[] = {\r
+/* columns rows colors chars-per-pixel */\r
+"32 32 4 1",\r
+". c Black",\r
+"X c #FFFF00",\r
+"  c None",\r
+"o c #C00000",\r
+/* pixels */\r
+"                                ",\r
+"             .....              ",\r
+"          ...XXXXX...           ",\r
+"        ..XXXXXXXXXXX..         ",\r
+"       .XXXXXXXXXXXXXXX.        ",\r
+"     ..XXXXXXXXXXXXXXXXX..      ",\r
+"     .XXXXXXXXXXXXXXXXXXXX.     ",\r
+"    .XXXXXX.XXXXXXX.XXXXXX.     ",\r
+"   .XXXXXX.X.XXXXX.X.XXXXXX.    ",\r
+"   .XXXXX.XXX.XXX.XXX.XXXXXX.   ",\r
+"  .XXXXX.XXXXXXXXXXXXX.XXXXX.   ",\r
+"  .XXXXXXXX.XXXXXXX.XXXXXXXX.   ",\r
+"  .XXXXXXXX.XXXXXXX.XXXXXXXX.   ",\r
+" .XXXXXXXXXXXXXXXXXXXXXXXXXXX.  ",\r
+" .XXXXXXXXXXXXXXXXXXXXXXXXXXX.  ",\r
+" .XXXXXXXXXXXXXXXXXXXXXXXXXXX.  ",\r
+" .XXXXXXXXXXXXXXXXXXXXXXXXXXX.  ",\r
+" .XXXXXXX.XXXXXXXXXXX.XXXXXXX.  ",\r
+"  .XXXXXX...XXXXXXX...XXXXXX.   ",\r
+"  .XXXXXX.oo..XXX..oo.XXXXXX.   ",\r
+"  .XXXXXXX.ooo...ooo.XXXXXXX.   ",\r
+"   .XXXXXXX.ooooooo.XXXXXXXX.   ",\r
+"   .XXXXXXXX..ooo..XXXXXXXX.    ",\r
+"    .XXXXXXXXX...XXXXXXXXX.     ",\r
+"     .XXXXXXXXXXXXXXXXXXXX.     ",\r
+"     ..XXXXXXXXXXXXXXXXX..      ",\r
+"       .XXXXXXXXXXXXXXX.        ",\r
+"        ..XXXXXXXXXXX..         ",\r
+"          ...XXXXX...           ",\r
+"             .....              ",\r
+"                                ",\r
+"                                "\r
+};\r