Rev 7484 | Rev 7628 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7484 | Rev 7613 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | //simple open dialog data |
29 | //simple open dialog data |
30 | char default_dir[] = "/rd/1"; |
30 | char default_dir[] = "/rd/1"; |
Line 31... | Line 31... | ||
31 | od_filter filter2 = { 15, "MP3\0WAV\0XM\0\0" }; |
31 | od_filter filter2 = { 15, "MP3\0WAV\0XM\0\0" }; |
Line 32... | Line 32... | ||
32 | 32 | ||
33 | #define ABOUT_MESSAGE "Pixie Player v2.92 Final |
33 | #define ABOUT_MESSAGE "Pixie Player v2.93 Final |
Line 34... | Line 34... | ||
34 | 34 | ||
Line 329... | Line 329... | ||
329 | scroll1.start_y = list.y-1; |
329 | scroll1.start_y = list.y-1; |
330 | scroll1.size_y = list.h+2; |
330 | scroll1.size_y = list.h+2; |
331 | if (list.count > list.visible) scrollbar_v_draw(#scroll1); |
331 | if (list.count > list.visible) scrollbar_v_draw(#scroll1); |
332 | } |
332 | } |
Line 333... | Line 333... | ||
333 | 333 | ||
334 | void DrawPixieTitle(dword _title) |
334 | void DrawPixieTitle(dword _t) |
- | 335 | { |
|
- | 336 | char title[35]; |
|
- | 337 | strlcpy(#title, _t, sizeof(title)); |
|
335 | { |
338 | if (strlen(#title)>30) strcpy(#title+30, "..."); |
336 | kfont.WriteIntoWindow(8, 5, theme.color_top_panel_bg, |
339 | kfont.WriteIntoWindow(8, 5, theme.color_top_panel_bg, |
337 | theme.color_top_panel_folder_name, list.font_type, _title); |
340 | theme.color_top_panel_folder_name, list.font_type, #title); |
Line 338... | Line 341... | ||
338 | } |
341 | } |
339 | 342 | ||
340 | //===================================================// |
343 | //===================================================// |