Implementation of Main pannel selection of sessions from recent history

AND from folder listing. Re-implementation in C++17 style of
SystemToolkit.
This commit is contained in:
brunoherbelin
2020-07-01 00:16:43 +02:00
parent 1309a479b5
commit d4b793ceb6
7 changed files with 264 additions and 106 deletions

View File

@@ -64,6 +64,7 @@ struct History
bool save_on_exit;
History() {
path = "Recent Files";
load_at_start = false;
save_on_exit = false;
}
@@ -98,6 +99,7 @@ struct Application
float scale;
int accent_color;
bool pannel_stick;
bool smooth_transition;
// Settings of widgets
WidgetsConfig widget;
@@ -116,12 +118,14 @@ struct Application
// recent files histories
History recentSessions;
History recentFolders;
History recentImport;
Application() : name(APP_NAME){
scale = 1.f;
accent_color = 0;
pannel_stick = false;
smooth_transition = true;
current_view = 1;
render_view_ar = 3;