summaryrefslogtreecommitdiffstats
path: root/ColorsPanel.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-03-23 15:26:56 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-03-23 15:26:56 -0300
commitd0c72c3fb29d535f5bb12b651e3bcaa516650199 (patch)
tree2c01b7d96d50a7f47334093a1ed8ff4962cec204 /ColorsPanel.c
parent1084a3ff8faf3aa98e8e9fbdab97a08a2c40482e (diff)
Move FunctionBar inside Panel
Diffstat (limited to 'ColorsPanel.c')
-rw-r--r--ColorsPanel.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ColorsPanel.c b/ColorsPanel.c
index c4255f87..3c643fa6 100644
--- a/ColorsPanel.c
+++ b/ColorsPanel.c
@@ -34,6 +34,8 @@ typedef struct ColorsPanel_ {
}*/
+static const char* ColorsFunctions[] = {" ", " ", " ", " ", " ", " ", " ", " ", " ", "Done ", NULL};
+
static const char* ColorSchemeNames[] = {
"Default",
"Monochromatic",
@@ -94,7 +96,8 @@ PanelClass ColorsPanel_class = {
ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr) {
ColorsPanel* this = AllocThis(ColorsPanel);
Panel* super = (Panel*) this;
- Panel_init(super, 1, 1, 1, 1, Class(CheckItem), true);
+ FunctionBar* fuBar = FunctionBar_new(ColorsFunctions, NULL, NULL);
+ Panel_init(super, 1, 1, 1, 1, Class(CheckItem), true, fuBar);
this->settings = settings;
this->scr = scr;

© 2014-2024 Faster IT GmbH | imprint | privacy policy