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
|
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 <stdbool.h>
|
|
|
|
|
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
|
|
|
|
2020-10-05 11:19:50 +00:00
|
|
|
extern const PanelClass ColumnsPanel_class;
|
2012-12-05 15:12:20 +00:00
|
|
|
|
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
|