icons fix for unix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bart A.M. Jourquin
2000-02-01 14:52:25 +00:00
parent c45a4560f8
commit dc8174d2a9
13 changed files with 320 additions and 314 deletions

View File

@@ -1,23 +1,23 @@
/* XPM */ /* XPM */
static char* COL_xpm[] = { static char* COL_xpm[] = {
"16 16 4 1", "16 16 4 1",
" c #000000", " c #000000",
"! c #000080", "! c #000080",
"# c #C0C0C0", "# c #C0C0C0",
"$ c #808080", "$ c #808080",
"$$$$$$$ $$$$", "$$$$$$$ $$$$",
"$######!!!!!### ", "$######!!!!!### ",
"$######!!!!!### ", "$######!!!!!### ",
"$######!!!!!### ", "$######!!!!!### ",
"$######!###!### ", "$######!###!### ",
"$# #!$$$!# # ", "$# #!$$$!# # ",
"$# ####! !### ", "$# ####! !### ",
"$# #! ! !# # ", "$# #! ! !# # ",
"$# ####! !### ", "$# ####! !### ",
"$# #! ! !# # ", "$# #! ! !# # ",
"$# ####! !### ", "$# ####! !### ",
"$# #! ! !# # ", "$# #! ! !# # ",
"$$$$$$#! !### ", "$$$$$$#! !### ",
" #! !# ", " #! !# ",
" #!!!!!# ", " #!!!!!# ",
" "}; " "};

View File

@@ -1,26 +1,26 @@
/* XPM */ /* XPM */
static char * DocClosed_xpm[] = { static char * DocClosed_xpm[] = {
/* width height ncolors chars_per_pixel */ /* width height ncolors chars_per_pixel */
"16 16 4 1", "16 16 4 1",
/* colors */ /* colors */
" s None c None", " s None c None",
". c #000000", ". c #000000",
"& c #ff0000", "& c #ff0000",
"+ c #ffffff", "+ c #ffffff",
/* pixels */ /* pixels */
" ", " ",
"........ ", "........ ",
".++++++.. ", ".++++++.. ",
".+.+.++.+. ", ".+.+.++.+. ",
".++++++.... ", ".++++++.... ",
".+.+.+++++.. ", ".+.+.+++++.. ",
".+++++++++.&. ", ".+++++++++.&. ",
".+.+.+.+.+.&&. ", ".+.+.+.+.+.&&. ",
".+++++++++.&&&. ", ".+++++++++.&&&. ",
".+.+.+.+.+.&&&. ", ".+.+.+.+.+.&&&. ",
".+++++++++.&&. ", ".+++++++++.&&. ",
".+.+.+.+.+.&. ", ".+.+.+.+.+.&. ",
".+++++++++.. ", ".+++++++++.. ",
"........... ", "........... ",
" ", " ",
" "}; " "};

View File

@@ -1,26 +1,26 @@
/* XPM */ /* XPM */
static char * DocOpen_xpm[] = { static char * DocOpen_xpm[] = {
/* width height ncolors chars_per_pixel */ /* width height ncolors chars_per_pixel */
"16 16 4 1", "16 16 4 1",
/* colors */ /* colors */
" s None c None", " s None c None",
". c #000000", ". c #000000",
"& c #00ff00", "& c #00ff00",
"+ c #ffffff", "+ c #ffffff",
/* pixels */ /* pixels */
" ", " ",
"........ ", "........ ",
".++++++.. ", ".++++++.. ",
".+.+.++.+. ", ".+.+.++.+. ",
".++++++.... ", ".++++++.... ",
".+.+.+++++.. ", ".+.+.+++++.. ",
".+++++++++.&. ", ".+++++++++.&. ",
".+.+.+.+.+.&&. ", ".+.+.+.+.+.&&. ",
".+++++++++.&&&. ", ".+++++++++.&&&. ",
".+.+.+.+.+.&&&. ", ".+.+.+.+.+.&&&. ",
".+++++++++.&&. ", ".+++++++++.&&. ",
".+.+.+.+.+.&. ", ".+.+.+.+.+.&. ",
".+++++++++.. ", ".+++++++++.. ",
"........... ", "........... ",
" ", " ",
" "}; " "};

View File

