diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-07-14 20:42:46 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-07-14 20:42:46 (GMT) |
commit | 24d47dfce830d44fd435805124f1727f24baf24b (patch) | |
tree | 506eb9868abed5657d64a724eeba009388030650 /src/core | |
parent | 1d8637561d127fb7b87f9eeae8109d64608180b2 (diff) |
Added an option to select the case of displayed hex data.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/params.c | 3 | ||||
-rw-r--r-- | src/core/params.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/params.c b/src/core/params.c index 4e89e2c..109593d 100644 --- a/src/core/params.c +++ b/src/core/params.c @@ -86,6 +86,9 @@ 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_HEX_UPPER_CASE, CPT_BOOLEAN, true); + 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; diff --git a/src/core/params.h b/src/core/params.h index b2c72c9..6c4c062 100644 --- a/src/core/params.h +++ b/src/core/params.h @@ -47,6 +47,7 @@ #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_HEX_UPPER_CASE "gui.editor.views.hex.upper_case" #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" |