Commit 301ea6e4 authored by Clément Stenac's avatar Clément Stenac

Add some icons

Fix autoswitching to category view
parent 04b00aca
......@@ -68,12 +68,15 @@ struct input_item_t
};
#define ITEM_TYPE_UNKNOWN 0
#define ITEM_TYPE_FILE 1
#define ITEM_TYPE_DIRECTORY 2
#define ITEM_TYPE_DISC 3
#define ITEM_TYPE_CARD 4
#define ITEM_TYPE_NET 5
#define ITEM_TYPE_PLAYLIST 6
#define ITEM_TYPE_AFILE 1
#define ITEM_TYPE_VFILE 2
#define ITEM_TYPE_DIRECTORY 3
#define ITEM_TYPE_DISC 4
#define ITEM_TYPE_CDDA 5
#define ITEM_TYPE_CARD 6
#define ITEM_TYPE_NET 7
#define ITEM_TYPE_PLAYLIST 8
#define ITEM_TYPE_NODE 9
static inline void vlc_input_item_Init( vlc_object_t *p_o, input_item_t *p_i )
{
......
......@@ -481,7 +481,7 @@ static int ReadDir( playlist_t *p_playlist,
p_playlist,
psz_uri,
p_dir_content->d_name,
ITEM_TYPE_FILE );
ITEM_TYPE_VFILE );
playlist_NodeAddItem( p_playlist,p_item,
p_parent->pp_parents[0]->i_view,
p_parent,
......
/* XPM */
static char * type_afile_xpm[] = {
"16 16 107 2",
" c None",
". c #8F8F8F",
"+ c #FFFFFF",
"@ c #B7CFF9",
"# c #B8CFF8",
"$ c #BCD2F7",
"% c #AFCAF4",
"& c #93B7EE",
"* c #5B91E2",
"= c #4E88DE",
"- c #4481D9",
"; c #3A7AD6",
"> c #2F73D2",
", c #246CCD",
"' c #1663CA",
") c #F3F7FE",
"! c #F1F6FD",
"~ c #EFF5FD",
"{ c #F2F7FF",
"] c #F2F8FF",
"^ c #E8EFFB",
"/ c #E6EDF9",
"( c #E7EFFB",
"_ c #E2EAF7",
": c #DCE5F1",
"< c #D9E2EF",
"[ c #D6E1EE",
"} c #FFFFFE",
"| c #EFEEED",
"1 c #D5D5D3",
"2 c #CDCBC9",
"3 c #CCCBC9",
"4 c #D4D2D0",
"5 c #EAE8E5",
"6 c #FCFBF8",
"7 c #FBFAF7",
"8 c #F9F7F4",
"9 c #FAFAFA",
"0 c #CFCFCF",
"a c #A7A7A7",
"b c #818181",
"c c #696969",
"d c #686868",
"e c #808080",
"f c #A5A5A5",
"g c #C6C6C6",
"h c #EFEFEF",
"i c #F3F3F3",
"j c #D2D2D2",
"k c #B0B0B0",
"l c #858585",
"m c #828282",
"n c #989898",
"o c #999999",
"p c #838383",
"q c #848484",
"r c #AEAEAE",
"s c #CACACA",
"t c #F0F0F0",
"u c #F6F6F6",
"v c #BDBDBD",
"w c #9F9F9F",
"x c #E8E8E8",
"y c #C3C3C3",
"z c #A1A1A1",
"A c #ACACAC",
"B c #BBBBBB",
"C c #E4E4E4",
"D c #F4F4F4",
"E c #C9C9C9",
"F c #C2C2C2",
"G c #B8B8B8",
"H c #B9B9B9",
"I c #B5B5B5",
"J c #C1C1C1",
"K c #B1B1B1",
"L c #E5E5E5",
"M c #FEFEFE",
"N c #ABABAB",
"O c #EBEBEB",
"P c #C0C0C0",
"Q c #8B8B8B",
"R c #BABABA",
"S c #A6A6A6",
"T c #F1F1F1",
"U c #F9F9F9",
"V c #DEDEDE",
"W c #F2F2F2",
"X c #909090",
"Y c #D8D8D8",
"Z c #F5F5F5",
"` c #FCFCFC",
" . c #DCDCDC",
".. c #777777",
"+. c #6D6D6D",
"@. c #979797",
"#. c #8C8C8C",
"$. c #F7F7F7",
"%. c #F8F8F8",
"&. c #CECECE",
"*. c #868686",
"=. c #B2B2B2",
"-. c #A8A8A8",
";. c #EAEAEA",
">. c #FBFBFB",
",. c #FDFDFD",
"'. c #EEEEEE",
". . . . . . . . . . . . . . . . ",
". + @ # $ % & * = - ; > , ' + . ",
". + ) ! ~ { ] ^ / ( _ : < [ + . ",
". + + + } | 1 2 3 4 5 6 7 8 + . ",
". + + 9 0 a b c d e f g h i + . ",
". + + j k l m n o p q r s t + . ",
". + u v r w s t x y z A B C + . ",
". + D k E F G H I r J s K L + . ",
". + M N J O P . Q R O E S T + . ",
". + U V . v W W t h J X Y 9 + . ",
". + Z ` ...+.. @.#.q s D h + . ",
". + $.%.$.&.*.l =.v g -.-.-.-.. ",
". + U U U U h C C ;.;.-.+ + . ",
". + >.>.>.>.M M ,.+ '.-.+ . ",
". + + + + + + + + + U -.. ",
". . . . . . . . . . . . "};
/* XPM */
static char * type_cdda_xpm[] = {
"16 16 119 2",
" c None",
". c #7E7E7E",
"+ c #A3A3A3",
"@ c #000000",
"# c #030303",
"$ c #BDCCFF",
"% c #C1CDF5",
"& c #D8DDF1",
"* c #C4CBE9",
"= c #C0C8F0",
"- c #646464",
"; c #A8A8A8",
"> c #DFF2FF",
", c #F9FDFF",
"' c #E0E7FB",
") c #B1C3F7",
"! c #F7FAFF",
"~ c #FFFFFF",
"{ c #DBDEEE",
"] c #727EB7",
"^ c #2A2928",
"/ c #BBBBBB",
"( c #E1E9FF",
"_ c #FEFFFD",
": c #BECDF6",
"< c #E5ECFC",
"[ c #E8EDFA",
"} c #747CAA",
"| c #85847F",
"1 c #B8B8B8",
"2 c #D4E6FF",
"3 c #EBEEFB",
"4 c #DDE5FB",
"5 c #FEFFFF",
"6 c #EFF3FE",
"7 c #91ABF5",
"8 c #B7BFE3",
"9 c #7C7A7B",
"0 c #878787",
"a c #1A1A1A",
"b c #D1E4FF",
"c c #D8E1F8",
"d c #FAFAFE",
"e c #FFFFFE",
"f c #D5E0FB",
"g c #EFF0F9",
"h c #FBFDFF",
"i c #AAC0FA",
"j c #B0C7FF",
"k c #DEF0FF",
"l c #8A8B8F",
"m c #A4A49F",
"n c #585857",
"o c #D1E5FF",
"p c #B9CAF5",
"q c #C7D4F8",
"r c #E4EBFC",
"s c #F1F5FF",
"t c #D4DDFD",
"u c #C1C9E9",
"v c #B2BEE9",
"w c #D7E6FF",
"x c #383428",
"y c #8B8C90",
"z c #D3E4FF",
"A c #ABBEF3",
"B c #BBCAF6",
"C c #CAD8F8",
"D c #CED9FC",
"E c #B5C5FC",
"F c #AFB4D7",
"G c #DDE6FF",
"H c #1D1B14",
"I c #34322B",
"J c #CFDCFF",
"K c #C2D8FF",
"L c #B8C8F4",
"M c #ABBDF4",
"N c #B8C9F6",
"O c #D1DCFB",
"P c #DAE2FE",
"Q c #AFBAE2",
"R c #CACDE3",
"S c #F8FBFF",
"T c #DAE7FF",
"U c #C5D8FF",
"V c #D5E6FF",
"W c #5E6592",
"X c #C4D3FF",
"Y c #9BB1F2",
"Z c #B0C4F5",
"` c #D6DDF5",
" . c #F5F6FA",
".. c #E2EAFC",
"+. c #DCE7FF",
"@. c #515886",
"#. c #C0D9FF",
"$. c #B3C5FA",
"%. c #FDFDFF",
"&. c #FAFCFF",
"*. c #E6EBFD",
"=. c #DBDDEE",
"-. c #CADBFF",
";. c #FFFEFE",
">. c #FEFDFF",
",. c #F9FAFE",
"'. c #C7D4F7",
"). c #FDFDFE",
"!. c #959AC1",
"~. c #C7D7FF",
"{. c #D2DEFC",
"]. c #DCE5FF",
"^. c #AFB3D2",
"/. c #ADC1FF",
"(. c #C7D2FF",
"_. c #DBE0FA",
":. c #D7DFF6",
"<. c #A1AEDC",
"[. c #98A1CC",
" . ",
" + @ # ",
" $ % & * = @ @ - ; ",
" > , ' ) ! ~ ~ { ] ^ / ",
" ( ~ _ : < ~ ~ ~ [ } | 1 ",
" 2 ~ ~ ~ 3 4 ~ 5 6 7 8 9 0 @ a ",
" b c d e e f g h i j k l m n ",
" o p q r s t u v w x @ y ",
" z A B C D E F G H I J ",
" K L M N O P Q R S T U V W ",
" X Y Z 5 e ` .~ e ..+.@. ",
" #.$.S %.~ &.*.~ ~ ~ =. ",
" -.~ ;.>.,.'.).~ ~ !. ",
" ~.~ ~ 5 {.].~ ^. ",
" /.(._.:.<.[. ",
" "};
/* XPM */
static char * type_directory_xpm[] = {
"16 16 4 1",
"16 16 83 1",
" c None",
". c #000000",
"+ c #FFFF00",
"@ c #808000",
" ",
" ",
" ..... ",
" .+++........ ",
" .++++++++++. ",
" .++++++++++. ",
" .++........... ",
" .+@@@@@@@@@@@. ",
" .+.@@@@@@@@@@. ",
" .@@@@@@@@@@@. ",
" ..@@@@@@@@@@. ",
" .@@@@@@@@@@. ",
" ........... ",
" ",
" ",
". c #3274DB",
"+ c #3273DB",
"@ c #3373DB",
"# c #3274DC",
"$ c #3170D6",
"% c #F5FBFD",
"& c #F5F9FD",
"* c #306DD2",
"= c #E8F5FD",
"- c #E8F6FD",
"; c #E9F5FD",
"> c #5F7DB1",
", c #316DD1",
"' c #306ED1",
") c #316ED2",
"! c #306DD1",
"~ c #306ACC",
"{ c #DBF0FD",
"] c #DAEEFD",
"^ c #DBEEFD",
"/ c #DAF0FD",
"( c #2F66C6",
"_ c #CBE8FD",
": c #CBE9FD",
"< c #255FD1",
"[ c #2E63C0",
"} c #B9E2FD",
"| c #BCE2FD",
"1 c #B9E1FD",
"2 c #BCE1FD",
"3 c #9EC6EE",
"4 c #FCFCFD",
"5 c #ACD1FD",
"6 c #2D61BD",
"7 c #A9DAFD",
"8 c #A9DBFD",
"9 c #86B9EC",
"0 c #8CBDFD",
"a c #89BEFD",
"b c #89BDFD",
"c c #2C5EB8",
"d c #99D3FD",
"e c #2259CB",
"f c #6BAAFD",
"g c #6BA9FD",
"h c #2259CC",
"i c #2B5AB1",
"j c #88CBFD",
"k c #1F52C5",
"l c #5098FD",
"m c #4F98FD",
"n c #4F97FD",
"o c #1E52C5",
"p c #2A58AE",
"q c #7AC4FD",
"r c #1C49BD",
"s c #3987FD",
"t c #3988FD",
"u c #1B49BD",
"v c #2955A8",
"w c #6DBEFD",
"x c #1840B5",
"y c #287CFD",
"z c #287BFD",
"A c #277BFD",
"B c #183FB5",
"C c #2852A3",
"D c #62B7FD",
"E c #1337AA",
"F c #FDFDFD",
"G c #AEAEC6",
"H c #1337AC",
"I c #28509F",
"J c #102DA2",
"K c #274D9B",
"L c #4FAEFD",
"M c #0B2599",
"N c #0C2599",
"O c #274B97",
"P c #091D91",
"Q c #091E91",
"R c #091E90",
" .+@#.. ",
" $%&%&&&$ ",
"*===-=;=>,')'!, ",
"~{{{{{]{^^]{^{/~",
"(_______:<<<<<<<",
"[}}|}|12<344445<",
"678<<<<<940aabb<",
"cdef44444gfggggh",
"ijklmmnlmmmmlmno",
"pqrsttstsstttstu",
"vwxyyzyzzzAzAzzB",
"CDEFFFFFFFFFFFGH",
"IDJFFFFFFFFFFFGJ",
"KLMGGGGGGGGGGGGN",
" OPPPQRQRPRRQQP ",
" "};
/* XPM */
static char * type_disc_xpm[] = {
"16 16 144 2",
" c None",
". c #FFFFFF",
"+ c #BEB2CA",
"@ c #B8A7C8",
"# c #AF99C3",
"$ c #B19CC5",
"% c #BEAECD",
"& c #C7BCD1",
"* c #C9C1D3",
"= c #BDADCF",
"- c #D6C9E2",
"; c #D9CDE5",
"> c #D5C7E2",
", c #E1D4EC",
"' c #ECE3F4",
") c #F4F0F8",
"! c #CFC3DA",
"~ c #CEC7D4",
"{ c #C8BED2",
"] c #CDBFDB",
"^ c #DED4E8",
"/ c #DCD1E7",
"( c #DACEE5",
"_ c #E4D7EE",
": c #F4EEF8",
"< c #FAF9FC",
"[ c #F9F8FB",
"} c #E2DAE9",
"| c #C7C0CF",
"1 c #E5E2E9",
"2 c #D2C5DE",
"3 c #E1D8EB",
"4 c #DFD5E9",
"5 c #D5C8E2",
"6 c #E8DDF1",
"7 c #F8F6FB",
"8 c #F9F8FC",
"9 c #D9CEE3",
"0 c #C8C2CF",
"a c #C8BBD6",
"b c #E3D9EB",
"c c #E2D9EB",
"d c #D6C9E3",
"e c #EFE6F5",
"f c #F9F6FB",
"g c #F0E9F6",
"h c #E5D8EF",
"i c #AE9CBF",
"j c #D9D4DE",
"k c #D7CCE3",
"l c #E4DCED",
"m c #D4C6E1",
"n c #C7B6D8",
"o c #D3C5E0",
"p c #F0EBF5",
"q c #F5F0F9",
"r c #EBE0F3",
"s c #E0D2EB",
"t c #D4C5E2",
"u c #AE98C4",
"v c #C7C2CC",
"w c #C8BDD3",
"x c #E3DAEC",
"y c #D8CCE4",
"z c #C6B6D7",
"A c #CFC0DE",
"B c #CFC1DE",
"C c #CBBCDB",
"D c #DACCE7",
"E c #D0C1E0",
"F c #C9B9DA",
"G c #C5B3D6",
"H c #BDAACF",
"I c #ADA2B8",
"J c #C9BED5",
"K c #D2C5E0",
"L c #CBBBDA",
"M c #CCC7D1",
"N c #C9B8D8",
"O c #C8B7D8",
"P c #CABADA",
"Q c #C7B7D8",
"R c #BEABD1",
"S c #A697B3",
"T c #C8BCD4",
"U c #E3DBEC",
"V c #BDB0CA",
"W c #CEC0DD",
"X c #A495B1",
"Y c #C7BDD2",
"Z c #E2DAEB",
"` c #E5DCED",
" . c #E5DDED",
".. c #E8E1EF",
"+. c #D1C4DF",
"@. c #CCBCDB",
"#. c #B9A6CD",
"$. c #ABA0B5",
"%. c #D6D2DB",
"&. c #D6CBE2",
"*. c #EAE4F1",
"=. c #F2EEF6",
"-. c #F4F1F8",
";. c #C8B8D8",
">. c #CABBDA",
",. c #CEBFDD",
"'. c #CDBDDC",
"). c #A28BB9",
"!. c #C9C6CC",
"~. c #C5B8D2",
"{. c #F6F4F9",
"]. c #D2C4E0",
"^. c #A190B1",
"/. c #D8D4DC",
"(. c #D9D0E3",
"_. c #F9F7FB",
":. c #F5F2F9",
"<. c #C4B3D6",
"[. c #A590B9",
"}. c #CAC8CD",
"|. c #D6D1DB",
"1. c #DED6E7",
"2. c #F8F6FA",
"3. c #FAF8FC",
"4. c #EFEAF4",
"5. c #C5B4D6",
"6. c #A490B8",
"7. c #BFBAC5",
"8. c #D7D3DB",
"9. c #C9BED4",
"0. c #E7E0EF",
"a. c #D3C5E1",
"b. c #D0C2DE",
"c. c #B39EC6",
"d. c #A392B4",
"e. c #D4D0D8",
"f. c #C0B5CB",
"g. c #AD9CBE",
"h. c #A593B6",
"i. c #AFA3BA",
"j. c #CCC9CF",
"k. c #E1E2E1",
"l. c #FDFDFD",
"m. c #FBFBFB",
". . . . . + @ # $ % & . . . . . ",
". . . * = - ; > , ' ) ! ~ . . . ",
". . { ] ^ / ( > _ : < [ } | . . ",
". 1 2 3 4 / ( 5 6 7 < < 8 9 0 . ",
". a b c 4 / ( d e < < f g h i . ",
"j k l c 4 / m n o p q r s t u v ",
"w x l c 4 y z A B C D E F G H I ",
"J l l c 4 K L M N O F P Q G R S ",
"T U l c 4 5 P V W n P P Q G R X ",
"Y Z ` U ...+.+.P n @.P Q G #.$.",
"%.&...*.=.[ -.;.>.,.'.P Q G ).!.",
". ~.*.{.< < [ > ].A '.P Q R ^.. ",
". /.(._.< < :.> ].A '.P <.[.}.. ",
". . |.1.2.3.4.> ].A '.5.6.7.. . ",
". . . 8.9.Z 0.a.b.C c.d.!.. . . ",
". . . . . e.f.g.h.i.j.k.l.l.l.m."};
"16 16 91 1",
" c None",
". c #676767",
"+ c #989898",
"@ c #B7B7B7",
"# c #BEBEBE",
"$ c #919191",
"% c #5B5B5B",
"& c #CDCDCD",
"* c #FEFEFE",
"= c #FFFFFF",
"- c #FDFDFD",
"; c #BDBDBD",
"> c #717171",
", c #F3F3F3",
"' c #FBFBFB",
") c #F9F9F9",
"! c #F7F7F7",
"~ c #FAFAFA",
"{ c #EDEDED",
"] c #4A4A4A",
"^ c #DFDFDF",
"/ c #E4E4E4",
"( c #F1F1F1",
"_ c #F8F8F8",
": c #F4F4F4",
"< c #E5E5E5",
"[ c #AEAEAE",
"} c #D8D8D8",
"| c #D6D6D6",
"1 c #E2E2E2",
"2 c #F5F5F5",
"3 c #FCFCFC",
"4 c #979797",
"5 c #CFCFCF",
"6 c #CCCCCC",
"7 c #D7D7D7",
"8 c #EBEBEB",
"9 c #EEEEEE",
"0 c #EAEAEA",
"a c #E7E7E7",
"b c #D5D5D5",
"c c #6B6B6B",
"d c #C8C8C8",
"e c #E3E3E3",
"f c #DBDBDB",
"g c #C3C3C3",
"h c #EFEFEF",
"i c #DDDDDD",
"j c #D2D2D2",
"k c #D1D1D1",
"l c #484848",
"m c #787878",
"n c #CBCBCB",
"o c #CECECE",
"p c #E6E6E6",
"q c #C9C9C9",
"r c #C4C4C4",
"s c #5A5A5A",
"t c #757575",
"u c #E1E1E1",
"v c #E9E9E9",
"w c #E0E0E0",
"x c #7D7D7D",
"y c #BCBCBC",
"z c #B9B9B9",
"A c #515151",
"B c #545454",
"C c #DEDEDE",
"D c #E8E8E8",
"E c #DCDCDC",
"F c #C7C7C7",
"G c #BABABA",
"H c #BBBBBB",
"I c #C1C1C1",
"J c #333333",
"K c #ECECEC",
"L c #C0C0C0",
"M c #A6A6A6",
"N c #777777",
"O c #C2C2C2",
"P c #C6C6C6",
"Q c #555555",
"R c #828282",