33,7 → 33,8 |
|
dword set_mouse_dd; |
char path_start[4096]="\0"; |
edit_box path_start_ed = {290,50,57,0xffffff,0x94AECE,0xffffff,0xffffff,0x10000000,4098,#path_start,#set_mouse_dd, 100000000000010b,0,0}; |
edit_box path_start_ed = {290,50,57,0xffffff,0x94AECE,0xffffff,0xffffff,0x10000000,4098, |
#path_start,#set_mouse_dd, 100000000000010b,0,0}; |
|
void settings_dialog() |
{ |
90,7 → 91,8 |
break; |
|
case evReDraw: |
DefineAndDrawWindow(Form.cwidth-300/2+Form.left, Form.cheight-292/2+Form.top, 376, 370+skin_height,0x34,system.color.work,TITLE_SETT,0); |
DefineAndDrawWindow(Form.cwidth-300/2+Form.left, Form.cheight-292/2+Form.top, 380, |
390+skin_height,0x34,system.color.work,TITLE_SETT,0); |
DrawSettingsCheckBoxes(); |
} |
} |
107,7 → 109,7 |
void DrawSettingsCheckBoxes() |
{ |
incn y; |
int x=11, but_x; |
int x=11, frx=26, but_x; |
y.n = 0; |
CheckBox(x, y.inc(14), 20, SHOW_DEVICE_CLASS, show_dev_name); |
CheckBox(x, y.inc(25), 21, SHOW_REAL_NAMES, real_files_names_case); |
117,13 → 119,17 |
CheckBox(x, y.inc(25), 24, USE_TWO_PANELS, two_panels); |
MoreLessBox(x, y.inc(31), 30, 31, kfont.size.pt, FONT_SIZE_LABEL); |
MoreLessBox(x, y.inc(31), 25, 26, files.item_h, LIST_LINE_HEIGHT); |
WriteText(6, y.inc(28), 0xD0, system.color.work_text, START_PATH); |
path_start_ed.top = y.inc(23); |
path_start_ed.left = x; |
|
DrawFrame(x, y.inc(37), 340, 95, START_PATH); |
// START_PATH { |
path_start_ed.top = y.inc(21); |
path_start_ed.left = frx; |
DrawEditBox(#path_start_ed); |
but_x = DrawStandartCaptButton(x-1, y.inc(34), 6, SAVE_PATH_AS_DEFAULT); |
DrawStandartCaptButton(x-1+but_x, y.inc(0), 7, SAVE_START_PATH_AS_DEFAULT); |
DrawStandartCaptButton(x-1, y.inc(38), 5, EDIT_FILE_ASSOCIATIONS); |
but_x = DrawStandartCaptButton(frx, y.inc(34), 6, SAVE_PATH_AS_DEFAULT); |
DrawStandartCaptButton(frx+but_x, y.inc(0), 7, SAVE_START_PATH_AS_DEFAULT); |
// } START_PATH |
|
DrawStandartCaptButton(x, y.inc(52), 5, EDIT_FILE_ASSOCIATIONS); |
} |
|
|