Rev 5997 | Rev 6039 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5997 | Rev 6008 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | else if (id==22) info_after_copy ^= 1; |
51 | else if (id==22) info_after_copy ^= 1; |
52 | else if (id==24) two_panels ^= true; |
52 | else if (id==24) two_panels ^= true; |
53 | else if (id==25) { files.item_h++; files_active.item_h = files_inactive.item_h = files.item_h; } |
53 | else if (id==25) { files.item_h++; files_active.item_h = files_inactive.item_h = files.item_h; } |
54 | else if (id==26) && (files.item_h>18) files.item_h--; |
54 | else if (id==26) && (files.item_h>18) files.item_h--; |
55 | //else if (id==29) smooth_font ^= true; |
55 | else if (id==30) { label.size.pt++; IF(!label.changeSIZE()) label.size.pt--; BigFontsChange(); } |
56 | else if (id==30) { label.size.pt++; IF(!label.changeSIZE()) label.size.pt--; BigFontsChange(); } |
- | |
57 | else if (id==31) { label.size.pt--; IF(!label.changeSIZE()) label.size.pt++; BigFontsChange(); } |
56 | else if (id==31) { label.size.pt--; IF(!label.changeSIZE()) label.size.pt++; BigFontsChange(); } |
58 | EventRedrawWindow(Form.left,Form.top); |
57 | EventRedrawWindow(Form.left,Form.top); |
59 | DrawSettingsCheckBoxes(); |
58 | DrawSettingsCheckBoxes(); |
60 | break; |
59 | break; |
61 | 60 | ||
Line 64... | Line 63... | ||
64 | if (key_scancode==SCAN_CODE_ESC) ExitSettings(); |
63 | if (key_scancode==SCAN_CODE_ESC) ExitSettings(); |
65 | break; |
64 | break; |
66 | 65 | ||
Line 67... | Line 66... | ||
67 | case evReDraw: |
66 | case evReDraw: |
68 | DefineAndDrawWindow(Form.left + Form.width/2-10, Form.top + Form.height/2 - 75, 300, 240+GetSkinHeight(),0x34,system.color.work,TITLE_SETT); |
67 | DefineAndDrawWindow(Form.left + Form.width/2-10, Form.top + Form.height/2 - 75, 370, 243+GetSkinHeight(),0x34,system.color.work,TITLE_SETT); |
69 | DrawSettingsCheckBoxes(); |
68 | DrawSettingsCheckBoxes(); |
70 | DrawFlatButton(9, 166, strlen(SAVE_PATH_AS_DEFAULT)+4*6, 22, 6, 0xE4DFE1, SAVE_PATH_AS_DEFAULT); |
69 | DrawFlatButton(9, 166, strlen(SAVE_PATH_AS_DEFAULT)+3*8, 24, 6, 0xE4DFE1, SAVE_PATH_AS_DEFAULT); |
71 | DrawFlatButton(9, 198, strlen(EDIT_FILE_ASSOCIATIONS)+4*6, 22, 5, 0xE4DFE1, EDIT_FILE_ASSOCIATIONS); |
70 | DrawFlatButton(9, 200, strlen(EDIT_FILE_ASSOCIATIONS)+3*8, 24, 5, 0xE4DFE1, EDIT_FILE_ASSOCIATIONS); |
72 | } |
71 | } |
73 | } |
72 | } |
74 | } |
73 | } |
Line 75... | Line 74... | ||
75 | 74 |