summaryrefslogtreecommitdiffstats
path: root/MainPanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'MainPanel.h')
-rw-r--r--MainPanel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/MainPanel.h b/MainPanel.h
index 5e2ca989..83253d66 100644
--- a/MainPanel.h
+++ b/MainPanel.h
@@ -17,13 +17,14 @@ typedef struct MainPanel_ {
Panel super;
State* state;
IncSet* inc;
- FunctionBar* fuBar;
Htop_Action *keys;
pid_t pidSearch;
} MainPanel;
typedef bool(*MainPanel_ForeachProcessFn)(Process*, size_t);
+#define MainPanel_getFunctionBar(this_) (((Panel*)(this_))->defaultBar)
+
void MainPanel_updateTreeFunctions(MainPanel* this, bool mode);