commit a22e890635ba110d302febb234faf73f795833d4
parent 5037413087f35ff9b87267fc04bd72e434e1f4b7
Author: fundamental <[email protected]>
Date: Wed, 25 Feb 2015 17:48:00 -0500
Adjust BankUI Ascetic
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/UI/BankUI.fl b/src/UI/BankUI.fl
@@ -58,6 +58,7 @@ class BankUI {open
Fl_Group modeselect {open
xywh {5 528 425 42} box ENGRAVED_BOX
class BankViewControls
+ code0 {o->box(FL_UP_BOX);}
} {}
Fl_Button {} {
label {New Bank...}
diff --git a/src/UI/BankView.cpp b/src/UI/BankView.cpp
@@ -83,6 +83,9 @@ void BankSlot::update(const char *name__, const char *fname__)
filename_ = fname__;
snprintf(labelstr, 127, "%d. %s", nslot, name_.c_str());
label(labelstr);
+
+ if(name_.empty())
+ label("");
color(empty() ? 46 : 51);
#ifdef NTK_GUI