From 1a3bbaedda2e38079af57b0515255958639ab11e Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Mon, 18 Nov 2024 11:34:49 -0500 Subject: [PATCH] Use the MID value for borders. --- render.cpp | 2 +- status.txt | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/render.cpp b/render.cpp index 9eaed74..4f19f41 100644 --- a/render.cpp +++ b/render.cpp @@ -226,7 +226,7 @@ void SFMLRender::draw_text(Panel &panel, bool with_border) { backing.setFillColor(sf::Color(0, 0, 0)); if(with_border) { - backing.setOutlineColor($default_fg); + backing.setOutlineColor(color(Value::MID)); backing.setOutlineThickness(border_px); } diff --git a/status.txt b/status.txt index 0ab870a..f8c3888 100644 --- a/status.txt +++ b/status.txt @@ -1,12 +1,8 @@ TODAY'S GOAL: -* Run the ansi_parser on the whole UI so I can use colors and other glyphs. - - TODO: * panels and everything except renderer should use character coodinates * 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? * 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.