actions: Separate data from action string
Modules now no longer need to manually parse the action string and extract data from it.
This commit is contained in:
parent
8acedeef87
commit
bc1b86c584
33 changed files with 124 additions and 142 deletions
include/components
|
@ -49,9 +49,9 @@ class builder {
|
|||
void underline_close();
|
||||
void control(controltag tag);
|
||||
void action(mousebtn index, string action);
|
||||
void action(mousebtn btn, const modules::input_handler& handler, string action);
|
||||
void action(mousebtn btn, const modules::input_handler& handler, string action, string data);
|
||||
void action(mousebtn index, string action, const label_t& label);
|
||||
void action(mousebtn btn, const modules::input_handler& handler, string action, const label_t& label);
|
||||
void action(mousebtn btn, const modules::input_handler& handler, string action, string data, const label_t& label);
|
||||
void action_close();
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue