Optimize (for size) the cross_xpm used for the X button in wxMiniFrame. We use only 2 colors, so don't declare 16 of

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
This commit is contained in:
Mart Raudsepp 2006-02-04 12:39:23 +00:00
parent 9adb906369
commit 07d04e37fd

View 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)