diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-23 15:26:56 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-23 15:26:56 -0300 |
commit | d0c72c3fb29d535f5bb12b651e3bcaa516650199 (patch) | |
tree | 2c01b7d96d50a7f47334093a1ed8ff4962cec204 /IncSet.c | |
parent | 1084a3ff8faf3aa98e8e9fbdab97a08a2c40482e (diff) |
Move FunctionBar inside Panel
Diffstat (limited to 'IncSet.c')
-rw-r--r-- | IncSet.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -73,7 +73,7 @@ static inline void IncMode_initFilter(IncMode* filter) { } static inline void IncMode_done(IncMode* mode) { - FunctionBar_delete((Object*)mode->bar); + FunctionBar_delete(mode->bar); } IncSet* IncSet_new(FunctionBar* bar) { @@ -202,10 +202,11 @@ const char* IncSet_getListItemValue(Panel* panel, int i) { return ""; } -void IncSet_activate(IncSet* this, IncType type) { +void IncSet_activate(IncSet* this, IncType type, FunctionBar** setBar) { this->active = &(this->modes[type]); this->bar = this->active->bar; FunctionBar_draw(this->active->bar, this->active->buffer); + setBar = } void IncSet_drawBar(IncSet* this) { |