From d0c72c3fb29d535f5bb12b651e3bcaa516650199 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 23 Mar 2015 15:26:56 -0300 Subject: Move FunctionBar inside Panel --- ColorsPanel.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ColorsPanel.c') 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; -- cgit v1.2.3