diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-16 21:46:11 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-12-20 17:01:50 +0100 |
commit | e3862aa67e37ecef0eb8f82ba1f4a710ffac9c02 (patch) | |
tree | aa906dac3ffca307c01b9dc78ed75082aecf238c /AffinityPanel.c | |
parent | 7e7a53c415b82cceee6173922987b772b1d51c10 (diff) |
Rework drawing of FunctionBar
Draw the FunctionBar within Panel_draw instead of manually throughout
the code.
Add an optional PanelClass function drawFunctionBar, to allow specific
panels to override the default FunctionBar_draw call.
Rework the code on color change, to really change all colors (selection
markers and panel headers).
Closes: #402
Diffstat (limited to 'AffinityPanel.c')
-rw-r--r-- | AffinityPanel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/AffinityPanel.c b/AffinityPanel.c index 314dcae3..a4d63616 100644 --- a/AffinityPanel.c +++ b/AffinityPanel.c @@ -173,7 +173,6 @@ static void AffinityPanel_update(AffinityPanel* this, bool keepSelected) { Panel* super = (Panel*) this; FunctionBar_setLabel(super->currentBar, KEY_F(3), this->topoView ? "Collapse/Expand" : ""); - FunctionBar_draw(super->currentBar); int oldSelected = Panel_getSelectedIndex(super); Panel_prune(super); |