summaryrefslogtreecommitdiff
path: root/frontends/riscos/window.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-04-23 21:03:32 +0100
committerVincent Sanders <vince@kyllikki.org>2017-04-23 21:03:32 +0100
commitab53f74788ece5121667bf69375fd3394d984fc9 (patch)
treeb37a17537ac8eb86835edf7961052b9641b88835 /frontends/riscos/window.h
parentff20edbfbe35ce2be631456ffbe8ae6ca9fd05f5 (diff)
parent6e0f5bee5587db14f7c5755f50a7a17d665d0b99 (diff)
downloadnetsurf-ab53f74788ece5121667bf69375fd3394d984fc9.tar.gz
netsurf-ab53f74788ece5121667bf69375fd3394d984fc9.tar.bz2
Merge branch 'vince/invalidate-api'
Diffstat (limited to 'frontends/riscos/window.h')
-rw-r--r--frontends/riscos/window.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/frontends/riscos/window.h b/frontends/riscos/window.h
index 2e6f6e9aa..30b096580 100644
--- a/frontends/riscos/window.h
+++ b/frontends/riscos/window.h
@@ -42,5 +42,19 @@ bool ro_gui_window_check_menu(wimp_menu *menu);
*/
nserror ro_gui_window_set_url(struct gui_window *g, struct nsurl *url);
+/**
+ * Cause an area of a window to be invalidated
+ *
+ * The specified area of the window should now be considered out of
+ * date. If the entire window is invalidated this simply calls
+ * wimp_force_redraw() otherwise the area is added to a queue of
+ * pending updates which will be processed from a wimp poll allowing
+ * multiple invalidation requests to be agregated.
+ *
+ * \param g The window to update
+ * \param rect The area of the window to update or NULL to redraw entire contents.
+ */
+nserror ro_gui_window_invalidate_area(struct gui_window *g, const struct rect *rect);
+
#endif