X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Ffe-text%2Fgui-windows.h;fp=apps%2Firssi%2Fsrc%2Ffe-text%2Fgui-windows.h;h=0000000000000000000000000000000000000000;hb=72c2de619079457f7a68100eb13385275a424a23;hp=9d4afac7a4df2cff1ffc6f5f3e2b7563c80d227a;hpb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;p=runtime.git diff --git a/apps/irssi/src/fe-text/gui-windows.h b/apps/irssi/src/fe-text/gui-windows.h deleted file mode 100644 index 9d4afac7..00000000 --- a/apps/irssi/src/fe-text/gui-windows.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef __GUI_WINDOWS_H -#define __GUI_WINDOWS_H - -#include "mainwindows.h" -#include "textbuffer-view.h" - -#define WINDOW_GUI(a) ((GUI_WINDOW_REC *) ((a)->gui_data)) -#define WINDOW_MAIN(a) (WINDOW_GUI(a)->parent) - -#define is_window_visible(win) \ - (WINDOW_GUI(win)->parent->active == (win)) - -typedef struct { - MAIN_WINDOW_REC *parent; - TEXT_BUFFER_VIEW_REC *view; - - unsigned int scroll:1; - unsigned int use_scroll:1; - - unsigned int sticky:1; - unsigned int use_insert_after:1; - LINE_REC *insert_after; -} GUI_WINDOW_REC; - -void gui_windows_init(void); -void gui_windows_deinit(void); - -WINDOW_REC *gui_window_create(MAIN_WINDOW_REC *parent); - -void gui_window_resize(WINDOW_REC *window, int width, int height); -void gui_window_reparent(WINDOW_REC *window, MAIN_WINDOW_REC *parent); - -#define gui_window_redraw(window) \ - textbuffer_view_redraw(WINDOW_GUI(window)->view) - -void gui_window_scroll(WINDOW_REC *window, int lines); -void gui_window_scroll_line(WINDOW_REC *window, LINE_REC *line); - -void gui_window_set_sticky(WINDOW_REC *window); -void gui_window_set_unsticky(WINDOW_REC *window); - -void gui_windows_reset_settings(void); - -#endif