Rev 7244 | Rev 7252 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7244 | Rev 7245 | ||
---|---|---|---|
Line 23... | Line 23... | ||
23 | ?define BIG_ICONS "Big icons in list" |
23 | ?define BIG_ICONS "Big icons in list" |
24 | ?define USE_TWO_PANELS "Two panels" |
24 | ?define USE_TWO_PANELS "Two panels" |
25 | ?define FONT_SIZE_LABEL "Font size" |
25 | ?define FONT_SIZE_LABEL "Font size" |
26 | ?define LIST_LINE_HEIGHT "List line height" |
26 | ?define LIST_LINE_HEIGHT "List line height" |
27 | ?define SAVE_PATH_AS_DEFAULT "‘urrent path" |
27 | ?define SAVE_PATH_AS_DEFAULT "Current path" |
28 | ?define SAVE_START_PATH_AS_DEFAULT "Typed path" |
28 | ?define SAVE_START_PATH_AS_DEFAULT "Typed path" |
29 | ?define EDIT_FILE_ASSOCIATIONS "Edit file associations" |
29 | ?define EDIT_FILE_ASSOCIATIONS "Edit file associations" |
30 | ?define START_PATH " Start path: " |
30 | ?define START_PATH " Start path: " |
31 | #endif |
31 | #endif |
32 | 32 | ||
Line 72... | Line 72... | ||
72 | } |
72 | } |
73 | else if (id==6) |
73 | else if (id==6) |
74 | { |
74 | { |
75 | strcpy(#path_start,#path); |
75 | strcpy(#path_start,#path); |
76 | path_start_ed.size = strlen(#path_start); |
76 | path_start_ed.size = path_start_ed.pos = strlen(#path_start); |
77 | path_start_ed.pos = strlen(#path_start); |
77 | ini.SetString("DefaultPath", #path, strlen(#path)); |
78 | ini.SetString("DefaultPath", #path, strlen(#path)); |
- | |
79 | edit_box_draw stdcall (#path_start_ed); |
78 | edit_box_draw stdcall (#path_start_ed); |
80 | break; |
79 | break; |
81 | } |
80 | } |
82 | else if (id==7) |
81 | else if (id==7) |
83 | { |
82 | { |
Line 139... | Line 138... | ||
139 | line_height.draw(x, y.inc(31)); |
138 | line_height.draw(x, y.inc(31)); |
140 | 139 | ||
Line 141... | Line 140... | ||
141 | DrawFrame(x, y.inc(37), 340, 95, START_PATH); |
140 | DrawFrame(x, y.inc(37), 340, 95, START_PATH); |
142 | // START_PATH { |
141 | // START_PATH { |
143 | path_start_ed.top = y.inc(21); |
- | |
144 | path_start_ed.left = frx; |
- | |
145 | DrawEditBox(#path_start_ed); |
142 | DrawEditBoxPos(frx, y.inc(21), #path_start_ed); |
146 | but_x = DrawStandartCaptButton(frx, y.inc(34), 6, SAVE_PATH_AS_DEFAULT); |
143 | but_x = DrawStandartCaptButton(frx, y.inc(34), 6, SAVE_PATH_AS_DEFAULT); |
147 | DrawStandartCaptButton(frx+but_x, y.inc(0), 7, SAVE_START_PATH_AS_DEFAULT); |
144 | DrawStandartCaptButton(frx+but_x, y.inc(0), 7, SAVE_START_PATH_AS_DEFAULT); |
148 | // } START_PATH |
145 | // } START_PATH |
Line 149... | Line 146... | ||
149 | 146 |