summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-07-14 20:42:46 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-07-14 20:42:46 (GMT)
commit24d47dfce830d44fd435805124f1727f24baf24b (patch)
tree506eb9868abed5657d64a724eeba009388030650 /src/core
parent1d8637561d127fb7b87f9eeae8109d64608180b2 (diff)
Added an option to select the case of displayed hex data.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/params.c3
-rw-r--r--src/core/params.h1
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"