Commit 0b1ee326 authored by Clément Stenac's avatar Clément Stenac

fix images, don't rescale them

parent f726e01d
/* XPM */ /* XPM */
static char * type_directory_xpm[] = { static char * type_directory_xpm[] = {
"32 32 4 1", "16 16 4 1",
" c None", " c None",
". c #000000", ". c #000000",
"+ c #FFFF00", "+ c #FFFF00",
"@ c #808000", "@ c #808000",
" ", " ",
" ", " ",
" ", " ..... ",
" ", " .+++........ ",
" .......... ", " .++++++++++. ",
" .......... ", " .++++++++++. ",
" ..++++++................ ", " .++........... ",
" ..++++++................ ", " .+@@@@@@@@@@@. ",
" ..++++++++++++++++++++.. ", " .+.@@@@@@@@@@. ",
" ..++++++++++++++++++++.. ", " .@@@@@@@@@@@. ",
" ..++++++++++++++++++++.. ", " ..@@@@@@@@@@. ",
" ..++++++++++++++++++++.. ", " .@@@@@@@@@@. ",
" ..++++...................... ", " ........... ",
" ..++++...................... ", " ",
" ..+++.@@@@@@@@@@@@@@@@@@@@.. ", " ",
" ..+++.@@@@@@@@@@@@@@@@@@@@.. ", " "};
" ..++..@@@@@@@@@@@@@@@@@@@@. ",
" ..++..@@@@@@@@@@@@@@@@@@@@. ",
" ..+.@@@@@@@@@@@@@@@@@@@@.. ",
" ..+.@@@@@@@@@@@@@@@@@@@@.. ",
" ....@@@@@@@@@@@@@@@@@@@@. ",
" ....@@@@@@@@@@@@@@@@@@@@. ",
" ..@@@@@@@@@@@@@@@@@@@@.. ",
" ..@@@@@@@@@@@@@@@@@@@@.. ",
" ...................... ",
" ...................... ",
" ",
" ",
" ",
" ",
" ",
" "};
/* XPM */ /* XPM */
static char * type_disc_xpm[] = { static char * type_disc_xpm[] = {
"17 16 154 2", "16 16 144 2",
" c #FFFFFF", " c None",
". c #BEB2CA", ". c #FFFFFF",
"+ c #B8A7C8", "+ c #BEB2CA",
"@ c #B8A6CA", "@ c #B8A7C8",
"# c #AF99C3", "# c #AF99C3",
"$ c #B19CC5", "$ c #B19CC5",
"% c #BEAECD", "% c #BEAECD",
...@@ -13,161 +13,151 @@ static char * type_disc_xpm[] = { ...@@ -13,161 +13,151 @@ static char * type_disc_xpm[] = {
"= c #BDADCF", "= c #BDADCF",
"- c #D6C9E2", "- c #D6C9E2",
"; c #D9CDE5", "; c #D9CDE5",
"> c #D7CBE3", "> c #D5C7E2",
", c #D5C7E2", ", c #E1D4EC",
"' c #E1D4EC", "' c #ECE3F4",
") c #ECE3F4", ") c #F4F0F8",
"! c #F4F0F8", "! c #CFC3DA",
"~ c #CFC3DA", "~ c #CEC7D4",
"{ c #CEC7D4", "{ c #C8BED2",
"] c #C8BED2", "] c #CDBFDB",
"^ c #CDBFDB", "^ c #DED4E8",
"/ c #DED4E8", "/ c #DCD1E7",
"( c #DCD1E7", "( c #DACEE5",
"_ c #DACEE5", "_ c #E4D7EE",
": c #E4D7EE", ": c #F4EEF8",
"< c #F4EEF8", "< c #FAF9FC",
"[ c #FAF9FC", "[ c #F9F8FB",
"} c #F9F8FB", "} c #E2DAE9",
"| c #E2DAE9", "| c #C7C0CF",
"1 c #C7C0CF", "1 c #E5E2E9",
"2 c #E5E2E9", "2 c #D2C5DE",
"3 c #D2C5DE", "3 c #E1D8EB",
"4 c #E1D8EB", "4 c #DFD5E9",
"5 c #DFD5E9", "5 c #D5C8E2",
"6 c #D5C8E2", "6 c #E8DDF1",
"7 c #E8DDF1", "7 c #F8F6FB",
"8 c #F8F6FB", "8 c #F9F8FC",
"9 c #F9F8FC", "9 c #D9CEE3",
"0 c #D9CEE3", "0 c #C8C2CF",
"a c #C8C2CF", "a c #C8BBD6",
"b c #C8BBD6", "b c #E3D9EB",
"c c #E3D9EB", "c c #E2D9EB",
"d c #E2D9EB", "d c #D6C9E3",
"e c #D7CAE3", "e c #EFE6F5",
"f c #D6C9E3", "f c #F9F6FB",
"g c #EFE6F5", "g c #F0E9F6",
"h c #F9F6FB", "h c #E5D8EF",
"i c #F0E9F6", "i c #AE9CBF",
"j c #E5D8EF", "j c #D9D4DE",
"k c #AE9CBF", "k c #D7CCE3",
"l c #D9D4DE", "l c #E4DCED",
"m c #D7CCE3", "m c #D4C6E1",
"n c #E4DCED", "n c #C7B6D8",
"o c #D4C6E1", "o c #D3C5E0",
"p c #C8B7D8", "p c #F0EBF5",
"q c #C7B6D8", "q c #F5F0F9",
"r c #D3C5E0", "r c #EBE0F3",
"s c #F0EBF5", "s c #E0D2EB",
"t c #F5F0F9", "t c #D4C5E2",
"u c #EBE0F3", "u c #AE98C4",
"v c #E0D2EB", "v c #C7C2CC",
"w c #D4C5E2", "w c #C8BDD3",
"x c #AE98C4", "x c #E3DAEC",
"y c #C7C2CC", "y c #D8CCE4",
"z c #C8BDD3", "z c #C6B6D7",
"A c #E3DAEC", "A c #CFC0DE",
"B c #D8CCE4", "B c #CFC1DE",
"C c #C6B6D7", "C c #CBBCDB",
"D c #D2C4DF", "D c #DACCE7",
"E c #CFC0DE", "E c #D0C1E0",
"F c #CFC1DE", "F c #C9B9DA",
"G c #CBBCDB", "G c #C5B3D6",
"H c #DACCE7", "H c #BDAACF",
"I c #D0C1E0", "I c #ADA2B8",
"J c #C9B9DA", "J c #C9BED5",
"K c #C5B3D6", "K c #D2C5E0",
"L c #BDAACF", "L c #CBBBDA",
"M c #ADA2B8", "M c #CCC7D1",
"N c #C9BED5", "N c #C9B8D8",
"O c #D2C5E0", "O c #C8B7D8",
"P c #CBBBDA", "P c #CABADA",
"Q c #BCABCC", "Q c #C7B7D8",
"R c #CCC7D1", "R c #BEABD1",
"S c #C9B8D8", "S c #A697B3",
"T c #CABADA", "T c #C8BCD4",
"U c #C7B7D8", "U c #E3DBEC",
"V c #BEABD1", "V c #BDB0CA",
"W c #A697B3", "W c #CEC0DD",
"X c #C8BCD4", "X c #A495B1",
"Y c #E3DBEC", "Y c #C7BDD2",
"Z c #CCBDD9", "Z c #E2DAEB",
"` c #BDB0CA", "` c #E5DCED",
" . c #CEC0DD", " . c #E5DDED",
".. c #A495B1", ".. c #E8E1EF",
"+. c #C7BDD2", "+. c #D1C4DF",
"@. c #E2DAEB", "@. c #CCBCDB",
"#. c #E5DCED", "#. c #B9A6CD",
"$. c #E5DDED", "$. c #ABA0B5",
"%. c #E8E1EF", "%. c #D6D2DB",
"&. c #D1C4DF", "&. c #D6CBE2",
"*. c #CCBDDB", "*. c #EAE4F1",
"=. c #CCBCDB", "=. c #F2EEF6",
"-. c #B9A6CD", "-. c #F4F1F8",
";. c #ABA0B5", ";. c #C8B8D8",
">. c #D6D2DB", ">. c #CABBDA",
",. c #D6CBE2", ",. c #CEBFDD",
"'. c #EAE4F1", "'. c #CDBDDC",
"). c #F2EEF6", "). c #A28BB9",
"!. c #F4F1F8", "!. c #C9C6CC",
"~. c #DBD0E6", "~. c #C5B8D2",
"{. c #C8B8D8", "{. c #F6F4F9",
"]. c #CABBDA", "]. c #D2C4E0",
"^. c #CEBFDD", "^. c #A190B1",
"/. c #CDBDDC", "/. c #D8D4DC",
"(. c #A28BB9", "(. c #D9D0E3",
"_. c #C9C6CC", "_. c #F9F7FB",
":. c #C5B8D2", ":. c #F5F2F9",
"<. c #F6F4F9", "<. c #C4B3D6",
"[. c #E8E1F0", "[. c #A590B9",
"}. c #D2C4E0", "}. c #CAC8CD",
"|. c #A190B1", "|. c #D6D1DB",
"1. c #D8D4DC", "1. c #DED6E7",
"2. c #D9D0E3", "2. c #F8F6FA",
"3. c #F9F7FB", "3. c #FAF8FC",
"4. c #F5F2F9", "4. c #EFEAF4",
"5. c #C4B3D6", "5. c #C5B4D6",
"6. c #A590B9", "6. c #A490B8",
"7. c #CAC8CD", "7. c #BFBAC5",
"8. c #D6D1DB", "8. c #D7D3DB",
"9. c #DED6E7", "9. c #C9BED4",
"0. c #F8F6FA", "0. c #E7E0EF",
"a. c #FAF8FC", "a. c #D3C5E1",
"b. c #EFEAF4", "b. c #D0C2DE",
"c. c #E0D6EA", "c. c #B39EC6",
"d. c #C5B4D6", "d. c #A392B4",
"e. c #A490B8", "e. c #D4D0D8",
"f. c #BFBAC5", "f. c #C0B5CB",
"g. c #D7D3DB", "g. c #AD9CBE",
"h. c #C9BED4", "h. c #A593B6",
"i. c #E7E0EF", "i. c #AFA3BA",
"j. c #DCD2E7", "j. c #CCC9CF",
"k. c #D3C5E1", "k. c #E1E2E1",
"l. c #D0C2DE", "l. c #FDFDFD",
"m. c #B39EC6", "m. c #FBFBFB",
"n. c #A392B4", ". . . . . + @ # $ % & . . . . . ",
"o. c #D4D0D8", ". . . * = - ; > , ' ) ! ~ . . . ",
"p. c #C0B5CB", ". . { ] ^ / ( > _ : < [ } | . . ",
"q. c #BCAFC9", ". 1 2 3 4 / ( 5 6 7 < < 8 9 0 . ",
"r. c #AD9CBE", ". a b c 4 / ( d e < < f g h i . ",
"s. c #A593B6", "j k l c 4 / m n o p q r s t u v ",
"t. c #AFA3BA", "w x l c 4 y z A B C D E F G H I ",
"u. c #CCC9CF", "J l l c 4 K L M N O F P Q G R S ",
"v. c #E1E2E1", "T U l c 4 5 P V W n P P Q G R X ",
"w. c #E6E7E6", "Y Z ` U ...+.+.P n @.P Q G #.$.",
" . + @ # $ % & ", "%.&...*.=.[ -.;.>.,.'.P Q G ).!.",
" * = - ; > , ' ) ! ~ { ", ". ~.*.{.< < [ > ].A '.P Q R ^.. ",
" ] ^ / ( _ > , : < [ } | 1 ", ". /.(._.< < :.> ].A '.P <.[.}.. ",
" 2 3 4 5 ( _ > 6 7 8 [ [ 9 0 a ", ". . |.1.2.3.4.> ].A '.5.6.7.. . ",
" b c d 5 ( _ e f g [ [ h i j k ", ". . . 8.9.Z 0.a.b.C c.d.!.. . . ",
"l m n d 5 ( o p q r s t u v w x y ", ". . . . . e.f.g.h.i.j.k.l.l.l.m."};
"z A n d 5 B C D E F G H I J K L M ",
"N n n d 5 O P Q R S p J T U K V W ",
"X Y n d 5 6 T Z ` .q T T U K V ..",
"+.@.#.Y $.%.&.*.&.T q =.T U K -.;.",
">.,.%.'.).} !.~.{.].^./.T U K (._.",
" :.'.<.[ [ } [., }.E /.T U V |. ",
" 1.2.3.[ [ 4.A , }.E /.T 5.6.7. ",
" 8.9.0.a.b.c., }.E /.d.e.f. ",
" g.h.@.i.j.k.l.G m.n._. ",
" o.p.q.r.s.t.u.v.w.w.w.w."};
/* XPM */ /* XPM */
static char *type_unknown_xpm[] = { static char * type_unknown_xpm[] = {
/* width height num_colors chars_per_pixel */ "16 16 4 1",
" 32 32 2 1", " c None",
/* colors */ ". c #FFFFFF",
". c #000000", "+ c #000000",
"# c #ffffff", "@ c #BFBFBF",
/* pixels */ "................",
"################################", "..++++++++......",
"################################", "..+......++.....",
"####................############", "..+.+.+..+.+....",
"####................############", "..+......++++...",
"####..############....##########", "..+.+.+.....+...",
"####..############....##########", ".@+.........+...",
"####..##..##..####..##..########", "..+.+.+.+.+.+...",
"####..##..##..####..##..########", "..+.........+...",
"####..############........######", "..+.+.+.+.+.+...",
"####..############........######", "..+.........+...",
"####..##..##..##########..######", "..+.+.+.+.+.+...",
"####..##..##..##########..######", "..+.........+...",
"####..##################..######", "..+++++++++++...",
"###...##################..######", "................",
"####..##..##..##..##..##..######", "................"};
"####..##..##..##..##..##..######",
"####..##################..######",
"####..##################..######",
"####..##..##..##..##..##..######",
"####..##..##..##..##..##..######",
"####..##################..######",
"####..##################..######",
"####..##..##..##..##..##..######",
"####..##..##..##..##..##..######",
"####..##################..######",
"####..##################..######",
"####......................######",
"####......................######",
"################################",
"################################",
"################################",
"################################"
};
...@@ -331,7 +331,8 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ): ...@@ -331,7 +331,8 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
for( int i = 0; i< WXSIZEOF( icons ) ; i++ ) for( int i = 0; i< WXSIZEOF( icons ) ; i++ )
{ {
p_images->Add( wxBitmap( wxBitmap(icons[i]).ConvertToImage().Rescale(16,16) ) ); // p_images->Add( wxBitmap( wxBitmap(icons[i]).ConvertToImage().Rescale(16,16) ) );
p_images->Add( wxIcon( icons[i] ));
} }
treectrl->AssignImageList( p_images ); treectrl->AssignImageList( p_images );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment