Use the MID value for borders.
This commit is contained in:
parent
958c8545a7
commit
1a3bbaedda
2 changed files with 1 additions and 5 deletions
|
@ -226,7 +226,7 @@ void SFMLRender::draw_text(Panel &panel, bool with_border) {
|
||||||
backing.setFillColor(sf::Color(0, 0, 0));
|
backing.setFillColor(sf::Color(0, 0, 0));
|
||||||
|
|
||||||
if(with_border) {
|
if(with_border) {
|
||||||
backing.setOutlineColor($default_fg);
|
backing.setOutlineColor(color(Value::MID));
|
||||||
backing.setOutlineThickness(border_px);
|
backing.setOutlineThickness(border_px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
TODAY'S GOAL:
|
TODAY'S GOAL:
|
||||||
|
|
||||||
* Run the ansi_parser on the whole UI so I can use colors and other glyphs.
|
|
||||||
|
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
* panels and everything except renderer should use character coodinates
|
* panels and everything except renderer should use character coodinates
|
||||||
* panels should know if they're text vs. grid rendered
|
* panels should know if they're text vs. grid rendered
|
||||||
* panels need a background and border setting
|
|
||||||
* Can std::any be defaulted to a noop in the events?
|
* Can std::any be defaulted to a noop in the events?
|
||||||
* Save file isn't saving gold.
|
* Save file isn't saving gold.
|
||||||
* Inventory needs to be better, but need some kinds of "weapons" or other loot to get and not just gold.
|
* Inventory needs to be better, but need some kinds of "weapons" or other loot to get and not just gold.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue