Best I can do to simplify the check(fmt::format)crap is to make a little macro to do the format part.
This commit is contained in:
parent
6710469ee1
commit
f0b04107ab
28 changed files with 108 additions and 108 deletions
|
|
@ -69,7 +69,7 @@ namespace arena {
|
|||
$status.set<Rectangle>(button, {});
|
||||
$status.set<Clickable>(button, {
|
||||
[this, name](auto, auto){
|
||||
dbc::log(fmt::format("STATUS: {}", name));
|
||||
dbc::log($F("STATUS: {}", name));
|
||||
}
|
||||
});
|
||||
if(name == "main_status") {
|
||||
|
|
@ -84,7 +84,7 @@ namespace arena {
|
|||
auto region = $overlay.entity(name);
|
||||
$overlay.set<Clickable>(region, {
|
||||
[this, name](auto, auto){
|
||||
dbc::log(fmt::format("OVERLAY: {}", name));
|
||||
dbc::log($F("OVERLAY: {}", name));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue