Move Painter into EventDispatcher.

This commit is contained in:
Jared Boone 2016-05-12 15:52:18 -07:00
parent d64344a84f
commit 479a96fc22
3 changed files with 3 additions and 6 deletions

View file

@ -62,10 +62,9 @@ Thread* EventDispatcher::thread_event_loop = nullptr;
EventDispatcher::EventDispatcher(
ui::Widget* const top_widget,
ui::Painter& painter,
ui::Context& context
) : top_widget { top_widget },
painter(painter),
painter { },
context(context)
{
init_message_queues();