mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-31 12:34:29 -04:00
Move Painter into EventDispatcher.
This commit is contained in:
parent
d64344a84f
commit
479a96fc22
3 changed files with 3 additions and 6 deletions
|
@ -50,7 +50,6 @@ class EventDispatcher {
|
|||
public:
|
||||
EventDispatcher(
|
||||
ui::Widget* const top_widget,
|
||||
ui::Painter& painter,
|
||||
ui::Context& context
|
||||
);
|
||||
|
||||
|
@ -87,7 +86,7 @@ private:
|
|||
|
||||
touch::Manager touch_manager;
|
||||
ui::Widget* const top_widget;
|
||||
ui::Painter& painter;
|
||||
ui::Painter painter;
|
||||
ui::Context& context;
|
||||
uint32_t encoder_last = 0;
|
||||
bool is_running = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue