mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-09 15:42:58 -04:00
Move Painter into EventDispatcher.
This commit is contained in:
parent
d64344a84f
commit
479a96fc22
3 changed files with 3 additions and 6 deletions
|
@ -57,9 +57,8 @@ static void event_loop() {
|
|||
context,
|
||||
portapack::display.screen_rect()
|
||||
};
|
||||
ui::Painter painter;
|
||||
|
||||
EventDispatcher event_dispatcher { &system_view, painter, context };
|
||||
EventDispatcher event_dispatcher { &system_view, context };
|
||||
|
||||
MessageHandlerRegistration message_handler_shutdown {
|
||||
Message::ID::Shutdown,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue