From 3383d8e5561dfc6fb2b65e0a194df94ccb5e08af Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 21 Jan 2015 23:27:31 -0200 Subject: Sorry about the mega-patch. This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.) --- CategoriesPanel.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'CategoriesPanel.h') diff --git a/CategoriesPanel.h b/CategoriesPanel.h index 9d30330f..ccef0fae 100644 --- a/CategoriesPanel.h +++ b/CategoriesPanel.h @@ -12,12 +12,15 @@ in the source distribution for its full text. #include "Panel.h" #include "Settings.h" #include "ScreenManager.h" +#include "ProcessList.h" typedef struct CategoriesPanel_ { Panel super; + ScreenManager* scr; Settings* settings; - ScreenManager* scr; + Header* header; + ProcessList* pl; } CategoriesPanel; @@ -25,6 +28,6 @@ void CategoriesPanel_makeMetersPage(CategoriesPanel* this); extern PanelClass CategoriesPanel_class; -CategoriesPanel* CategoriesPanel_new(Settings* settings, ScreenManager* scr); +CategoriesPanel* CategoriesPanel_new(ScreenManager* scr, Settings* settings, Header* header, ProcessList* pl); #endif -- cgit v1.2.3