1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Fix for small arrow on wxMac. This is done blind, based on a guess that wxWin resizes the icons and wxMac does not.

This commit is contained in:
james.k.crook@gmail.com 2013-08-25 11:35:01 +00:00
parent 1f79c6ad0a
commit 25f2206205
2 changed files with 88 additions and 45 deletions

View File

@ -1,47 +1,90 @@
/* XPM */ /* XPM */
static const char * arrow_xpm[] = { static const char * arrow_xpm[] = {
"9 16 3 1", "9 16 3 1",
"# c #000000", "# c #000000",
"+ c #808080", "+ c #808080",
". c #FFFFFF", ". c #FFFFFF",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
"....#....", "....#....",
"....##...", "....##...",
"....###..", "....###..",
"########.", "########.",
"#########", "#########",
"########+", "########+",
"++++###+.", "++++###+.",
"....##+..", "....##+..",
"....#+...", "....#+...",
"....+....", "....+....",
".........", ".........",
"........."}; "........."};
static const char * empty_9x16_xpm[] = { static const char * empty_9x16_xpm[] = {
"9 16 2 1", "9 16 2 1",
"# c #000000", "# c #000000",
". c #FFFFFF", ". c #FFFFFF",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
".........", ".........",
"........."}; "........."};
/* XPM */
static char * arrow15x15_xpm[] = {
"15 15 24 1",
" c None",
". c #FFFFFF",
"+ c #929292",
"@ c #000000",
"# c #9F9F9F",
"$ c #262626",
"% c #D8D8D8",
"& c #5F5F5F",
"* c #FEFEFE",
"= c #4F4F4F",
"- c #888888",
"; c #808080",
"> c #828282",
", c #2A2A2A",
"' c #7F7F7F",
") c #D5D5D5",
"! c #111111",
"~ c #646464",
"{ c #B8B8B8",
"] c #989898",
"^ c #3A3A3A",
"/ c #9B9B9B",
"( c #EDEDED",
"_ c #C9C9C9",
"...............",
"...............",
"...............",
"......+@+......",
"......#@@$%....",
"......#@@@@&*..",
"@@@@@@@@@@@@@#.",
"@@@@@@@@@@@@@@@",
"@@@@@@@@@@@@@=-",
";;;;>-=@@@@,').",
"......#@@!~{*..",
"......]@^/(....",
"......_;_......",
"...............",
"..............."};
/* XPM */ /* XPM */
static char * unchecked_xpm[] = { static char * unchecked_xpm[] = {
"15 15 56 1", "15 15 56 1",

View File

@ -182,7 +182,7 @@ void PluginRegistrationDialog::PopulateOrExchange(ShuttleGui &S)
pImageList->Add(wxIcon(unchecked_xpm)); pImageList->Add(wxIcon(unchecked_xpm));
pImageList->Add(wxIcon(checked_xpm)); pImageList->Add(wxIcon(checked_xpm));
pImageList->Add(wxIcon(arrow_xpm)); pImageList->Add(wxIcon(arrow15x15_xpm));
S.StartVerticalLay(true); S.StartVerticalLay(true);
{ {