author | Max Kellermann <max@duempel.org> | |
Sat, 10 Oct 2009 15:45:23 +0000 (17:45 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sat, 10 Oct 2009 15:45:23 +0000 (17:45 +0200) | ||
commit | c195305a585b8c0c0780004a42805d53a6bd55f3 | |
tree | c33aae5dcb680b8020c5a0f2328d90c8da255a18 | tree | snapshot |
parent | 2d5758c66089501bd41015c718dfb3eeb934373f | commit | diff |
list_window: moved auto-scrolling code to list_window_check_origin()
Moved code from list_window_paint(). Call it in list_window_resize(),
list_window_set_length(), list_window_set_cursor(),
list_window_move_cursor(). Now that all the modifying code has been
removed from list_window_paint(), we can pass a const object to that
function.
Moved code from list_window_paint(). Call it in list_window_resize(),
list_window_set_length(), list_window_set_cursor(),
list_window_move_cursor(). Now that all the modifying code has been
removed from list_window_paint(), we can pass a const object to that
function.
src/list_window.c | diff | blob | history | |
src/list_window.h | diff | blob | history |