actions: Add utility functions to produce action tags
This commit is contained in:
parent
b2ba21c75d
commit
816b73a95f
5 changed files with 83 additions and 3 deletions
include/components
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include "common.hpp"
|
||||
#include "components/types.hpp"
|
||||
#include "modules/meta/input_handler.hpp"
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
|
@ -48,7 +49,9 @@ class builder {
|
|||
void underline_close();
|
||||
void control(controltag tag);
|
||||
void cmd(mousebtn index, string action);
|
||||
void cmd(mousebtn btn, const modules::input_handler& handler, string action);
|
||||
void cmd(mousebtn index, string action, const label_t& label);
|
||||
void cmd(mousebtn btn, const modules::input_handler& handler, string action, const label_t& label);
|
||||
void cmd_close();
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue