cmm apps: various fixes

git-svn-id: svn://kolibrios.org@7004 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2017-09-23 11:02:57 +00:00
parent a83abc4c5f
commit 52a56199a3
6 changed files with 13 additions and 15 deletions

View File

@@ -122,17 +122,15 @@ void DrawSettingsCheckBoxes()
path_start_ed.top = y.inc(23);
path_start_ed.left = x;
DrawEditBox(#path_start_ed);
but_x = DrawFlatButton(x-1, y.inc(34), 6, SAVE_PATH_AS_DEFAULT);
DrawFlatButton(x-1+but_x, y.inc(0), 7, SAVE_START_PATH_AS_DEFAULT);
DrawFlatButton(x-1, y.inc(38), 5, EDIT_FILE_ASSOCIATIONS);
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);
}
void LoadIniSettings()
{
files.SetFont(6, 9, 10000000b);
FileShow.font_size_x = files.font_w;
FileShow.font_number = 0;
ini_get_int stdcall (eolite_ini_path, #config_section, "ShowDeviceName", 1); show_dev_name = EAX;
ini_get_int stdcall (eolite_ini_path, #config_section, "ShowStatusBar", 1); show_status_bar = EAX;
ini_get_int stdcall (eolite_ini_path, #config_section, "RealFileNamesCase", 1); real_files_names_case = EAX;