wxComboBox appearance fixes, looks fine now but doesn't really work under GTK
yet git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -250,6 +250,7 @@ public:
|
|||||||
|
|
||||||
// return the bitmaps to use for combobox button
|
// return the bitmaps to use for combobox button
|
||||||
virtual void GetComboBitmaps(wxBitmap *bmpNormal,
|
virtual void GetComboBitmaps(wxBitmap *bmpNormal,
|
||||||
|
wxBitmap *bmpFocus,
|
||||||
wxBitmap *bmpPressed,
|
wxBitmap *bmpPressed,
|
||||||
wxBitmap *bmpDisabled) = 0;
|
wxBitmap *bmpDisabled) = 0;
|
||||||
|
|
||||||
@@ -572,9 +573,11 @@ public:
|
|||||||
{ m_renderer->DrawMenuSeparator(dc, y, geomInfo); }
|
{ m_renderer->DrawMenuSeparator(dc, y, geomInfo); }
|
||||||
#endif
|
#endif
|
||||||
virtual void GetComboBitmaps(wxBitmap *bmpNormal,
|
virtual void GetComboBitmaps(wxBitmap *bmpNormal,
|
||||||
|
wxBitmap *bmpFocus,
|
||||||
wxBitmap *bmpPressed,
|
wxBitmap *bmpPressed,
|
||||||
wxBitmap *bmpDisabled)
|
wxBitmap *bmpDisabled)
|
||||||
{ m_renderer->GetComboBitmaps(bmpNormal, bmpPressed, bmpDisabled); }
|
{ m_renderer->GetComboBitmaps(bmpNormal, bmpFocus,
|
||||||
|
bmpPressed, bmpDisabled); }
|
||||||
|
|
||||||
virtual void AdjustSize(wxSize *size, const wxWindow *window)
|
virtual void AdjustSize(wxSize *size, const wxWindow *window)
|
||||||
{ m_renderer->AdjustSize(size, window); }
|
{ m_renderer->AdjustSize(size, window); }
|
||||||
|
@@ -1,37 +1,37 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *magick[] = {
|
static char *magick[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"16 15 16 1",
|
"16 15 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #808080",
|
"# c #808080",
|
||||||
"$ c #c0c0c0",
|
"$ c none",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
" ",
|
" ",
|
||||||
" $$$$$$$$$$$$$$ ",
|
" $$$$$$$$$$$$$$ ",
|
||||||
" $$$# #$$$# #$ ",
|
" $$$# #$$$# #$ ",
|
||||||
" $$$ $ $$$ $$ $ ",
|
" $$$ $ $$$ $$ $ ",
|
||||||
" $# $ $$$ $$ $ ",
|
" $# $ $$$ $$ $ ",
|
||||||
" $ $ $ $# #$ ",
|
" $ $ $ $# #$ ",
|
||||||
" $ $ $ $ $$$$$ ",
|
" $ $ $ $ $$$$$ ",
|
||||||
" $# $$ $ $$$$$ ",
|
" $# $$ $ $$$$$ ",
|
||||||
" $ $ ",
|
" $ $ ",
|
||||||
" $$$ $$ $$$$$$$ ",
|
" $$$ $$ $$$$$$$ ",
|
||||||
" $$$ $ $$ $ $ ",
|
" $$$ $ $$ $ $ ",
|
||||||
" $$$ $ $ $$ $$$ ",
|
" $$$ $ $ $$ $$$ ",
|
||||||
" $$ $ $$$ ",
|
" $$ $ $$$ ",
|
||||||
" $ $$$$$$$$$ ",
|
" $ $$$$$$$$$ ",
|
||||||
" "
|
" "
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *button_xpm[] = {
|
static char *button_xpm[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"##### #####",
|
"##### #####",
|
||||||
"#### :::::::::::::::::::::: ####",
|
"#### :::::::::::::::::::::: ####",
|
||||||
"### :::::::::::::::::::::::$ ###",
|
"### :::::::::::::::::::::::$ ###",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"## ::######################$$ ##",
|
"## ::######################$$ ##",
|
||||||
"### $$$$$$$$$$$$$$$$$$$$$$$$ ###",
|
"### $$$$$$$$$$$$$$$$$$$$$$$$ ###",
|
||||||
"#### $$$$$$$$$$$$$$$$$$$$$$ ####",
|
"#### $$$$$$$$$$$$$$$$$$$$$$ ####",
|
||||||
"##### #####",
|
"##### #####",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *checkbox_xpm[] = {
|
static char *checkbox_xpm[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"#####$$$$$$$$$$$$$$$$$$$$$$#####",
|
"#####$$$$$$$$$$$$$$$$$$$$$$#####",
|
||||||
"####$ #:####",
|
"####$ #:####",
|
||||||
"####$ ::::::::::::::::::::#:####",
|
"####$ ::::::::::::::::::::#:####",
|
||||||
"####$ ::::::::::::::::::::#:####",
|
"####$ ::::::::::::::::::::#:####",
|
||||||
"####$ ::::::::::::::::::::#:####",
|
"####$ ::::::::::::::::::::#:####",
|
||||||
"####$ ::: :::::::::: :::#:####",
|
"####$ ::: :::::::::: :::#:####",
|
||||||
"####$ ::: :::::::: :::#:####",
|
"####$ ::: :::::::: :::#:####",
|
||||||
"####$ :::: :::::: ::::#:####",
|
"####$ :::: :::::: ::::#:####",
|
||||||
"####$ ::::: :::: :::::#:####",
|
"####$ ::::: :::: :::::#:####",
|
||||||
"####$ :::::: :: ::::::#:####",
|
"####$ :::::: :: ::::::#:####",
|
||||||
"####$ ::::::: :::::::#:####",
|
"####$ ::::::: :::::::#:####",
|
||||||
"####$ :::::::: ::::::::#:####",
|
"####$ :::::::: ::::::::#:####",
|
||||||
"####$ :::::::: ::::::::#:####",
|
"####$ :::::::: ::::::::#:####",
|
||||||
"####$ ::::::: :::::::#:####",
|
"####$ ::::::: :::::::#:####",
|
||||||
"####$ :::::: :: ::::::#:####",
|
"####$ :::::: :: ::::::#:####",
|
||||||
"####$ ::::: :::: :::::#:####",
|
"####$ ::::: :::: :::::#:####",
|
||||||
"####$ :::: :::::: ::::#:####",
|
"####$ :::: :::::: ::::#:####",
|
||||||
"####$ ::: :::::::: :::#:####",
|
"####$ ::: :::::::: :::#:####",
|
||||||
"####$ ::: :::::::::: :::#:####",
|
"####$ ::: :::::::::: :::#:####",
|
||||||
"####$ ::::::::::::::::::::#:####",
|
"####$ ::::::::::::::::::::#:####",
|
||||||
"####$ ::::::::::::::::::::#:####",
|
"####$ ::::::::::::::::::::#:####",
|
||||||
"####$ ::::::::::::::::::::#:####",
|
"####$ ::::::::::::::::::::#:####",
|
||||||
"####$ #####################:####",
|
"####$ #####################:####",
|
||||||
"#####::::::::::::::::::::::#####",
|
"#####::::::::::::::::::::::#####",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *combobox_xpm[] = {
|
static char *combobox_xpm[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"## ##",
|
"## ##",
|
||||||
"## ################ ##",
|
"## ################ ##",
|
||||||
"## ################ ##### ##",
|
"## ################ ##### ##",
|
||||||
"## ################ ### ##",
|
"## ################ ### ##",
|
||||||
"## ################ # ##",
|
"## ################ # ##",
|
||||||
"## ################ ##",
|
"## ################ ##",
|
||||||
"## ##",
|
"## ##",
|
||||||
"#### ############## ######### ##",
|
"#### ############## ######### ##",
|
||||||
"#### ############## ######### ##",
|
"#### ############## ######### ##",
|
||||||
"#### ############## #### #### ##",
|
"#### ############## #### #### ##",
|
||||||
"#### ############## ### ### ##",
|
"#### ############## ### ### ##",
|
||||||
"#### ## ##### ## ## ##",
|
"#### ## ##### ## ## ##",
|
||||||
"#### ############## ######### ##",
|
"#### ############## ######### ##",
|
||||||
"#### ## #### ######### ##",
|
"#### ## #### ######### ##",
|
||||||
"#### ############## ######### ##",
|
"#### ############## ######### ##",
|
||||||
"#### ## ### ##",
|
"#### ## ### ##",
|
||||||
"#### ############## ######### ##",
|
"#### ############## ######### ##",
|
||||||
"#### ## #### ######### ##",
|
"#### ## #### ######### ##",
|
||||||
"#### ############## ######### ##",
|
"#### ############## ######### ##",
|
||||||
"#### ## ##### ## ## ##",
|
"#### ## ##### ## ## ##",
|
||||||
"#### ############## ### ### ##",
|
"#### ############## ### ### ##",
|
||||||
"#### ## #### #### #### ##",
|
"#### ## #### #### #### ##",
|
||||||
"#### ############## ######### ##",
|
"#### ############## ######### ##",
|
||||||
"#### ############## ######### ##",
|
"#### ############## ######### ##",
|
||||||
"#### ############## ######### ##",
|
"#### ############## ######### ##",
|
||||||
"#### ##",
|
"#### ##",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *gauge_xpm[] = {
|
static char *gauge_xpm[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"## ##",
|
"## ##",
|
||||||
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
||||||
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
||||||
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
||||||
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
||||||
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
||||||
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
||||||
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
||||||
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
||||||
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
||||||
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
||||||
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
"## $$$$ $$$$$ $$$$$ :::: :::: ##",
|
||||||
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
||||||
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
||||||
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
"## $$$$$$$$$$$$$$$$$::::::::: ##",
|
||||||
"## ##",
|
"## ##",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *listbox_xpm[] = {
|
static char *listbox_xpm[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"### ###",
|
"### ###",
|
||||||
"### ############## ######### ###",
|
"### ############## ######### ###",
|
||||||
"### ############## ######### ###",
|
"### ############## ######### ###",
|
||||||
"### ############## #### #### ###",
|
"### ############## #### #### ###",
|
||||||
"### ############## ### ### ###",
|
"### ############## ### ### ###",
|
||||||
"### ## ##### ## ## ###",
|
"### ## ##### ## ## ###",
|
||||||
"### ############## ######### ###",
|
"### ############## ######### ###",
|
||||||
"### ## #### ######### ###",
|
"### ## #### ######### ###",
|
||||||
"### ############## ######### ###",
|
"### ############## ######### ###",
|
||||||
"### ## ### ###",
|
"### ## ### ###",
|
||||||
"### ############## ######### ###",
|
"### ############## ######### ###",
|
||||||
"### ## #### ######### ###",
|
"### ## #### ######### ###",
|
||||||
"### ############## ######### ###",
|
"### ############## ######### ###",
|
||||||
"### ## ##### ## ## ###",
|
"### ## ##### ## ## ###",
|
||||||
"### ############## ### ### ###",
|
"### ############## ### ### ###",
|
||||||
"### ## #### #### #### ###",
|
"### ## #### #### #### ###",
|
||||||
"### ############## ######### ###",
|
"### ############## ######### ###",
|
||||||
"### ############## ######### ###",
|
"### ############## ######### ###",
|
||||||
"### ############## ######### ###",
|
"### ############## ######### ###",
|
||||||
"### ###",
|
"### ###",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *notebook_xpm[] = {
|
static char *notebook_xpm[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"### # # ###",
|
"### # # ###",
|
||||||
"## :::::::$ :::::::$ :::::::$ ##",
|
"## :::::::$ :::::::$ :::::::$ ##",
|
||||||
"## :######$ :######$ :######$ ##",
|
"## :######$ :######$ :######$ ##",
|
||||||
"## :######$ :######$ :######$ ##",
|
"## :######$ :######$ :######$ ##",
|
||||||
"## :######$ ##",
|
"## :######$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## :########################$ ##",
|
"## :########################$ ##",
|
||||||
"## $$$$$$$$$$$$$$$$$$$$$$$$$$ ##",
|
"## $$$$$$$$$$$$$$$$$$$$$$$$$$ ##",
|
||||||
"## ##",
|
"## ##",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *radio_xpm[] = {
|
static char *radio_xpm[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"###########$$$$$$$$$#:##########",
|
"###########$$$$$$$$$#:##########",
|
||||||
"#########$$$ $$#:#########",
|
"#########$$$ $$#:#########",
|
||||||
"########$$ $:::::: $::########",
|
"########$$ $:::::: $::########",
|
||||||
"#######$$ :::::::::::#$::#######",
|
"#######$$ :::::::::::#$::#######",
|
||||||
"######$$ :::::::::::::#$::######",
|
"######$$ :::::::::::::#$::######",
|
||||||
"#####$$ :::::::::::::::#$::#####",
|
"#####$$ :::::::::::::::#$::#####",
|
||||||
"####$$ ::::::#####::::::#$:#####",
|
"####$$ ::::::#####::::::#$:#####",
|
||||||
"####$ $:::::$ $#:::::$#:####",
|
"####$ $:::::$ $#:::::$#:####",
|
||||||
"###$$ :::::$ $#::::$#:####",
|
"###$$ :::::$ $#::::$#:####",
|
||||||
"###$ :::::$ $:::::$:####",
|
"###$ :::::$ $:::::$:####",
|
||||||
"###$ ::::: #::::$:####",
|
"###$ ::::: #::::$:####",
|
||||||
"###$ ::::: #::::$:####",
|
"###$ ::::: #::::$:####",
|
||||||
"###$ ::::: #::::$:####",
|
"###$ ::::: #::::$:####",
|
||||||
"###$ ::::: #::::$:####",
|
"###$ ::::: #::::$:####",
|
||||||
"###$ ::::: #::::$:####",
|
"###$ ::::: #::::$:####",
|
||||||
"###$ :::::$ $:::::$:####",
|
"###$ :::::$ $:::::$:####",
|
||||||
"###$$ :::::$ $#::::$#:####",
|
"###$$ :::::$ $#::::$#:####",
|
||||||
"####$ ::::::$ $#:::::$#:####",
|
"####$ ::::::$ $#:::::$#:####",
|
||||||
"####$$#::::::#####::::::$#:#####",
|
"####$$#::::::#####::::::$#:#####",
|
||||||
"####:$$#:::::::::::::::$#:######",
|
"####:$$#:::::::::::::::$#:######",
|
||||||
"#####:$$$:::::::::::::$#:#######",
|
"#####:$$$:::::::::::::$#:#######",
|
||||||
"######:$$$:::::::::::$#:########",
|
"######:$$$:::::::::::$#:########",
|
||||||
"#######::$$$::::::$$$::#########",
|
"#######::$$$::::::$$$::#########",
|
||||||
"#########:$$$$$$$$$::###########",
|
"#########:$$$$$$$$$::###########",
|
||||||
"###########::::::::#############",
|
"###########::::::::#############",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *magick[] = {
|
static char *magick[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"## ###",
|
"## ###",
|
||||||
"## ############ ############ ###",
|
"## ############ ############ ###",
|
||||||
"## ############ ############ ###",
|
"## ############ ############ ###",
|
||||||
"## ############ ############ ###",
|
"## ############ ############ ###",
|
||||||
"## ####### #### #### ####### ###",
|
"## ####### #### #### ####### ###",
|
||||||
"## ###### #### #### ###### ###",
|
"## ###### #### #### ###### ###",
|
||||||
"## ##### #### #### ##### ###",
|
"## ##### #### #### ##### ###",
|
||||||
"## #### #### #### #### ###",
|
"## #### #### #### #### ###",
|
||||||
"## ### #### #### ### ###",
|
"## ### #### #### ### ###",
|
||||||
"## #### #### #### #### ###",
|
"## #### #### #### #### ###",
|
||||||
"## ##### #### #### ##### ###",
|
"## ##### #### #### ##### ###",
|
||||||
"## ###### #### #### ###### ###",
|
"## ###### #### #### ###### ###",
|
||||||
"## ####### #### #### ####### ###",
|
"## ####### #### #### ####### ###",
|
||||||
"## ############ ############ ###",
|
"## ############ ############ ###",
|
||||||
"## ############ ############ ###",
|
"## ############ ############ ###",
|
||||||
"## ############ ############ ###",
|
"## ############ ############ ###",
|
||||||
"## ###",
|
"## ###",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *slider_xpm[] = {
|
static char *slider_xpm[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"####### ###################",
|
"####### ###################",
|
||||||
"###### :::::$ ##################",
|
"###### :::::$ ##################",
|
||||||
"###### :####$ ##################",
|
"###### :####$ ##################",
|
||||||
"###### :####$ ##################",
|
"###### :####$ ##################",
|
||||||
"###### :####$ ##################",
|
"###### :####$ ##################",
|
||||||
"###### :####$ ##################",
|
"###### :####$ ##################",
|
||||||
"###### :####$ ##################",
|
"###### :####$ ##################",
|
||||||
"## :####$ ##",
|
"## :####$ ##",
|
||||||
"## $$$ :####$ $$$$$$$$$$$$$$$ ##",
|
"## $$$ :####$ $$$$$$$$$$$$$$$ ##",
|
||||||
"## ### :####$ ############### ##",
|
"## ### :####$ ############### ##",
|
||||||
"## ### :####$ ############### ##",
|
"## ### :####$ ############### ##",
|
||||||
"## ### :####$ ############### ##",
|
"## ### :####$ ############### ##",
|
||||||
"###### :####$ ##################",
|
"###### :####$ ##################",
|
||||||
"###### :####$ ##################",
|
"###### :####$ ##################",
|
||||||
"###### :$$$$$ ##################",
|
"###### :$$$$$ ##################",
|
||||||
"####### ###################",
|
"####### ###################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *statbox_xpm[] = {
|
static char *statbox_xpm[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"######## ### # ### # ########",
|
"######## ### # ### # ########",
|
||||||
"######## ### # ### #### ########",
|
"######## ### # ### #### ########",
|
||||||
"######### # ### # #### #########",
|
"######### # ### # #### #########",
|
||||||
"## #### ##### #### #### ##",
|
"## #### ##### #### #### ##",
|
||||||
"## ###### # #### ### ######## ##",
|
"## ###### # #### ### ######## ##",
|
||||||
"## ##### ### ### ### ######## ##",
|
"## ##### ### ### ### ######## ##",
|
||||||
"## ##### ### ### ### ##### ##",
|
"## ##### ### ### ### ##### ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ########################## ##",
|
"## ########################## ##",
|
||||||
"## ##",
|
"## ##",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *stattext_xpm[] = {
|
static char *stattext_xpm[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"############### ################",
|
"############### ################",
|
||||||
"############## ################",
|
"############## ################",
|
||||||
"############# ################",
|
"############# ################",
|
||||||
"############ ################",
|
"############ ################",
|
||||||
"###########$ ################",
|
"###########$ ################",
|
||||||
"##########$ # ################",
|
"##########$ # ################",
|
||||||
"########## ## ######## # #",
|
"########## ## ######## # #",
|
||||||
"######### ## ###### # ##",
|
"######### ## ###### # ##",
|
||||||
"########$ ### ###### ### ##",
|
"########$ ### ###### ### ##",
|
||||||
"#######$ #### ##### #### ##",
|
"#######$ #### ##### #### ##",
|
||||||
"####### ##### #### ### ##",
|
"####### ##### #### ### ##",
|
||||||
"######$ #### ### ###",
|
"######$ #### ### ###",
|
||||||
"#####$ ###### ### #### ###",
|
"#####$ ###### ### #### ###",
|
||||||
"####$ ####### ### ### ###",
|
"####$ ####### ### ### ###",
|
||||||
"#### ######## ### ### ####",
|
"#### ######## ### ### ####",
|
||||||
"### ######## ### ## ####",
|
"### ######## ### ## ####",
|
||||||
"## ######### ## # ##",
|
"## ######### ## # ##",
|
||||||
"# ##### # ## ###",
|
"# ##### # ## ###",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -1,54 +1,54 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char *text_xpm[] = {
|
static char *text_xpm[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 16 1",
|
"32 32 16 1",
|
||||||
" c Gray0",
|
" c Gray0",
|
||||||
". c #808000",
|
". c #808000",
|
||||||
"X c #000080",
|
"X c #000080",
|
||||||
"o c #808080",
|
"o c #808080",
|
||||||
"O c #000000",
|
"O c #000000",
|
||||||
"+ c #808000",
|
"+ c #808000",
|
||||||
"@ c #000080",
|
"@ c #000080",
|
||||||
"# c #c0c0c0",
|
"# c none",
|
||||||
"$ c #808080",
|
"$ c #808080",
|
||||||
"% c Red",
|
"% c Red",
|
||||||
"& c Green",
|
"& c Green",
|
||||||
"* c Yellow",
|
"* c Yellow",
|
||||||
"= c Blue",
|
"= c Blue",
|
||||||
"- c Magenta",
|
"- c Magenta",
|
||||||
"; c Cyan",
|
"; c Cyan",
|
||||||
": c Gray100",
|
": c Gray100",
|
||||||
/* pixels */
|
/* pixels */
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"############################ ###",
|
"############################ ###",
|
||||||
"############################ ###",
|
"############################ ###",
|
||||||
"############### ########## ###",
|
"############### ########## ###",
|
||||||
"############### ########## ###",
|
"############### ########## ###",
|
||||||
"############### ########## ###",
|
"############### ########## ###",
|
||||||
"############### ########## ###",
|
"############### ########## ###",
|
||||||
"############### ########## ###",
|
"############### ########## ###",
|
||||||
"############### ########## ###",
|
"############### ########## ###",
|
||||||
"#### ### #### ###",
|
"#### ### #### ###",
|
||||||
"### ##### ## #### ### ###",
|
"### ##### ## #### ### ###",
|
||||||
"### ##### ## #### ### ###",
|
"### ##### ## #### ### ###",
|
||||||
"###### ## #### ### ###",
|
"###### ## #### ### ###",
|
||||||
"#### ## #### ### ###",
|
"#### ## #### ### ###",
|
||||||
"### #### ## #### ### ###",
|
"### #### ## #### ### ###",
|
||||||
"### #### ## #### ### ###",
|
"### #### ## #### ### ###",
|
||||||
"### #### ## #### ### ###",
|
"### #### ## #### ### ###",
|
||||||
"### #### ## #### ### ###",
|
"### #### ## #### ### ###",
|
||||||
"### #### ## #### ### ###",
|
"### #### ## #### ### ###",
|
||||||
"### #### ## #### ### ###",
|
"### #### ## #### ### ###",
|
||||||
"#### ## #### ###",
|
"#### ## #### ###",
|
||||||
"############################ ###",
|
"############################ ###",
|
||||||
"############################ ###",
|
"############################ ###",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################",
|
"################################",
|
||||||
"################################"
|
"################################"
|
||||||
};
|
};
|
||||||
|
@@ -187,10 +187,17 @@ void wxPopupTransientWindow::Popup(wxWindow *winFocus)
|
|||||||
m_child = this;
|
m_child = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// we can't capture mouse before the window is shown in wxGTL
|
||||||
|
#ifdef __WXGTK__
|
||||||
|
Show();
|
||||||
|
#endif
|
||||||
|
|
||||||
m_child->CaptureMouse();
|
m_child->CaptureMouse();
|
||||||
m_child->PushEventHandler(new wxPopupWindowHandler(this));
|
m_child->PushEventHandler(new wxPopupWindowHandler(this));
|
||||||
|
|
||||||
|
#ifndef __WXGTK__
|
||||||
Show();
|
Show();
|
||||||
|
#endif
|
||||||
|
|
||||||
m_focus = winFocus ? winFocus : this;
|
m_focus = winFocus ? winFocus : this;
|
||||||
m_focus->PushEventHandler(new wxPopupFocusHandler(this));
|
m_focus->PushEventHandler(new wxPopupFocusHandler(this));
|
||||||
|
@@ -3743,15 +3743,13 @@ void wxWindowGTK::CaptureMouse()
|
|||||||
{
|
{
|
||||||
wxCHECK_RET( m_widget != NULL, wxT("invalid window") );
|
wxCHECK_RET( m_widget != NULL, wxT("invalid window") );
|
||||||
|
|
||||||
wxCHECK_RET( g_captureWindow == NULL, wxT("CaptureMouse called twice") );
|
|
||||||
|
|
||||||
GdkWindow *window = (GdkWindow*) NULL;
|
GdkWindow *window = (GdkWindow*) NULL;
|
||||||
if (m_wxwindow)
|
if (m_wxwindow)
|
||||||
window = GTK_PIZZA(m_wxwindow)->bin_window;
|
window = GTK_PIZZA(m_wxwindow)->bin_window;
|
||||||
else
|
else
|
||||||
window = GetConnectWidget()->window;
|
window = GetConnectWidget()->window;
|
||||||
|
|
||||||
if (!window) return;
|
wxCHECK_RET( window, _T("CaptureMouse() failed") );
|
||||||
|
|
||||||
wxCursor* cursor = & m_cursor;
|
wxCursor* cursor = & m_cursor;
|
||||||
if (!cursor->Ok())
|
if (!cursor->Ok())
|
||||||
@@ -3774,7 +3772,7 @@ void wxWindowGTK::ReleaseMouse()
|
|||||||
{
|
{
|
||||||
wxCHECK_RET( m_widget != NULL, wxT("invalid window") );
|
wxCHECK_RET( m_widget != NULL, wxT("invalid window") );
|
||||||
|
|
||||||
wxCHECK_RET( g_captureWindow, wxT("ReleaseMouse called twice") );
|
wxCHECK_RET( g_captureWindow, wxT("can't release mouse - not captured") );
|
||||||
|
|
||||||
GdkWindow *window = (GdkWindow*) NULL;
|
GdkWindow *window = (GdkWindow*) NULL;
|
||||||
if (m_wxwindow)
|
if (m_wxwindow)
|
||||||
|
@@ -3743,15 +3743,13 @@ void wxWindowGTK::CaptureMouse()
|
|||||||
{
|
{
|
||||||
wxCHECK_RET( m_widget != NULL, wxT("invalid window") );
|
wxCHECK_RET( m_widget != NULL, wxT("invalid window") );
|
||||||
|
|
||||||
wxCHECK_RET( g_captureWindow == NULL, wxT("CaptureMouse called twice") );
|
|
||||||
|
|
||||||
GdkWindow *window = (GdkWindow*) NULL;
|
GdkWindow *window = (GdkWindow*) NULL;
|
||||||
if (m_wxwindow)
|
if (m_wxwindow)
|
||||||
window = GTK_PIZZA(m_wxwindow)->bin_window;
|
window = GTK_PIZZA(m_wxwindow)->bin_window;
|
||||||
else
|
else
|
||||||
window = GetConnectWidget()->window;
|
window = GetConnectWidget()->window;
|
||||||
|
|
||||||
if (!window) return;
|
wxCHECK_RET( window, _T("CaptureMouse() failed") );
|
||||||
|
|
||||||
wxCursor* cursor = & m_cursor;
|
wxCursor* cursor = & m_cursor;
|
||||||
if (!cursor->Ok())
|
if (!cursor->Ok())
|
||||||
@@ -3774,7 +3772,7 @@ void wxWindowGTK::ReleaseMouse()
|
|||||||
{
|
{
|
||||||
wxCHECK_RET( m_widget != NULL, wxT("invalid window") );
|
wxCHECK_RET( m_widget != NULL, wxT("invalid window") );
|
||||||
|
|
||||||
wxCHECK_RET( g_captureWindow, wxT("ReleaseMouse called twice") );
|
wxCHECK_RET( g_captureWindow, wxT("can't release mouse - not captured") );
|
||||||
|
|
||||||
GdkWindow *window = (GdkWindow*) NULL;
|
GdkWindow *window = (GdkWindow*) NULL;
|
||||||
if (m_wxwindow)
|
if (m_wxwindow)
|
||||||
|
@@ -152,7 +152,11 @@ wxSize wxButton::DoGetBestClientSize() const
|
|||||||
|
|
||||||
void wxButton::DoDraw(wxControlRenderer *renderer)
|
void wxButton::DoDraw(wxControlRenderer *renderer)
|
||||||
{
|
{
|
||||||
renderer->DrawButtonBorder();
|
if ( !(GetWindowStyle() & wxBORDER_NONE) )
|
||||||
|
{
|
||||||
|
renderer->DrawButtonBorder();
|
||||||
|
}
|
||||||
|
|
||||||
renderer->DrawLabel(m_bitmap, m_marginBmpX, m_marginBmpY);
|
renderer->DrawLabel(m_bitmap, m_marginBmpX, m_marginBmpY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -76,25 +76,35 @@ public:
|
|||||||
wxComboButton(wxComboControl *combo)
|
wxComboButton(wxComboControl *combo)
|
||||||
: wxBitmapButton(combo->GetParent(), -1, wxNullBitmap,
|
: wxBitmapButton(combo->GetParent(), -1, wxNullBitmap,
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
wxBORDER_NONE)
|
wxBORDER_NONE | wxBU_EXACTFIT)
|
||||||
{
|
{
|
||||||
m_combo = combo;
|
m_combo = combo;
|
||||||
|
|
||||||
wxBitmap bmpNormal, bmpPressed, bmpDisabled;
|
wxBitmap bmpNormal, bmpFocus, bmpPressed, bmpDisabled;
|
||||||
|
|
||||||
|
GetRenderer()->GetComboBitmaps(&bmpNormal,
|
||||||
|
&bmpFocus,
|
||||||
|
&bmpPressed,
|
||||||
|
&bmpDisabled);
|
||||||
|
|
||||||
GetRenderer()->GetComboBitmaps(&bmpNormal, &bmpPressed, &bmpDisabled);
|
|
||||||
SetBitmapLabel(bmpNormal);
|
SetBitmapLabel(bmpNormal);
|
||||||
SetBitmapFocus(bmpNormal);
|
SetBitmapFocus(bmpFocus.Ok() ? bmpFocus : bmpNormal);
|
||||||
SetBitmapSelected(bmpPressed);
|
SetBitmapSelected(bmpPressed.Ok() ? bmpPressed : bmpNormal);
|
||||||
SetBitmapDisabled(bmpDisabled);
|
SetBitmapDisabled(bmpDisabled.Ok() ? bmpDisabled : bmpNormal);
|
||||||
|
|
||||||
SetSize(bmpNormal.GetWidth(), bmpNormal.GetHeight());
|
SetBestSize(wxDefaultSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void OnButton(wxCommandEvent& event) { m_combo->ShowPopup(); }
|
void OnButton(wxCommandEvent& event) { m_combo->ShowPopup(); }
|
||||||
|
|
||||||
virtual wxSize DoGetBestSize() const { return GetSize(); }
|
virtual wxSize DoGetBestClientSize() const
|
||||||
|
{
|
||||||
|
const wxBitmap& bmp = GetBitmapLabel();
|
||||||
|
|
||||||
|
return wxSize(bmp.GetWidth(), bmp.GetHeight());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wxComboControl *m_combo;
|
wxComboControl *m_combo;
|
||||||
@@ -241,7 +251,8 @@ bool wxComboControl::Create(wxWindow *parent,
|
|||||||
m_heightPopup = size.y - DoGetBestSize().y;
|
m_heightPopup = size.y - DoGetBestSize().y;
|
||||||
}
|
}
|
||||||
|
|
||||||
DoSetSize(pos.x, pos.y, size.x, size.y);
|
SetBestSize(size);
|
||||||
|
Move(pos);
|
||||||
|
|
||||||
// create the popup window immediately here to allow creating the controls
|
// create the popup window immediately here to allow creating the controls
|
||||||
// with parent == GetPopupWindow() from the derived class ctor
|
// with parent == GetPopupWindow() from the derived class ctor
|
||||||
@@ -300,7 +311,7 @@ void wxComboControl::DoMoveWindow(int x, int y, int width, int height)
|
|||||||
width -= rectBorders.x + rectBorders.width;
|
width -= rectBorders.x + rectBorders.width;
|
||||||
height -= rectBorders.y + rectBorders.height;
|
height -= rectBorders.y + rectBorders.height;
|
||||||
|
|
||||||
wxSize sizeBtn = m_btn->GetSize();
|
wxSize sizeBtn = m_btn->GetBestSize();
|
||||||
|
|
||||||
wxCoord wText = width - sizeBtn.x;
|
wxCoord wText = width - sizeBtn.x;
|
||||||
m_text->SetSize(x, y, wText, height);
|
m_text->SetSize(x, y, wText, height);
|
||||||
|
@@ -30,6 +30,7 @@
|
|||||||
#include "wx/dcmemory.h"
|
#include "wx/dcmemory.h"
|
||||||
#include "wx/window.h"
|
#include "wx/window.h"
|
||||||
|
|
||||||
|
#include "wx/bmpbuttn.h"
|
||||||
#include "wx/button.h"
|
#include "wx/button.h"
|
||||||
#include "wx/checkbox.h"
|
#include "wx/checkbox.h"
|
||||||
#include "wx/listbox.h"
|
#include "wx/listbox.h"
|
||||||
@@ -52,7 +53,7 @@
|
|||||||
// constants (to be removed, for testing only)
|
// constants (to be removed, for testing only)
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
static const size_t BORDER_THICKNESS = 10;
|
static const size_t BORDER_THICKNESS = 2;
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxGTKRenderer: draw the GUI elements in GTK style
|
// wxGTKRenderer: draw the GUI elements in GTK style
|
||||||
@@ -857,7 +858,7 @@ void wxGTKRenderer::DrawBorder(wxDC& dc,
|
|||||||
switch ( border )
|
switch ( border )
|
||||||
{
|
{
|
||||||
case wxBORDER_SUNKEN:
|
case wxBORDER_SUNKEN:
|
||||||
for ( width = 0; width < BORDER_THICKNESS; width++ )
|
for ( width = 0; width < BORDER_THICKNESS / 2; width++ )
|
||||||
{
|
{
|
||||||
DrawAntiShadedRect(dc, &rect, m_penDarkGrey, m_penHighlight);
|
DrawAntiShadedRect(dc, &rect, m_penDarkGrey, m_penHighlight);
|
||||||
DrawShadedRect(dc, &rect, m_penBlack, m_penLightGrey);
|
DrawShadedRect(dc, &rect, m_penBlack, m_penLightGrey);
|
||||||
@@ -865,24 +866,33 @@ void wxGTKRenderer::DrawBorder(wxDC& dc,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case wxBORDER_STATIC:
|
case wxBORDER_STATIC:
|
||||||
DrawShadedRect(dc, &rect, m_penDarkGrey, m_penHighlight);
|
for ( width = 0; width < BORDER_THICKNESS / 2; width++ )
|
||||||
|
{
|
||||||
|
DrawShadedRect(dc, &rect, m_penDarkGrey, m_penHighlight);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case wxBORDER_RAISED:
|
case wxBORDER_RAISED:
|
||||||
for ( width = 0; width < BORDER_THICKNESS; width++ )
|
for ( width = 0; width < BORDER_THICKNESS / 2; width++ )
|
||||||
{
|
{
|
||||||
DrawRaisedBorder(dc, &rect);
|
DrawRaisedBorder(dc, &rect);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case wxBORDER_DOUBLE:
|
case wxBORDER_DOUBLE:
|
||||||
DrawShadedRect(dc, &rect, m_penLightGrey, m_penBlack);
|
for ( width = 0; width < BORDER_THICKNESS / 3; width++ )
|
||||||
DrawShadedRect(dc, &rect, m_penHighlight, m_penDarkGrey);
|
{
|
||||||
DrawRect(dc, &rect, m_penLightGrey);
|
DrawShadedRect(dc, &rect, m_penLightGrey, m_penBlack);
|
||||||
|
DrawShadedRect(dc, &rect, m_penHighlight, m_penDarkGrey);
|
||||||
|
DrawRect(dc, &rect, m_penLightGrey);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case wxBORDER_SIMPLE:
|
case wxBORDER_SIMPLE:
|
||||||
DrawRect(dc, &rect, m_penBlack);
|
for ( width = 0; width < BORDER_THICKNESS; width++ )
|
||||||
|
{
|
||||||
|
DrawRect(dc, &rect, m_penBlack);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@@ -910,11 +920,11 @@ wxRect wxGTKRenderer::GetBorderDimensions(wxBorder border) const
|
|||||||
|
|
||||||
case wxBORDER_SIMPLE:
|
case wxBORDER_SIMPLE:
|
||||||
case wxBORDER_STATIC:
|
case wxBORDER_STATIC:
|
||||||
width = 1;
|
width = BORDER_THICKNESS;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case wxBORDER_DOUBLE:
|
case wxBORDER_DOUBLE:
|
||||||
width = 3;
|
width = 3*BORDER_THICKNESS;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@@ -954,15 +964,18 @@ void wxGTKRenderer::DrawTextBorder(wxDC& dc,
|
|||||||
{
|
{
|
||||||
wxRect rect = rectOrig;
|
wxRect rect = rectOrig;
|
||||||
|
|
||||||
if ( flags & wxCONTROL_FOCUSED )
|
for ( size_t width = 0; width < BORDER_THICKNESS / 2; width++ )
|
||||||
{
|
{
|
||||||
DrawRect(dc, &rect, m_penBlack);
|
if ( flags & wxCONTROL_FOCUSED )
|
||||||
DrawAntiShadedRect(dc, &rect, m_penDarkGrey, m_penHighlight);
|
{
|
||||||
}
|
DrawRect(dc, &rect, m_penBlack);
|
||||||
else // !focused
|
DrawAntiShadedRect(dc, &rect, m_penDarkGrey, m_penHighlight);
|
||||||
{
|
}
|
||||||
DrawAntiShadedRect(dc, &rect, m_penDarkGrey, m_penHighlight);
|
else // !focused
|
||||||
DrawAntiShadedRect(dc, &rect, m_penBlack, m_penHighlight);
|
{
|
||||||
|
DrawAntiShadedRect(dc, &rect, m_penDarkGrey, m_penHighlight);
|
||||||
|
DrawAntiShadedRect(dc, &rect, m_penBlack, m_penHighlight);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( rectIn )
|
if ( rectIn )
|
||||||
@@ -980,8 +993,12 @@ void wxGTKRenderer::DrawButtonBorder(wxDC& dc,
|
|||||||
{
|
{
|
||||||
// button pressed: draw a black border around it and an inward shade
|
// button pressed: draw a black border around it and an inward shade
|
||||||
DrawRect(dc, &rect, m_penBlack);
|
DrawRect(dc, &rect, m_penBlack);
|
||||||
DrawAntiShadedRect(dc, &rect, m_penDarkGrey, m_penHighlight);
|
|
||||||
DrawAntiShadedRect(dc, &rect, m_penBlack, m_penDarkGrey);
|
for ( size_t width = 0; width < BORDER_THICKNESS / 2; width++ )
|
||||||
|
{
|
||||||
|
DrawAntiShadedRect(dc, &rect, m_penDarkGrey, m_penHighlight);
|
||||||
|
DrawAntiShadedRect(dc, &rect, m_penBlack, m_penDarkGrey);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -999,10 +1016,13 @@ void wxGTKRenderer::DrawButtonBorder(wxDC& dc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// now draw a normal button
|
// now draw a normal button
|
||||||
DrawShadedRect(dc, &rect, m_penHighlight, m_penBlack);
|
for ( size_t width = 0; width < BORDER_THICKNESS / 2; width++ )
|
||||||
DrawAntiShadedRect(dc, &rect,
|
{
|
||||||
wxPen(GetBackgroundColour(flags), 0, wxSOLID),
|
DrawShadedRect(dc, &rect, m_penHighlight, m_penBlack);
|
||||||
m_penDarkGrey);
|
DrawAntiShadedRect(dc, &rect,
|
||||||
|
wxPen(GetBackgroundColour(flags), 0, wxSOLID),
|
||||||
|
m_penDarkGrey);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( rectIn )
|
if ( rectIn )
|
||||||
@@ -2280,6 +2300,14 @@ int wxGTKRenderer::PixelToScrollbar(const wxScrollBar *scrollbar,
|
|||||||
|
|
||||||
void wxGTKRenderer::AdjustSize(wxSize *size, const wxWindow *window)
|
void wxGTKRenderer::AdjustSize(wxSize *size, const wxWindow *window)
|
||||||
{
|
{
|
||||||
|
#if wxUSE_BMPBUTTON
|
||||||
|
if ( wxDynamicCast(window, wxBitmapButton) )
|
||||||
|
{
|
||||||
|
size->x += 4;
|
||||||
|
size->y += 4;
|
||||||
|
} else
|
||||||
|
#endif // wxUSE_BMPBUTTON
|
||||||
|
#if wxUSE_BUTTON
|
||||||
if ( wxDynamicCast(window, wxButton) )
|
if ( wxDynamicCast(window, wxButton) )
|
||||||
{
|
{
|
||||||
if ( !(window->GetWindowStyle() & wxBU_EXACTFIT) )
|
if ( !(window->GetWindowStyle() & wxBU_EXACTFIT) )
|
||||||
@@ -2293,8 +2321,9 @@ void wxGTKRenderer::AdjustSize(wxSize *size, const wxWindow *window)
|
|||||||
// button border width
|
// button border width
|
||||||
size->y += 4;
|
size->y += 4;
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
else if ( wxDynamicCast(window, wxScrollBar) )
|
#endif wxUSE_BUTTON
|
||||||
|
if ( wxDynamicCast(window, wxScrollBar) )
|
||||||
{
|
{
|
||||||
// we only set the width of vert scrollbars and height of the
|
// we only set the width of vert scrollbars and height of the
|
||||||
// horizontal ones
|
// horizontal ones
|
||||||
|
Reference in New Issue
Block a user