core: naming cleanup

Set -> On, when the handler could be added multiple times
Remove unused functions from the headers, and add correct names for the used ones.
This commit is contained in:
Maxim Prokhorov
2021-08-06 18:45:14 +03:00
parent 7a77d23bc5
commit 658648d270
17 changed files with 28 additions and 31 deletions

View File

@@ -361,7 +361,7 @@ void buttonSetCustomAction(ButtonEventHandler handler) {
std::forward_list<ButtonEventHandler> _button_notify_event;
void buttonSetEventNotify(ButtonEventHandler handler) {
void buttonOnEvent(ButtonEventHandler handler) {
_button_notify_event.push_front(handler);
}