]> git.saurik.com Git - wxWidgets.git/commitdiff
Optimize (for size) the cross_xpm used for the X button in wxMiniFrame. We use only...
authorMart Raudsepp <leio@gentoo.org>
Sat, 4 Feb 2006 12:39:23 +0000 (12:39 +0000)
committerMart Raudsepp <leio@gentoo.org>
Sat, 4 Feb 2006 12:39:23 +0000 (12:39 +0000)
them. Also swap the characters used to make the X visible in source code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/minifram.cpp

index 27d3ec2e4ae2f9063bff887f6c3bec55362ad7ae..e31c8d0d608f456704ec56a2b740786eab9b53c5 100644 (file)
@@ -248,29 +248,15 @@ static void gtk_button_clicked_callback( GtkWidget *WXUNUSED(widget), wxMiniFram
 
 static const char *cross_xpm[] = {
 /* columns rows colors chars-per-pixel */
-"5 5 16 1",
-"  c Gray0",
-". c #bf0000",
-"X c #00bf00",
-"o c #bfbf00",
-"O c #0000bf",
-"+ c #bf00bf",
-"@ c #00bfbf",
-"# c None",
-"$ c #808080",
-"% c Red",
-"& c Green",
-"* c Yellow",
-"= c Blue",
-"- c Magenta",
-"; c Cyan",
-": c Gray100",
+"5 5 2 1",
+"# c Gray0",
+"  c None",
 /* pixels */
-" ### ",
-"# # #",
-"## ##",
-"# # #",
-" ### ",
+"#   #",
+" # # ",
+"  #  ",
+" # # ",
+"#   #",
 };
 
 IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame,wxFrame)