diff options
Diffstat (limited to 'ui.hpp')
-rw-r--r-- | ui.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -65,8 +65,8 @@ struct UI { void reset(const Rect& cl); void set_clip(const Rect& r); void clear(const Rect& r); - void flush(int x, int y); - void flush(); + void flush_cell(int x, int y); + bool flush(void* target); void resize(int w, int h); void init(Heap* heap, int w, int h); } ren; @@ -95,7 +95,7 @@ struct UI { void layout(int w, int h); void text_input(const char* buf); void update(Arena* s); - void render(Arena* s); + bool render(Arena* s, void* pixels); void draw_container(const Rect& r, Colour c); void draw_containeri(const Rect& r, Colour c); |