summaryrefslogtreecommitdiff
path: root/src/remote.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-11-08 17:59:38 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-11-08 18:01:55 +0000
commite1fc2677e3a01b779c689a971cd2207ef08746d7 (patch)
tree632d806ab78dde010c73c69676b0413088304d6a /src/remote.cc
parent484fffc288d0ce2a29ab1737b5c6122fa67dc5ac (diff)
Add a MenuDoc style for info box, that will place it next to the menu
Diffstat (limited to 'src/remote.cc')
-rw-r--r--src/remote.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/remote.cc b/src/remote.cc
index 7ca652f7..b7a4b4cf 100644
--- a/src/remote.cc
+++ b/src/remote.cc
@@ -256,7 +256,7 @@ public:
void info_show(StringView title, StringView content,
CharCoord anchor, Face face,
- MenuStyle style) override;
+ InfoStyle style) override;
void info_hide() override;
void draw(const DisplayBuffer& display_buffer,
@@ -323,7 +323,7 @@ void RemoteUI::menu_hide()
void RemoteUI::info_show(StringView title, StringView content,
CharCoord anchor, Face face,
- MenuStyle style)
+ InfoStyle style)
{
Message msg(m_socket_watcher.fd());
msg.write(RemoteUIMsg::InfoShow);
@@ -490,7 +490,7 @@ void RemoteClient::process_next_message()
auto content = read<String>(socket);
auto anchor = read<CharCoord>(socket);
auto face = read<Face>(socket);
- auto style = read<MenuStyle>(socket);
+ auto style = read<InfoStyle>(socket);
m_ui->info_show(title, content, anchor, face, style);
break;
}