2006-05-30 13:47:28 +00:00
|
|
|
#ifndef HEADER_ColumnsPanel
|
|
|
|
#define HEADER_ColumnsPanel
|
2011-12-26 21:35:57 +00:00
|
|
|
/*
|
|
|
|
htop - ColumnsPanel.h
|
|
|
|
(C) 2004-2011 Hisham H. Muhammad
|
|
|
|
Released under the GNU GPL, see the COPYING file
|
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2006-05-30 13:47:28 +00:00
|
|
|
#include "Panel.h"
|
2006-03-04 18:16:49 +00:00
|
|
|
#include "Settings.h"
|
|
|
|
|
2006-05-30 13:47:28 +00:00
|
|
|
typedef struct ColumnsPanel_ {
|
|
|
|
Panel super;
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
Settings* settings;
|
2015-01-22 01:27:31 +00:00
|
|
|
bool moving;
|
2006-05-30 13:47:28 +00:00
|
|
|
} ColumnsPanel;
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
|
2012-12-05 15:12:20 +00:00
|
|
|
extern PanelClass ColumnsPanel_class;
|
|
|
|
|
2020-09-02 07:38:44 +00:00
|
|
|
ColumnsPanel* ColumnsPanel_new(Settings* settings);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2020-09-02 07:38:44 +00:00
|
|
|
int ColumnsPanel_fieldNameToIndex(const char* name);
|
2006-08-04 20:54:37 +00:00
|
|
|
|
2020-09-02 07:38:44 +00:00
|
|
|
void ColumnsPanel_update(Panel* super);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
#endif
|