Mostly working now, just had to manually calculate the grid. Needs a cleanup but I'm moving on for now.

This commit is contained in:
Zed A. Shaw 2024-11-17 12:37:07 -05:00
parent 89a70f398a
commit 34c84343db
4 changed files with 65 additions and 56 deletions

View file

@ -54,8 +54,8 @@ using namespace fmt;
action reset_fg { color = $default_fg; }
action reset_bg { bgcolor = $default_bg; }
action invert {
color = {100,100,100}; // UNDO THIS
bgcolor = $default_bg; // THIS TOO
color = $default_bg;
bgcolor = $default_fg;
color_cb(color, bgcolor);
}
action reset_invert {
@ -64,6 +64,8 @@ using namespace fmt;
color_cb(color, bgcolor);
}
action half_bright {
color = sf::Color(100,100,100);
color_cb(color, bgcolor);
}
action red { target.r = value; }