diff options
Diffstat (limited to 'src/client.hh')
| -rw-r--r-- | src/client.hh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client.hh b/src/client.hh index e9da7588..3fa27627 100644 --- a/src/client.hh +++ b/src/client.hh @@ -45,7 +45,8 @@ public: void menu_select(int selected); void menu_hide(); - void info_show(String title, String content, BufferCoord anchor, InfoStyle style); + void info_show(DisplayLine title, DisplayLineList content, BufferCoord anchor, InfoStyle style); + void info_show(StringView title, StringView content, BufferCoord anchor, InfoStyle style); void info_hide(bool even_modal = false); void print_status(DisplayLine status_line); @@ -119,8 +120,8 @@ private: struct Info { - String title; - String content; + DisplayLine title; + DisplayLineList content; BufferCoord anchor; Optional<DisplayCoord> ui_anchor; InfoStyle style; |
