aboutsummaryrefslogtreecommitdiffhomepage
path: root/interface-ncurses.h
diff options
context:
space:
mode:
Diffstat (limited to 'interface-ncurses.h')
-rw-r--r--interface-ncurses.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/interface-ncurses.h b/interface-ncurses.h
index 9469cfc..28f2e72 100644
--- a/interface-ncurses.h
+++ b/interface-ncurses.h
@@ -18,17 +18,25 @@ extern class InterfaceNCurses : public Interface {
Scintilla *sci;
+ WINDOW *info_window;
+ gchar *info_current;
WINDOW *sci_window;
WINDOW *msg_window;
WINDOW *cmdline_window;
gchar *cmdline_current;
- WINDOW *popup_window;
- GSList *popup_list;
- gint popup_list_longest;
- gint popup_list_length;
+ struct Popup {
+ WINDOW *window;
+ GSList *list;
+ gint longest;
+ gint length;
+
+ Popup() : window(NULL), list(NULL), longest(0), length(0) {}
+ ~Popup();
+ } popup;
void resize_all_windows(void);
+ void draw_info(void);
public:
InterfaceNCurses();
@@ -42,6 +50,9 @@ public:
return scintilla_send_message(sci, iMessage, wParam, lParam);
}
+ void info_update(QRegister *reg);
+ void info_update(Buffer *buffer);
+
void cmdline_update(const gchar *cmdline = NULL);
void popup_add_filename(PopupFileType type,