diff options
Diffstat (limited to 'amiga/gui.c')
-rw-r--r-- | amiga/gui.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index f7c9b92a5..8c2f43e73 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -4545,12 +4545,6 @@ void gui_window_set_scroll(struct gui_window *g, int sx, int sy) // g->shared->new_content = false; } -void gui_window_scroll_visible(struct gui_window *g, int x0, int y0, - int x1, int y1) -{ - gui_window_set_scroll(g, x0, y0); -} - void gui_window_get_dimensions(struct gui_window *g, int *width, int *height, bool scaled) { @@ -4825,7 +4819,7 @@ void gui_window_remove_caret(struct gui_window *g) g->c_h = 0; } -void gui_window_new_content(struct gui_window *g) +static void gui_window_new_content(struct gui_window *g) { hlcache_handle *c; @@ -4845,11 +4839,6 @@ void gui_window_new_content(struct gui_window *g) ami_gui_update_hotlist_button(g->shared); } -bool gui_window_scroll_start(struct gui_window *g) -{ - return true; -} - static bool gui_window_drag_start(struct gui_window *g, gui_drag_type type, const struct rect *rect) { @@ -5102,6 +5091,7 @@ static struct gui_window_table ami_window_table = { .set_url = gui_window_set_url, .drag_start = gui_window_drag_start, + .new_content = gui_window_new_content, .start_throbber = gui_window_start_throbber, .stop_throbber = gui_window_stop_throbber, |