mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Removed ui_ paging functions
This commit is contained in:
parent
4fa2efc7ca
commit
8195ab42cb
@ -185,34 +185,6 @@ ui_close(void)
|
|||||||
endwin();
|
endwin();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
ui_page_up(void)
|
|
||||||
{
|
|
||||||
ProfWin *current = wins_get_current();
|
|
||||||
win_page_up(current);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
ui_page_down(void)
|
|
||||||
{
|
|
||||||
ProfWin *current = wins_get_current();
|
|
||||||
win_page_down(current);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
ui_subwin_page_up(void)
|
|
||||||
{
|
|
||||||
ProfWin *current = wins_get_current();
|
|
||||||
win_sub_page_up(current);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
ui_subwin_page_down(void)
|
|
||||||
{
|
|
||||||
ProfWin *current = wins_get_current();
|
|
||||||
win_sub_page_down(current);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ui_input_nonblocking(gboolean reset)
|
ui_input_nonblocking(gboolean reset)
|
||||||
{
|
{
|
||||||
|
@ -553,27 +553,31 @@ _inp_rl_altright_handler(int count, int key)
|
|||||||
static int
|
static int
|
||||||
_inp_rl_pageup_handler(int count, int key)
|
_inp_rl_pageup_handler(int count, int key)
|
||||||
{
|
{
|
||||||
ui_page_up();
|
ProfWin *current = wins_get_current();
|
||||||
|
win_page_up(current);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_inp_rl_pagedown_handler(int count, int key)
|
_inp_rl_pagedown_handler(int count, int key)
|
||||||
{
|
{
|
||||||
ui_page_down();
|
ProfWin *current = wins_get_current();
|
||||||
|
win_page_down(current);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_inp_rl_altpageup_handler(int count, int key)
|
_inp_rl_altpageup_handler(int count, int key)
|
||||||
{
|
{
|
||||||
ui_subwin_page_up();
|
ProfWin *current = wins_get_current();
|
||||||
|
win_sub_page_up(current);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_inp_rl_altpagedown_handler(int count, int key)
|
_inp_rl_altpagedown_handler(int count, int key)
|
||||||
{
|
{
|
||||||
ui_subwin_page_down();
|
ProfWin *current = wins_get_current();
|
||||||
|
win_sub_page_down(current);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -217,10 +217,6 @@ gboolean ui_tidy_wins(void);
|
|||||||
void ui_prune_wins(void);
|
void ui_prune_wins(void);
|
||||||
gboolean ui_swap_wins(int source_win, int target_win);
|
gboolean ui_swap_wins(int source_win, int target_win);
|
||||||
|
|
||||||
void ui_page_up(void);
|
|
||||||
void ui_page_down(void);
|
|
||||||
void ui_subwin_page_up(void);
|
|
||||||
void ui_subwin_page_down(void);
|
|
||||||
void ui_clear_win(ProfWin *window);
|
void ui_clear_win(ProfWin *window);
|
||||||
|
|
||||||
void ui_auto_away(char *message, gint time, resource_presence_t res_presence);
|
void ui_auto_away(char *message, gint time, resource_presence_t res_presence);
|
||||||
|
@ -153,10 +153,6 @@ int ui_win_unread(int index)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ui_page_up(void) {}
|
|
||||||
void ui_page_down(void) {}
|
|
||||||
void ui_subwin_page_up(void) {}
|
|
||||||
void ui_subwin_page_down(void) {}
|
|
||||||
void ui_clear_win(ProfWin *window) {}
|
void ui_clear_win(ProfWin *window) {}
|
||||||
|
|
||||||
char * ui_ask_password(void)
|
char * ui_ask_password(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user