@@ -1,23 +1,23 @@
/* XPM */ /* XPM */
static char* DSN_xpm[] = { static char* DSN_xpm[] = {
"16 16 4 1", "16 16 4 1",
" c #000000", " c #000000",
"! c #C0C0C0", "! c #C0C0C0",
"# c #808080", "# c #808080",
"$ c #FFFF00", "$ c #FFFF00",
" # ####### ", " # ####### ",
" ###!#!!!!## ", " ###!#!!!!## ",
" #!#!!!!!!!!# ", " #!#!!!!!!!!# ",
"$## !!###!!!!# ", "$## !!###!!!!# ",
" # #!!!!!!!!# ", " # #!!!!!!!!# ",
" #!#!#!!!### ", " #!#!#!!!### ",
" $#!#!### ## ", " $#!#!### ## ",
" # $!!#### # ", " # $!!#### # ",
" # !### ## ", " # !### ## ",
" # !!!#### # ", " # !!!#### # ",
" # !### ## ", " # !### ## ",
" # !!!#### # ", " # !!!#### # ",
" # !### ## ", " # !### ## ",
" # !!!#### # ", " # !!!#### # ",
" ## !### ## ", " ## !### ## ",
" ######## "}; " ######## "};

View File

@@ -1,23 +1,23 @@
/* XPM */ /* XPM */
static char* DsnClosed_xpm[] = { static char* DsnClosed_xpm[] = {
"16 16 4 1", "16 16 4 1",
" c #000000", " c #000000",
"! c #C0C0C0", "! c #C0C0C0",
"# c #808080", "# c #808080",
"$ c #FF0000", "$ c #FF0000",
" $ $##$### ", " $ $##$### ",
" $#$!$!!!!## ", " $#$!$!!!!## ",
" #!$!!!!!!!!# ", " #!$!!!!!!!!# ",
"$$$ !!$$$!!!!# ", "$$$ !!$$$!!!!# ",
" # $!!!!!!!!# ", " # $!!!!!!!!# ",
" $!$!$!!!### ", " $!$!$!!!### ",
" $!!$!#!$ ## ", " $!!$!#!$ ## ",
" # $!!#### # ", " # $!!#### # ",
" # !### ## ", " # !### ## ",
" # !!!#### # ", " # !!!#### # ",
" # !### ## ", " # !### ## ",
" # !!!#### # ", " # !!!#### # ",
" # !### ## ", " # !### ## ",
" # !!!#### # ", " # !!!#### # ",
" ## !### ## ", " ## !### ## ",
" ######## "}; " ######## "};

View File

@@ -1,23 +1,23 @@
/* XPM */ /* XPM */
static char* DsnOpen_xpm[] = { static char* DsnOpen_xpm[] = {
"16 16 4 1", "16 16 4 1",
" c #000000", " c #000000",
"! c #C0C0C0", "! c #C0C0C0",
"# c #808080", "# c #808080",
"$ c #00FF00", "$ c #00FF00",
" $ $##$### ", " $ $##$### ",
" $#$!$!!!!## ", " $#$!$!!!!## ",
" #!$!!!!!!!!# ", " #!$!!!!!!!!# ",
"$$$ !!$$$!!!!# ", "$$$ !!$$$!!!!# ",
" # $!!!!!!!!# ", " # $!!!!!!!!# ",
" $!$!$!!!### ", " $!$!$!!!### ",
" $!!$!#!$ ## ", " $!!$!#!$ ## ",
" # $!!#### # ", " # $!!#### # ",
" # !### ## ", " # !### ## ",
" # !!!#### # ", " # !!!#### # ",
" # !### ## ", " # !### ## ",
" # !!!#### # ", " # !!!#### # ",
" # !### ## ", " # !### ## ",
" # !!!#### # ", " # !!!#### # ",
" ## !### ## ", " ## !### ## ",
" ######## "}; " ######## "};

View File

@@ -1,28 +1,28 @@
/* XPM */ /* XPM */
static char * FolderClosed_xpm[] = { static char * FolderClosed_xpm[] = {
/* width height ncolors chars_per_pixel */ /* width height ncolors chars_per_pixel */
"16 16 6 1", "16 16 6 1",
/* colors */ /* colors */
" s None c None", " s None c None",
". c #000000", ". c #000000",
"+ c #c0c0c0", "+ c #c0c0c0",
"@ c #808080", "@ c #808080",
"# c #ffff00", "# c #ffff00",
"$ c #ffffff", "$ c #ffffff",
/* pixels */ /* pixels */
" ", " ",
" @@@@@ ", " @@@@@ ",
" @#+#+#@ ", " @#+#+#@ ",
" @#+#+#+#@@@@@@ ", " @#+#+#+#@@@@@@ ",
" @$$$$$$$$$$$$@.", " @$$$$$$$$$$$$@.",
" @$#+#+#+#+#+#@.", " @$#+#+#+#+#+#@.",
" @$+#+#+#+#+#+@.", " @$+#+#+#+#+#+@.",
" @$#+#+#+#+#+#@.", " @$#+#+#+#+#+#@.",
" @$+#+#+#+#+#+@.", " @$+#+#+#+#+#+@.",
" @$#+#+#+#+#+#@.", " @$#+#+#+#+#+#@.",
" @$+#+#+#+#+#+@.", " @$+#+#+#+#+#+@.",
" @$#+#+#+#+#+#@.", " @$#+#+#+#+#+#@.",
" @@@@@@@@@@@@@@.", " @@@@@@@@@@@@@@.",
" ..............", " ..............",
" ", " ",
" "}; " "};

