summaryrefslogtreecommitdiff
path: root/src/gui_hexdump.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-07-29 01:36:05 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-07-29 01:36:05 +0200
commit965e7208ad8a22c2e203e94258ec1dc42ee531ef (patch)
tree6787b732ca77975ab0e966d0a18f1f14c104a2c6 /src/gui_hexdump.hh
parentee34164a6c1c4f905332cfcfef938a0ccb48333b (diff)
Reuse HexDump in monitor-cmd
Diffstat (limited to 'src/gui_hexdump.hh')
-rw-r--r--src/gui_hexdump.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui_hexdump.hh b/src/gui_hexdump.hh
index d3c41cf..f21479e 100644
--- a/src/gui_hexdump.hh
+++ b/src/gui_hexdump.hh
@@ -11,7 +11,10 @@ class HexDump {
public:
static uint8_t const ADDRESS;
static uint8_t const CHARS;
+ static uint8_t const ASCII;
+ static void write(AttributedText* text, uint8_t flags, char const* data,
+ size_t start, size_t length);
static void write(AttributedText* text, uint8_t flags, std::string const& data,
size_t start = 0, size_t length = std::string::npos);