mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 10:58:06 +00:00
Push more widget painting code into ui::Painter
Hide knowledge of damage tracking strategy.
This commit is contained in:
@@ -53,11 +53,13 @@ public:
|
||||
void draw_rectangle(const Rect r, const Color c);
|
||||
void fill_rectangle(const Rect r, const Color c);
|
||||
|
||||
void paint_widget(Widget* const w);
|
||||
|
||||
void paint_widget_tree(Widget* const w);
|
||||
|
||||
private:
|
||||
void draw_hline(Point p, size_t width, const Color c);
|
||||
void draw_vline(Point p, size_t height, const Color c);
|
||||
|
||||
void paint_widget(Widget* const w);
|
||||
};
|
||||
|
||||
} /* namespace ui */
|
||||
|
Reference in New Issue
Block a user