diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-06-18 06:31:42 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-06-18 06:31:58 (GMT) |
commit | 53edb30496d1065019406de16f9f9d96ba61cd3c (patch) | |
tree | 162cad07e27a01990d721f69f3270581417c31e7 /src/glibext/options | |
parent | 334126eb659bc310a72a9f7f9238b7cd205a0770 (diff) |
Rebuild hex views for large contents.
Diffstat (limited to 'src/glibext/options')
-rw-r--r-- | src/glibext/options/hex.c | 2 | ||||
-rw-r--r-- | src/glibext/options/hex.h | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/glibext/options/hex.c b/src/glibext/options/hex.c index 5804a57..ab461a7 100644 --- a/src/glibext/options/hex.c +++ b/src/glibext/options/hex.c @@ -101,7 +101,7 @@ static void g_hex_options_init(GHexOptions *options) #endif (const char *[]) { _("Offset") }, (const bool []) { true }, - 1); + HCO_COUNT); assert(status); diff --git a/src/glibext/options/hex.h b/src/glibext/options/hex.h index 48ce942..0d187dc 100644 --- a/src/glibext/options/hex.h +++ b/src/glibext/options/hex.h @@ -29,6 +29,16 @@ +/* Liste des colonnes en options */ +typedef enum _HexColumnOptions +{ + HCO_OFFSET, /* Position */ + + HCO_COUNT + +} HexColumnOptions; + + #define G_TYPE_HEX_OPTIONS (g_hex_options_get_type()) DECLARE_GTYPE(GHexOptions, g_hex_options, G, HEX_OPTIONS); |