From 06e06d6ea67f10ececd7232471505e7d8f36d509 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 16 Sep 2013 19:15:13 +0100 Subject: remove print_status from UserInterface, pass status line to draw Client store the current status line. This way calls to print status do not force the user interface to display directly. --- src/user_interface.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user_interface.hh') diff --git a/src/user_interface.hh b/src/user_interface.hh index 2e2b6171..0f9c3a35 100644 --- a/src/user_interface.hh +++ b/src/user_interface.hh @@ -26,7 +26,6 @@ class UserInterface : public SafeCountable { public: virtual ~UserInterface() {} - virtual void print_status(const DisplayLine& status) = 0; virtual void menu_show(memoryview choices, DisplayCoord anchor, ColorPair fg, ColorPair bg, @@ -39,6 +38,7 @@ public: virtual void info_hide() = 0; virtual void draw(const DisplayBuffer& display_buffer, + const DisplayLine& status_line, const DisplayLine& mode_line) = 0; virtual DisplayCoord dimensions() = 0; virtual bool is_key_available() = 0; -- cgit v1.2.3