Rev 7353 | Rev 7450 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7353 | Rev 7447 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | #define MEMSIZE 0xFE800 |
8 | #define MEMSIZE 0xFE800 |
9 | #include "..\lib\mem.h" |
9 | #include "..\lib\mem.h" |
10 | #include "..\lib\strings.h" |
10 | #include "..\lib\strings.h" |
11 | #include "..\lib\io.h" |
11 | #include "..\lib\io.h" |
12 | #include "..\lib\list_box.h" |
12 | #include "..\lib\list_box.h" |
13 | #include "..\lib\menu.h" |
- | |
14 | #include "..\lib\gui.h" |
13 | #include "..\lib\gui.h" |
Line 15... | Line 14... | ||
15 | 14 | ||
16 | #include "..\lib\obj\box_lib.h" |
15 | #include "..\lib\obj\box_lib.h" |
Line 28... | Line 27... | ||
28 | #ifdef LANG_RUS |
27 | #ifdef LANG_RUS |
29 | ?define WINDOW_HEADER " áâனª¨ ®ä®à¬«¥¨ï" |
28 | ?define WINDOW_HEADER " áâனª¨ ®ä®à¬«¥¨ï" |
30 | ?define T_SKINS "â¨«ì ®ª®" |
29 | ?define T_SKINS "â¨«ì ®ª®" |
31 | ?define T_WALLPAPERS "¡®¨" |
30 | ?define T_WALLPAPERS "¡®¨" |
32 | ?define T_SELECT_FOLDER "ë¡à âì ¯ ¯ªã" |
31 | ?define T_SELECT_FOLDER "ë¡à âì ¯ ¯ªã" |
- | 32 | ?define MENU_LIST "âªàëâì ä ©« Enter\n¤ «¨âì ä ©« Del" |
|
33 | #else |
33 | #else |
34 | ?define WINDOW_HEADER "Appearance" |
34 | ?define WINDOW_HEADER "Appearance" |
35 | ?define T_SKINS "Skins" |
35 | ?define T_SKINS "Skins" |
36 | ?define T_WALLPAPERS "Wallpapers" |
36 | ?define T_WALLPAPERS "Wallpapers" |
37 | ?define T_SELECT_FOLDER "Select wallpapers" |
37 | ?define T_SELECT_FOLDER "Select wallpapers" |
- | 38 | ?define MENU_LIST "Open file Enter\nDelete file Del" |
|
38 | #endif |
39 | #endif |
Line 39... | Line 40... | ||
39 | 40 | ||
40 | #define PANEL_H 40 |
41 | #define PANEL_H 40 |
41 | #define LP 10 //LIST_PADDING |
42 | #define LP 10 //LIST_PADDING |
Line 67... | Line 68... | ||
67 | 68 | ||
68 | char st_str[16]; |
69 | char st_str[16]; |
69 | edit_box edit_st = {180,NULL,NULL,0xffffff,0x94AECE,0xFFFfff,0xffffff, |
70 | edit_box edit_st = {180,NULL,NULL,0xffffff,0x94AECE,0xFFFfff,0xffffff, |
Line 70... | Line -... | ||
70 | 0x10000000,sizeof(st_str),#st_str,0, 0b}; |
- | |
71 | - | ||
72 | #define MENU_LIST "Open file Enter\nDelete Del" |
71 | 0x10000000,sizeof(st_str),#st_str,0, 0b}; |
73 | 72 | ||
Line 74... | Line 73... | ||
74 | char default_dir[] = "/rd/1"; |
73 | char default_dir[] = "/rd/1"; |
75 | od_filter filter2 = { 8, "TXT\0\0" }; |
74 | od_filter filter2 = { 8, "TXT\0\0" }; |
Line 105... | Line 104... | ||
105 | 104 | ||
106 | if (mouse.pkm)&&(select_list.MouseOver(mouse.x, mouse.y)) { |
105 | if (mouse.pkm)&&(select_list.MouseOver(mouse.x, mouse.y)) { |
107 | select_list.ProcessMouse(mouse.x, mouse.y); |
106 | select_list.ProcessMouse(mouse.x, mouse.y); |
108 | SelectList_Draw(); |
107 | SelectList_Draw(); |
109 | EventSetNewCurrent(); |
108 | EventSetNewCurrent(); |
110 | menu.show(Form.left+mouse.x, Form.top+mouse.y+skin_height, 185, MENU_LIST, 10); |
109 | menu.show(Form.left+mouse.x, Form.top+mouse.y+skin_height, 146, MENU_LIST, 10); |
111 | } |
110 | } |
Line 112... | Line 111... | ||
112 | break; |
111 | break; |
113 | 112 |