Important feature: source locking and workspace.

Source locking property, views ability to test if a source is selectable, change of selection when switch view, picking testing locking and workspace.
This commit is contained in:
Bruno
2021-01-24 17:19:41 +01:00
parent b17136d23a
commit 9c0adb4ce6
10 changed files with 339 additions and 212 deletions

View File

@@ -190,6 +190,7 @@ struct Application
// Settings of Views
int current_view;
int current_workspace;
std::map<int, ViewConfig> views;
// settings render
@@ -221,6 +222,7 @@ struct Application
action_history_follow_view = false;
accept_connections = false;
current_view = 1;
current_workspace= 1;
windows = std::vector<WindowConfig>(3);
windows[0].name = APP_NAME APP_TITLE;
windows[0].w = 1600;