2006-05-30 13:47:28 +00:00
|
|
|
#ifndef HEADER_AvailableMetersPanel
|
|
|
|
#define HEADER_AvailableMetersPanel
|
2011-12-26 21:35:57 +00:00
|
|
|
/*
|
|
|
|
htop - AvailableMetersPanel.h
|
|
|
|
(C) 2004-2011 Hisham H. Muhammad
|
2020-10-05 07:51:32 +00:00
|
|
|
Released under the GNU GPLv2, see the COPYING file
|
2011-12-26 21:35:57 +00:00
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2020-09-19 11:55:23 +00:00
|
|
|
#include "Header.h"
|
2020-12-25 15:42:35 +00:00
|
|
|
#include "MetersPanel.h"
|
2006-05-30 13:47:28 +00:00
|
|
|
#include "Panel.h"
|
2015-01-22 01:27:31 +00:00
|
|
|
#include "ProcessList.h"
|
2020-09-18 17:23:04 +00:00
|
|
|
#include "ScreenManager.h"
|
|
|
|
#include "Settings.h"
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2021-04-29 15:12:43 +00:00
|
|
|
|
2006-05-30 13:47:28 +00:00
|
|
|
typedef struct AvailableMetersPanel_ {
|
|
|
|
Panel super;
|
2015-01-22 01:27:31 +00:00
|
|
|
ScreenManager* scr;
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
Settings* settings;
|
2015-01-22 01:27:31 +00:00
|
|
|
Header* header;
|
2020-12-25 15:42:35 +00:00
|
|
|
size_t columns;
|
|
|
|
MetersPanel** meterPanels;
|
2006-05-30 13:47:28 +00:00
|
|
|
} AvailableMetersPanel;
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2020-10-05 11:19:50 +00:00
|
|
|
extern const PanelClass AvailableMetersPanel_class;
|
2012-12-05 15:12:20 +00:00
|
|
|
|
2020-12-25 15:42:35 +00:00
|
|
|
AvailableMetersPanel* AvailableMetersPanel_new(Settings* settings, Header* header, size_t columns, MetersPanel **meterPanels, ScreenManager* scr, const ProcessList* pl);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
#endif
|