GUI2/Dispatcher: remove connect_signal_on_draw
We no longer use the GUI2 draw events. We should implement the appropriate interface provided by top_level_drawable instead. DRAW is still a valid event for now, but would probably be removed in the future.
This commit is contained in:
parent
5b63155a23
commit
6d97ac494e
2 changed files with 0 additions and 9 deletions
|
@ -205,12 +205,6 @@ void connect_signal_notify_modified(dispatcher& dispatcher, const signal_notific
|
|||
dispatcher.connect_signal<NOTIFY_MODIFIED>(signal);
|
||||
}
|
||||
|
||||
void connect_signal_on_draw(dispatcher& dispatcher, const signal& signal)
|
||||
{
|
||||
// TODO: evaluate whether draw events need go in this queue position.
|
||||
dispatcher.connect_signal<DRAW>(signal, dispatcher::front_child);
|
||||
}
|
||||
|
||||
} // namespace event
|
||||
|
||||
} // namespace gui2
|
||||
|
|
|
@ -678,9 +678,6 @@ void connect_signal_mouse_left_double_click(dispatcher& dispatcher, const signal
|
|||
/** Connects a signal handler for getting a notification upon modification. */
|
||||
void connect_signal_notify_modified(dispatcher& dispatcher, const signal_notification& signal);
|
||||
|
||||
/** Connects a signal handler for a callback when the widget is drawn. */
|
||||
void connect_signal_on_draw(dispatcher& dispatcher, const signal& signal);
|
||||
|
||||
} // namespace event
|
||||
|
||||
} // namespace gui2
|
||||
|
|
Loading…
Add table
Reference in a new issue