summaryrefslogtreecommitdiff
path: root/frontends/riscos/window.h
diff options
context:
space:
mode:
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