From f71c527e2330b48e49e0b2f089868552f5cca176 Mon Sep 17 00:00:00 2001 From: Tom Sutcliffe Date: Sun, 22 Aug 2021 13:53:56 +0100 Subject: [PATCH] =?UTF-8?q?Add=20a=20"=E2=88=86"=20suffix=20to=20groups=20?= =?UTF-8?q?which=20have=20"force=20to=20triangle=20mesh"=20ticked.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/textscreens.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/textscreens.cpp b/src/textscreens.cpp index 8a43f3d..628aff3 100644 --- a/src/textscreens.cpp +++ b/src/textscreens.cpp @@ -123,13 +123,18 @@ void TextWindow::ShowListOfGroups() { sprintf(sdof, "%-3d", dof); } } + std::string suffix; + if(g->forceToMesh) { + suffix = " (∆)"; + } + bool ref = (g->h == Group::HGROUP_REFERENCES); Printf(false, "%Bp%Fd " "%Ft%s%Fb%D%f%Ll%s%E " "%Fb%s%D%f%Ll%s%E " "%Fp%D%f%s%Ll%s%E " - "%Fp%Ll%D%f%s", + "%Fp%Ll%D%f%s%E%s", // Alternate between light and dark backgrounds, for readability backgroundParity ? 'd' : 'a', // Link that activates the group @@ -147,7 +152,8 @@ void TextWindow::ShowListOfGroups() { ok ? "" : "ERR", // Link to a screen that gives more details on the group g->suppress ? 'g' : 'l', - g->h.v, (&TextWindow::ScreenSelectGroup), s.c_str()); + g->h.v, (&TextWindow::ScreenSelectGroup), s.c_str(), + suffix.c_str()); if(active) afterActive = true; backgroundParity = !backgroundParity;