summaryrefslogtreecommitdiff
path: root/frontends/riscos/window.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-04-19 16:27:14 +0100
committerVincent Sanders <vince@kyllikki.org>2017-04-19 16:27:14 +0100
commitfebbdec345237eef8672e9094932dd31448a4036 (patch)
tree3815367241b6594d86f1014eb3c080ad0df88cc6 /frontends/riscos/window.h
parent14bff8d023891ad6cd02e5986dae4368dfdef80b (diff)
downloadnetsurf-febbdec345237eef8672e9094932dd31448a4036.tar.gz
netsurf-febbdec345237eef8672e9094932dd31448a4036.tar.bz2
update riscos frontend to invalidate window 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