summaryrefslogtreecommitdiffstats
path: root/IncSet.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 /IncSet.c
parent1084a3ff8faf3aa98e8e9fbdab97a08a2c40482e (diff)
Move FunctionBar inside Panel
Diffstat (limited to 'IncSet.c')
-rw-r--r--IncSet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/IncSet.c b/IncSet.c
index 40aa9233..d17bb131 100644
--- a/IncSet.c
+++ b/IncSet.c
@@ -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) {

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