mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
Redrawing fixes - irssi should now rarely redraw stuff uselessly in screen.
Most of the code now just marks the window/statusbar/etc. as dirty, and lets the dirty-checker handle it later. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1926 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
44b12481d6
commit
fb439b5c2a
16 changed files with 348 additions and 123 deletions
|
|
@ -23,8 +23,8 @@ typedef struct {
|
|||
int statusbar_lines_bottom;
|
||||
int statusbar_lines; /* top+bottom */
|
||||
|
||||
int resize_freeze_counter;
|
||||
unsigned int resize_needed:1; /* We'll need to resize the window, but haven't got around doing it just yet. */
|
||||
unsigned int dirty:1; /* This window needs a redraw */
|
||||
unsigned int size_dirty:1; /* We'll need to resize the window, but haven't got around doing it just yet. */
|
||||
} MAIN_WINDOW_REC;
|
||||
|
||||
extern GSList *mainwindows;
|
||||
|
|
@ -53,8 +53,7 @@ void mainwindow_change_active(MAIN_WINDOW_REC *mainwin,
|
|||
int mainwindows_reserve_lines(int top, int bottom);
|
||||
int mainwindow_set_statusbar_lines(MAIN_WINDOW_REC *window,
|
||||
int top, int bottom);
|
||||
void mainwindow_resize_freeze(MAIN_WINDOW_REC *window);
|
||||
void mainwindow_resize_thaw(MAIN_WINDOW_REC *window);
|
||||
void mainwindows_redraw_dirty(void);
|
||||
|
||||
GSList *mainwindows_get_sorted(int reverse);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue