diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/params.c | 12 | ||||
-rw-r--r-- | src/core/params.h | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/core/params.c b/src/core/params.c index 8d9a035..9cb540e 100644 --- a/src/core/params.c +++ b/src/core/params.c @@ -204,6 +204,18 @@ bool load_main_config_parameters(void) param = g_generic_config_create_param(config, MPK_TOOLTIP_MAX_STRINGS, CPT_INTEGER, 5); if (param == NULL) return false; + param = g_generic_config_create_param(config, MPK_LINK_DEFAULT, CPT_COLOR, ((GdkRGBA []) {{ 0, 0, 0, 1.0 }})); + if (param == NULL) return false; + + param = g_generic_config_create_param(config, MPK_LINK_BRANCH_TRUE, CPT_COLOR, ((GdkRGBA []) {{ 0, 0.6, 0, 1.0 }})); + if (param == NULL) return false; + + param = g_generic_config_create_param(config, MPK_LINK_BRANCH_FALSE, CPT_COLOR, ((GdkRGBA []) {{ 0.8, 0, 0, 1.0 }})); + if (param == NULL) return false; + + param = g_generic_config_create_param(config, MPK_LINK_LOOP, CPT_COLOR, ((GdkRGBA []) {{ 0, 0, 0.8, 1.0 }})); + if (param == NULL) return false; + param = g_generic_config_create_param(config, MPK_KEYBINDINGS_EDIT, CPT_STRING, "<Shift>F2"); if (param == NULL) return false; diff --git a/src/core/params.h b/src/core/params.h index 21fffd7..85f4084 100644 --- a/src/core/params.h +++ b/src/core/params.h @@ -62,6 +62,10 @@ #define MPK_SELECTION_LINE "gui.editor.views.selection_line" #define MPK_TOOLTIP_MAX_CALLS "gui.editor.views.tooltip_max_calls" #define MPK_TOOLTIP_MAX_STRINGS "gui.editor.views.tooltip_max_strings" +#define MPK_LINK_DEFAULT "gui.editor.graph.link.default" +#define MPK_LINK_BRANCH_TRUE "gui.editor.graph.link.branch_true" +#define MPK_LINK_BRANCH_FALSE "gui.editor.graph.link.branch_false" +#define MPK_LINK_LOOP "gui.editor.graph.link.loop" #define MPK_KEYBINDINGS_EDIT "gui.key_bindings.global.edit" #define MPK_TMPDIR "misc.tmpdir" #define MPK_AUTO_SAVE "project.autosave" |