View File

@@ -1,28 +1,28 @@
/* XPM */ /* XPM */
static char * FolderOpen_xpm[] = { static char * FolderOpen_xpm[] = {
/* width height ncolors chars_per_pixel */ /* width height ncolors chars_per_pixel */
"16 16 6 1", "16 16 6 1",
/* colors */ /* colors */
" s None c None", " s None c None",
". c #000000", ". c #000000",
"+ c #c0c0c0", "+ c #c0c0c0",
"@ c #808080", "@ c #808080",
"# c #ffff00", "# c #ffff00",
"$ c #ffffff", "$ c #ffffff",
/* pixels */ /* pixels */
" ", " ",
" @@@@@ ", " @@@@@ ",
" @$$$$$@ ", " @$$$$$@ ",
" @$#+#+#$@@@@@@ ", " @$#+#+#$@@@@@@ ",
" @$+#+#+$$$$$$@.", " @$+#+#+$$$$$$@.",
" @$#+#+#+#+#+#@.", " @$#+#+#+#+#+#@.",
"@@@@@@@@@@@@@#@.", "@@@@@@@@@@@@@#@.",
"@$$$$$$$$$$@@+@.", "@$$$$$$$$$$@@+@.",
"@$#+#+#+#+##.@@.", "@$#+#+#+#+##.@@.",
" @$#+#+#+#+#+.@.", " @$#+#+#+#+#+.@.",
" @$+#+#+#+#+#.@.", " @$+#+#+#+#+#.@.",
" @$+#+#+#+##@..", " @$+#+#+#+##@..",
" @@@@@@@@@@@@@.", " @@@@@@@@@@@@@.",
" .............", " .............",
" ", " ",
" "}; " "};

View File

@@ -1,26 +1,26 @@
/* XPM */ /* XPM */
static char* XpmKEY_xpm[] = { static char* KEY_xpm[] = {
"16 16 7 1", "16 16 7 1",
" c #000000", " c #000000",
"! c #008000", "! c #008000",
"# c #808000", "# c #808000",
"$ c #000080", "$ c #000080",
"% c #C0C0C0", "% c #C0C0C0",
"& c #808080", "& c #808080",
"' c #FFFF00", "' c #FFFF00",
" && ", " && ",
" ## #&% ", " ## #&% ",
" #'& $'#& ", " #'& $'#& ",
"#''& $'#% ", "#''& $'#% ",
"#''& %'#& ", "#''& %'#& ",
" #'''''%#% ", " #'''''%#% ",
" ##%%%'#% ", " ##%%%'#% ",
" #%'# ", " #%'# ",
" #'#& !!!!! ", " #'#& !!!!! ",
" %#'## !!!!! ", " %#'## !!!!! ",
" ###& !! !! ", " ###& !! !! ",
" #'## !!!!! ", " #'## !!!!! ",
" ###& !!!! ", " ###& !!!! ",
" #'#& !! ", " #'#& !! ",
" #%#& !!!! ", " #%#& !!!! ",
" &% "}; " &% "};

View File

@@ -1,26 +1,26 @@
/* XPM */ /* XPM */
static char* XpmKEYF_xpm[] = { static char* KEYF_xpm[] = {
"16 16 7 1", "16 16 7 1",
" c #000000", " c #000000",
"! c #808000", "! c #808000",
"# c #000080", "# c #000080",
"$ c #C0C0C0", "$ c #C0C0C0",
"% c #808080", "% c #808080",
"& c #FFFF00", "& c #FFFF00",
"' c #0000FF", "' c #0000FF",
" %% ", " %% ",
" !! !%$ ", " !! !%$ ",
" !&% #&!% ", " !&% #&!% ",
"!&&% #&!$ ", "!&&% #&!$ ",
"!&&% $&!% ", "!&&% $&!% ",
" !&&&&&$!$ ", " !&&&&&$!$ ",
" !!$$$&!$ ", " !!$$$&!$ ",
" !$&!$ ", " !$&!$ ",
" !&!% '''''' ", " !&!% '''''' ",
" $!&!! '' ' ", " $!&!! '' ' ",
" !!!% '' ", " !!!% '' ",
" !&!! ''' ", " !&!! ''' ",
" !!!% '' ", " !!!% '' ",
" !&!% '' ", " !&!% '' ",
" !$!% '''' ", " !$!% '''' ",
" %$ "}; " %$ "};

View File

