summaryrefslogtreecommitdiff
path: root/frontends/amiga/theme.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-08 00:59:04 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-08 00:59:04 +0100
commit1cd30fdb3c1f163beceb0bde7485c10a886de531 (patch)
tree657b47045eb0fc6e563edf0db1ba423dce0d570b /frontends/amiga/theme.c
parentae36d35728f8622396faba7aeb58434aff2d0331 (diff)
downloadnetsurf-1cd30fdb3c1f163beceb0bde7485c10a886de531.tar.gz
netsurf-1cd30fdb3c1f163beceb0bde7485c10a886de531.tar.bz2
Move ami_(re)set_pointer (back?) into gui.c as they need to set/read the gui_window_2 structure
Diffstat (limited to 'frontends/amiga/theme.c')
-rw-r--r--frontends/amiga/theme.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/frontends/amiga/theme.c b/frontends/amiga/theme.c
index 900f465a1..275e19fc8 100644
--- a/frontends/amiga/theme.c
+++ b/frontends/amiga/theme.c
@@ -218,19 +218,6 @@ void gui_window_set_pointer(struct gui_window *g, gui_pointer_shape shape)
ami_set_pointer(ami_gui_get_gui_window_2(g), shape, true);
}
-void ami_set_pointer(struct gui_window_2 *gwin, gui_pointer_shape shape, bool update)
-{
- if(gwin->mouse_pointer == shape) return;
- ami_update_pointer(ami_gui2_get_window(gwin), shape);
- if(update == true) gwin->mouse_pointer = shape;
-}
-
-/* reset the mouse pointer back to what NetSurf last set it as */
-void ami_reset_pointer(struct gui_window_2 *gwin)
-{
- ami_update_pointer(ami_gui2_get_window(gwin), gwin->mouse_pointer);
-}
-
void ami_update_pointer(struct Window *win, gui_pointer_shape shape)
{
if(ami_drag_has_data()) return; /**\todo check this shouldn't be drag_in_progress */