Rev 5582 | Rev 5606 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5582 | Rev 5591 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | save_info_after_copy = info_after_copy; |
55 | save_info_after_copy = info_after_copy; |
56 | save_use_big_fonts = use_big_fonts; |
56 | save_use_big_fonts = use_big_fonts; |
57 | save_files_h = files.line_h; |
57 | save_files_h = files.line_h; |
58 | save_DBLTime = MOUSE_TIME; |
58 | save_DBLTime = MOUSE_TIME; |
Line 59... | Line -... | ||
59 | - | ||
60 | //SetEventMask(0x27); |
- | |
61 | 59 | ||
62 | loop(){ |
60 | loop(){ |
63 | switch(WaitEvent()) |
61 | switch(WaitEvent()) |
64 | { |
- | |
65 | /*case evMouse: |
- | |
66 | - | ||
67 | break;*/ |
62 | { |
68 | case evButton: |
63 | case evButton: |
69 | id=GetButtonID(); |
64 | id=GetButtonID(); |
70 | if (id==10) |
65 | if (id==10) |
71 | { |
66 | { |
72 | SaveIniSettings(); |
67 | SaveIniSettings(); |
73 | active_settings=0; |
68 | active_settings=0; |
74 | action_buf = 300; |
69 | action_buf = 300; |
75 | cmd_free = 4; |
70 | cmd_free = 4; |
76 | ExitProcess(); |
71 | ExitProcess(); |
77 | } |
72 | } |
78 | if (id==1) || (id==11) |
73 | else if (id==1) || (id==11) |
79 | { |
74 | { |
80 | active_settings=0; |
75 | active_settings=0; |
81 | goto EXIT_SETTING; |
76 | goto EXIT_SETTING; |
82 | } |
77 | } |
83 | if (id==5) |
78 | else if (id==5) |
84 | { |
79 | { |
85 | RunProgram("tinypad", "/sys/settings/assoc.ini"); |
80 | RunProgram("tinypad", "/sys/settings/assoc.ini"); |
86 | break; |
81 | break; |
87 | } |
82 | } |
88 | if (id==20) show_dev_name ^= 1; |
83 | else if (id==20) show_dev_name ^= 1; |
89 | if (id==21) real_files_names_case ^= 1; |
84 | else if (id==21) real_files_names_case ^= 1; |
90 | if (id==22) info_after_copy ^= 1; |
85 | else if (id==22) info_after_copy ^= 1; |
91 | if (id==23) use_big_fonts ^= 1; |
86 | else if (id==23) use_big_fonts ^= 1; |
92 | if (id==25) files.line_h++; |
87 | else if (id==25) files.line_h++; |
93 | if (id==26) && (files.line_h>8) files.line_h--; |
88 | else if (id==26) && (files.line_h>14) files.line_h--; |
94 | if (id==27) MOUSE_TIME++; |
89 | else if (id==27) MOUSE_TIME++; |
- | 90 | else if (id==28) && (MOUSE_TIME>29) MOUSE_TIME--; |
|
- | 91 | //CMD_REFRESH = true; |
|
95 | if (id==28) && (MOUSE_TIME>30) MOUSE_TIME--; |
92 | MoveSize(-1,-1,-1,settings_form.height+1); |
96 | RefreshWindow(Form.ID,settings_form.ID); |
93 | MoveSize(-1,-1,-1,settings_form.height); |
97 | DrawSettingsCheckBoxes(); |
94 | DrawSettingsCheckBoxes(); |
Line 98... | Line 95... | ||
98 | break; |
95 | break; |
99 | 96 |