diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2017-01-01 23:57:35 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2017-01-01 23:57:35 +0000 |
commit | dab118b6f7e9a22ed01413a2ce2fd60e4c4df97b (patch) | |
tree | d884c0aa457de863d821f69033b6a1ce52c44cf3 /frontends/amiga/corewindow.h | |
parent | 3227ed655609e731f3d216706c524028f566f114 (diff) | |
download | netsurf-dab118b6f7e9a22ed01413a2ce2fd60e4c4df97b.tar.gz netsurf-dab118b6f7e9a22ed01413a2ce2fd60e4c4df97b.tar.bz2 |
Amga core window redraw
This almost certainly will not work properly
Diffstat (limited to 'frontends/amiga/corewindow.h')
-rw-r--r-- | frontends/amiga/corewindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/amiga/corewindow.h b/frontends/amiga/corewindow.h index 3659a6a4a..d8f80d378 100644 --- a/frontends/amiga/corewindow.h +++ b/frontends/amiga/corewindow.h @@ -56,6 +56,9 @@ struct ami_corewindow { int mouse_y; int mouse_state; + APTR deferred_rects_pool; + struct MinList *deferred_rects; + /** stuff for our off-screen render bitmap */ struct gui_globals gg; struct MinList *shared_pens; @@ -73,7 +76,7 @@ struct ami_corewindow { * \param r The rectangle of the window that needs updating. * \return NSERROR_OK on success otherwise apropriate error code */ - nserror (*draw)(struct ami_corewindow *ami_cw, struct rect *r); + nserror (*draw)(struct ami_corewindow *ami_cw, struct rect *r, struct redraw_context *ctx); /** * callback for keypress on Amiga core window |