summaryrefslogtreecommitdiff
path: root/src/gui/gui-action.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-04-18 12:56:21 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-04-18 12:56:21 +0200
commitb31c3efc8afafea429b11644e3509bda76188558 (patch)
tree47a5f29ecf4ad7dbc6d708066771cfa8d10b6261 /src/gui/gui-action.c
parente349ae491a9ce9bebd38b14e41c95aabe694a7ed (diff)
downloadweechat-b31c3efc8afafea429b11644e3509bda76188558.zip
Use of /window command for some key bindings with actions on current window (like scroll, ..)
Diffstat (limited to 'src/gui/gui-action.c')
-rw-r--r--src/gui/gui-action.c243
1 files changed, 0 insertions, 243 deletions
diff --git a/src/gui/gui-action.c b/src/gui/gui-action.c
index 36bf593a3..b4eb9ff89 100644
--- a/src/gui/gui-action.c
+++ b/src/gui/gui-action.c
@@ -932,162 +932,6 @@ gui_action_down_global (char *args)
}
/*
- * gui_action_page_up: display previous page on buffer
- */
-
-void
-gui_action_page_up (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_page_up (gui_current_window);
-}
-
-/*
- * gui_action_page_down: display next page on buffer
- */
-
-void
-gui_action_page_down (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_page_down (gui_current_window);
-}
-
-/*
- * gui_action_scroll_up: display previous few lines in buffer
- */
-
-void
-gui_action_scroll_up (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_scroll_up (gui_current_window);
-}
-
-/*
- * gui_action_scroll_down: display next few lines in buffer
- */
-
-void
-gui_action_scroll_down (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_scroll_down (gui_current_window);
-}
-
-/*
- * gui_action_scroll_top: scroll to top of buffer
- */
-
-void
-gui_action_scroll_top (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_scroll_top (gui_current_window);
-}
-
-/*
- * gui_action_scroll_bottom: scroll to bottom of buffer
- */
-
-void
-gui_action_scroll_bottom (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_scroll_bottom (gui_current_window);
-}
-
-/*
- * gui_action_scroll_topic_left: scroll left topic
- */
-
-void
-gui_action_scroll_topic_left (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_scroll_topic_left (gui_current_window);
-}
-
-/*
- * gui_action_scroll_topic_right: scroll right topic
- */
-
-void
-gui_action_scroll_topic_right (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_scroll_topic_right (gui_current_window);
-}
-
-/*
- * gui_action_nick_beginning: go to beginning of nicklist
- */
-
-void
-gui_action_nick_beginning (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_nick_beginning (gui_current_window);
-}
-
-/*
- * gui_action_nick_end: go to the end of nicklist
- */
-
-void
-gui_action_nick_end (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_nick_end (gui_current_window);
-}
-
-/*
- * gui_action_nick_page_up: scroll one page up in nicklist
- */
-
-void
-gui_action_nick_page_up (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_nick_page_up (gui_current_window);
-}
-
-/*
- * gui_action_nick_page_down: scroll one page down in nicklist
- */
-
-void
-gui_action_nick_page_down (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_nick_page_down (gui_current_window);
-}
-
-/*
* gui_action_jump_smart: jump to buffer with activity (alt-A by default)
*/
@@ -1274,80 +1118,6 @@ gui_action_switch_server (char *args)
}
/*
- * gui_action_scroll_previous_highlight: scroll to previous highlight
- */
-
-void
-gui_action_scroll_previous_highlight (char *args)
-{
- //t_gui_line *ptr_line;
-
- /* make C compiler happy */
- (void) args;
-
- /*if ((gui_current_window->buffer->type == GUI_BUFFER_TYPE_FORMATED)
- && (gui_current_window->buffer->text_search == GUI_TEXT_SEARCH_DISABLED))
- {
- if (gui_current_window->buffer->lines)
- {
- ptr_line = (window->start_line) ?
- window->start_line->prev_line : gui_current_window->buffer->last_line;
- while (ptr_line)
- {
- if (ptr_line->line_with_highlight)
- {
- window->start_line = ptr_line;
- window->start_line_pos = 0;
- window->first_line_displayed =
- (window->start_line == gui_current_window->buffer->lines);
- gui_buffer_ask_chat_refresh (gui_current_window->buffer, 1);
- gui_buffer_ask_input_refresh (gui_current_window->buffer, 1);
- return;
- }
- ptr_line = ptr_line->prev_line;
- }
- }
- }*/
-}
-
-/*
- * gui_action_scroll_next_highlight: scroll to next highlight
- */
-
-void
-gui_action_scroll_next_highlight (char *args)
-{
- //t_gui_line *ptr_line;
-
- /* make C compiler happy */
- (void) args;
-
- /*if ((gui_current_window->buffer->type == GUI_BUFFER_TYPE_FORMATED)
- && (gui_current_window->buffer->text_search == GUI_TEXT_SEARCH_DISABLED))
- {
- if (gui_current_window->buffer->lines)
- {
- ptr_line = (window->start_line) ?
- window->start_line->next_line : gui_current_window->buffer->lines->next_line;
- while (ptr_line)
- {
- if (ptr_line->line_with_highlight)
- {
- window->start_line = ptr_line;
- window->start_line_pos = 0;
- window->first_line_displayed =
- (window->start_line == gui_current_window->buffer->lines);
- gui_buffer_ask_chat_refresh (gui_current_window->buffer, 1);
- gui_buffer_ask_input_refresh (gui_current_window->buffer, 1);
- return;
- }
- ptr_line = ptr_line->next_line;
- }
- }
- }*/
-}
-
-/*
* gui_action_scroll_unread: scroll to first unread line of buffer
*/
@@ -1433,19 +1203,6 @@ gui_action_infobar_clear (char *args)
}
/*
- * gui_action_refresh: refresh screen
- */
-
-void
-gui_action_refresh_screen (char *args)
-{
- /* make C compiler happy */
- (void) args;
-
- gui_window_refresh_screen (1);
-}
-
-/*
* gui_action_grab_key: init "grab key mode" (next key will be inserted into input buffer)
*/