Removed title_bar_show from UI module
This commit is contained in:
@@ -35,6 +35,7 @@ static GTimer *typing_elapsed;
|
|||||||
|
|
||||||
static contact_presence_t current_presence;
|
static contact_presence_t current_presence;
|
||||||
|
|
||||||
|
static void _title_bar_show(const char * const title);
|
||||||
static void _title_bar_draw_title(void);
|
static void _title_bar_draw_title(void);
|
||||||
static void _title_bar_draw_presence(void);
|
static void _title_bar_draw_presence(void);
|
||||||
|
|
||||||
@@ -57,7 +58,7 @@ _title_bar_console(void)
|
|||||||
werase(win);
|
werase(win);
|
||||||
recipient = NULL;
|
recipient = NULL;
|
||||||
typing_elapsed = NULL;
|
typing_elapsed = NULL;
|
||||||
title_bar_show("Profanity. Type /help for help information.");
|
_title_bar_show("Profanity. Type /help for help information.");
|
||||||
_title_bar_draw_presence();
|
_title_bar_draw_presence();
|
||||||
wrefresh(win);
|
wrefresh(win);
|
||||||
inp_put_back();
|
inp_put_back();
|
||||||
@@ -239,7 +240,6 @@ titlebar_init_module(void)
|
|||||||
title_bar_console = _title_bar_console;
|
title_bar_console = _title_bar_console;
|
||||||
title_bar_resize = _title_bar_resize;
|
title_bar_resize = _title_bar_resize;
|
||||||
title_bar_refresh = _title_bar_refresh;
|
title_bar_refresh = _title_bar_refresh;
|
||||||
title_bar_show = _title_bar_show;
|
|
||||||
title_bar_set_presence = _title_bar_set_presence;
|
title_bar_set_presence = _title_bar_set_presence;
|
||||||
title_bar_set_recipient = _title_bar_set_recipient;
|
title_bar_set_recipient = _title_bar_set_recipient;
|
||||||
title_bar_set_typing = _title_bar_set_typing;
|
title_bar_set_typing = _title_bar_set_typing;
|
||||||
|
|||||||
@@ -154,7 +154,6 @@ void (*create_input_window)(void);
|
|||||||
// title bar actions
|
// title bar actions
|
||||||
void (*title_bar_refresh)(void);
|
void (*title_bar_refresh)(void);
|
||||||
void (*title_bar_resize)(void);
|
void (*title_bar_resize)(void);
|
||||||
void (*title_bar_show)(const char * const title);
|
|
||||||
void (*title_bar_console)(void);
|
void (*title_bar_console)(void);
|
||||||
void (*title_bar_set_presence)(contact_presence_t presence);
|
void (*title_bar_set_presence)(contact_presence_t presence);
|
||||||
void (*title_bar_set_recipient)(const char * const from);
|
void (*title_bar_set_recipient)(const char * const from);
|
||||||
|
|||||||
Reference in New Issue
Block a user