@@ -1,27 +1,27 @@
/* XPM */ /* XPM */
static char * PgmCtrl_xpm[] = { static char * PgmCtrl_xpm[] = {
/* width height ncolors chars_per_pixel */ /* width height ncolors chars_per_pixel */
"16 16 5 1", "16 16 5 1",
/* colors */ /* colors */
" s None c None", " s None c None",
". c #000000", ". c #000000",
"+ c #ff0000", "+ c #ff0000",
"@ c #0000ff", "@ c #0000ff",
"# c #ffffff", "# c #ffffff",
/* pixels */ /* pixels */
" ", " ",
" ", " ",
" ########## ", " ########## ",
" #........# ", " #........# ",
" #........# ", " #........# ",
" #........# ", " #........# ",
" #..########### ", " #..########### ",
" #..#+++++++++# ", " #..#+++++++++# ",
" ####++#####++# ", " ####++#####++# ",
" #+#@@@@@#+# ", " #+#@@@@@#+# ",
" #+#@@@@@#+# ", " #+#@@@@@#+# ",
" #+#@@@@@#+# ", " #+#@@@@@#+# ",
" #++#####++# ", " #++#####++# ",
" #+++++++++# ", " #+++++++++# ",
" ########### ", " ########### ",
" "}; " "};

View File

@@ -1,26 +1,26 @@
/* XPM */ /* XPM */
static char* TAB[] = { static char* TAB_xpm[] = {
"16 16 7 1", "16 16 7 1",
" c #000000", " c #000000",
"! c #800080", "! c #800080",
"# c #008080", "# c #008080",
"$ c #C0C0C0", "$ c #C0C0C0",
"% c #808080", "% c #808080",
"& c #0000FF", "& c #0000FF",
"' c #00FFFF", "' c #00FFFF",
" ", " ",
" ", " ",
"!!!!!!!!!!!!!!!!", "!!!!!!!!!!!!!!!!",
"!&&&&&&&&&&&&&&!", "!&&&&&&&&&&&&&&!",
"!!!!!!!!!!!!!!!!", "!!!!!!!!!!!!!!!!",
"!'$'#$'$$$#$$$$!", "!'$'#$'$$$#$$$$!",
"!$'$#'$$$$#$$$$!", "!$'$#'$$$$#$$$$!",
"!##############!", "!##############!",
"!$'$#$$$$$#$$%$!", "!$'$#$$$$$#$$%$!",
"!'$$#$$$$$#$%$%!", "!'$$#$$$$$#$%$%!",
"!##############!", "!##############!",
"!$$$#$$%$$#%%%%!", "!$$$#$$%$$#%%%%!",
"!$$%#$%$%%#%%%%!", "!$$%#$%$%%#%%%%!",
"!!!!!!!!!!!!!!!!", "!!!!!!!!!!!!!!!!",
" ", " ",
" "}; " "};

View File

@@ -68,7 +68,19 @@ DBTree::DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const w
p_imageListNormal = new wxImageList(16, 16, TRUE); p_imageListNormal = new wxImageList(16, 16, TRUE);
// should correspond to TreeIc_xxx enum // should correspond to TreeIc_xxx enum
#if defined(__WXMSW__)
#if !defined(__WXMSW__)
#include "bitmaps/logo.xpm"
#include "bitmaps/dsnclose.xpm"
#include "bitmaps/dsnopen.xpm"
#include "bitmaps/tab.xpm"
#include "bitmaps/key.xpm"
#include "bitmaps/keyf.xpm"
#include "bitmaps/d_open.xpm"
#include "bitmaps/d_closed.xpm"
#include "bitmaps/col.xpm"
#endif
p_imageListNormal->Add(wxICON(Logo)); p_imageListNormal->Add(wxICON(Logo));
p_imageListNormal->Add(wxICON(DsnClosed)); p_imageListNormal->Add(wxICON(DsnClosed));
p_imageListNormal->Add(wxICON(DsnOpen)); p_imageListNormal->Add(wxICON(DsnOpen));
@@ -78,16 +90,10 @@ DBTree::DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const w
p_imageListNormal->Add(wxICON(KEYF)); p_imageListNormal->Add(wxICON(KEYF));
p_imageListNormal->Add(wxICON(DocOpen)); p_imageListNormal->Add(wxICON(DocOpen));
p_imageListNormal->Add(wxICON(DocOpen)); p_imageListNormal->Add(wxICON(DocOpen));
#else
#include "bitmaps/logo.xpm"
#include "bitmaps/dsnclose.xpm"
#include "bitmaps/dsnopen.xpm"
#include "bitmaps/tab.xpm"
#include "bitmaps/key.xpm"
#include "bitmaps/keyf.xpm"
#include "bitmaps/d_open.xpm"
#include "bitmaps/d_closed.xpm"
#endif
SetImageList(p_imageListNormal); SetImageList(p_imageListNormal);
ct_BrowserDB = NULL; ct_BrowserDB = NULL;