Added parameter to /close

2,3,4,5,6,7,8,9,0 will close specified window.
'all' will close all windows.

closes #159
This commit is contained in:
James Booth
2013-05-12 22:57:36 +01:00
parent c1ee75da40
commit 57e64bebe5
3 changed files with 114 additions and 26 deletions

View File

@@ -69,11 +69,17 @@ void ui_console_dirty(void);
void ui_close_current(void);
void ui_clear_current(void);
win_type_t ui_current_win_type(void);
int ui_current_win_index(void);
char* ui_current_recipient(void);
void ui_current_print_line(const char * const msg, ...);
void ui_current_error_line(const char * const msg);
void ui_current_page_off(void);
win_type_t ui_win_type(int index);
char * ui_recipient(int index);
void ui_close_win(int index);
gboolean ui_win_exists(int index);
// ui events
void ui_contact_typing(const char * const from);
void ui_incoming_msg(const char * const from, const char * const message,