refactor(builder): Remove unused condition parameter

Same as in , the methods are never called with the optional
parameter, except once where it is called with the default value.

Ref: 
This commit is contained in:
patrick96 2019-12-18 10:27:39 +01:00 committed by Patrick Ziegler
parent bc560952e0
commit 4bc7a09c7e
2 changed files with 7 additions and 9 deletions
include/components

View file

@ -47,9 +47,9 @@ class builder {
void underline(const string& color = "");
void underline_close();
void control(controltag tag);
void cmd(mousebtn index, string action, bool condition = true);
void cmd(mousebtn index, string action);
void cmd(mousebtn index, string action, const label_t& label);
void cmd_close(bool condition = true);
void cmd_close();
protected:
string background_hex();