diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-01-12 22:55:26 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-01-12 22:55:26 +0000 |
commit | 4b49b4ac775a1e3ca0c59f390f3f2427e31bce2b (patch) | |
tree | 311a26dd1e0d387172cfd28d83a6e92b6d2538f4 /atari | |
parent | b7736bae2f37675be55b1c89d33b03e8603b2946 (diff) | |
download | netsurf-4b49b4ac775a1e3ca0c59f390f3f2427e31bce2b.tar.gz netsurf-4b49b4ac775a1e3ca0c59f390f3f2427e31bce2b.tar.bz2 |
move more optional window operations into table including removing unused hide_pointer operation altogether
Diffstat (limited to 'atari')
-rw-r--r-- | atari/gui.c | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/atari/gui.c b/atari/gui.c index 24577c5aa..7aa0dee07 100644 --- a/atari/gui.c +++ b/atari/gui.c @@ -418,13 +418,6 @@ void gui_window_set_scroll(struct gui_window *w, int sx, int sy) } -void gui_window_scroll_visible(struct gui_window *w, int x0, int y0, int x1, int y1) -{ - LOG(("%s:(%p, %d, %d, %d, %d)", __func__, w, x0, y0, x1, y1)); - gui_window_set_scroll(w,x0,y0); -} - - /* It seems this method is called when content size got adjusted, so that we can adjust scroll info. We also have to call it when tab change occurs. @@ -534,11 +527,6 @@ void gui_window_set_pointer(struct gui_window *gw, gui_pointer_shape shape) } } -void gui_window_hide_pointer(struct gui_window *w) -{ - TODO(); -} - static void gui_window_set_url(struct gui_window *w, const char *url) { @@ -658,7 +646,7 @@ gui_window_set_icon(struct gui_window *g, hlcache_handle *icon) } } -void gui_window_new_content(struct gui_window *w) +static void gui_window_new_content(struct gui_window *w) { struct gemtk_wm_scroll_info_s *slid = gemtk_wm_get_scroll_info(w->root->win); slid->x_pos = 0; @@ -667,13 +655,6 @@ void gui_window_new_content(struct gui_window *w) gui_window_redraw_window(w); } -bool gui_window_scroll_start(struct gui_window *w) -{ - TODO(); - return true; -} - - void gui_drag_save_object(gui_save_type type, hlcache_handle *c, struct gui_window *w) { @@ -1094,6 +1075,7 @@ static struct gui_window_table atari_window_table = { .set_url = gui_window_set_url, .set_icon = gui_window_set_icon, + .new_content = gui_window_new_content, .start_throbber = gui_window_start_throbber, .stop_throbber = gui_window_stop_throbber, }; |