Rev 7252 | Rev 7256 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7252 | Rev 7254 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | 48 | ||
Line 49... | Line 49... | ||
49 | 49 | ||
50 | void settings_dialog() |
50 | void settings_dialog() |
- | 51 | { |
|
51 | { |
52 | proc_info Settings; |
52 | int id; |
53 | int id; |
53 | active_settings=1; |
54 | active_settings=1; |
54 | font_size.value = kfont.size.pt; |
55 | font_size.value = kfont.size.pt; |
55 | line_height.value = files.item_h; |
56 | line_height.value = files.item_h; |
Line 95... | Line 96... | ||
95 | } |
96 | } |
96 | if (line_height.click(id)) files.item_h = line_height.value; |
97 | if (line_height.click(id)) files.item_h = line_height.value; |
97 | if (big_icons.click(id)) BigIconsSwitch(); |
98 | if (big_icons.click(id)) BigIconsSwitch(); |
98 | EventRedrawWindow(Form.left,Form.top); |
99 | EventRedrawWindow(Form.left,Form.top); |
99 | break; |
100 | //RefreshWindow(Form.num_slot, Settings.num_slot); |
- | 101 | break; |
|
100 | 102 | ||
Line 101... | Line 103... | ||
101 | case evKey: |
103 | case evKey: |
102 | GetKeys(); |
104 | GetKeys(); |
103 | if (key_scancode==SCAN_CODE_ESC) ExitSettings(); |
105 | if (key_scancode==SCAN_CODE_ESC) ExitSettings(); |
Line 107... | Line 109... | ||
107 | 109 | ||
Line 108... | Line 110... | ||
108 | case evReDraw: |
110 | case evReDraw: |
109 | DefineAndDrawWindow(Form.cwidth-300/2+Form.left, Form.cheight-292/2+Form.top, 400, |
111 | DefineAndDrawWindow(Form.cwidth-300/2+Form.left, Form.cheight-292/2+Form.top, 400, |
110 | 410+skin_height,0x34,system.color.work,TITLE_SETT,0); |
112 | 410+skin_height,0x34,system.color.work,TITLE_SETT,0); |
- | 113 | GetProcessInfo(#Settings, SelfInfo); |
|
111 | DrawSettingsCheckBoxes(); |
114 | DrawSettingsCheckBoxes(); |
112 | } |
115 | } |
113 | } |
116 | } |
114 | } |
117 | } |