]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/controls/icons/combo.xpm
Check for null pointers
[wxWidgets.git] / samples / controls / icons / combo.xpm
index 6a72bcbd118307941bc774511f294bbcc5b20f03..554d2a2a081502881866e85799caecb52ac6dcd0 100644 (file)
@@ -1,53 +1,27 @@
 /* XPM */
 static char * combo_xpm[] = {
-"64 48 2 1",
-"      c #FFFFFFFFFFFF",
-".     c #3B3BFAFA3434",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                             ..                                 ",
-"                              .                                 ",
-"                              .            .                    ",
-"          ..    ..  . .. ..   ...    ..    .                    ",
-"         .  .  .  .  .  .  .  .  .  .  .   .                    ",
-"         .     .  .  .  .  .  .  .  .  .   .                    ",
-"         .     .  .  .  .  .  .  .  .  .   .                    ",
-"         .  .  .  .  .  .  .  .  .  .  .   .                    ",
-"          ..    ..  ... .. .. ...    ..    .                    ",
-"                                                                ",
-"                                           .                    ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"         .....  .....  .....  .....  .....  .....               ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                ",
-"                                                                "};
+/* width height ncolors chars_per_pixel */
+"16 16 5 1",
+/* colors */
+"      s None  c None",
+".     c #000000",
+"+     c #c0c0c0",
+"@     c #808080",
+"#     c #ffffff",
+/* pixels */
+"@@@@@@@@@@@@@@@@",
+"@..............@",
+"@....#####+++++@",
+"@.#.######.....@",
+"@.#.######+...+@",
+"@....#####++.++@",
+"@.+++++++++++++@",
+"@@@@@@@@@@@@@@@@",
+"  ##############",
+"  ..............",
+"  .#########+.+.",
+"  .#########....",
+"  .#########+++.",
+"  .#########....",
+"  .#########+.+.",
+"  .............."};