summaryrefslogtreecommitdiff
path: root/ui.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui.hpp')
-rw-r--r--ui.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui.hpp b/ui.hpp
index 37726cb..1ac3602 100644
--- a/ui.hpp
+++ b/ui.hpp
@@ -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);