mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 13:04:35 +03:00
Add option to change Header layout
This commit is contained in:

committed by
Benny Baumann

parent
7269faf651
commit
9060a4179d
10
Settings.h
10
Settings.h
@ -13,20 +13,22 @@ in the source distribution for its full text.
|
||||
#include <stdint.h>
|
||||
|
||||
#include "Hashtable.h"
|
||||
#include "HeaderLayout.h"
|
||||
#include "Process.h"
|
||||
|
||||
|
||||
#define DEFAULT_DELAY 15
|
||||
|
||||
typedef struct {
|
||||
int len;
|
||||
uint8_t len;
|
||||
char** names;
|
||||
int* modes;
|
||||
} MeterColumnSettings;
|
||||
} MeterColumnSetting;
|
||||
|
||||
typedef struct Settings_ {
|
||||
char* filename;
|
||||
MeterColumnSettings columns[2];
|
||||
HeaderLayout hLayout;
|
||||
MeterColumnSetting* hColumns;
|
||||
Hashtable* dynamicColumns;
|
||||
|
||||
ProcessField* fields;
|
||||
@ -104,4 +106,6 @@ void Settings_enableReadonly(void);
|
||||
|
||||
bool Settings_isReadonly(void);
|
||||
|
||||
void Settings_setHeaderLayout(Settings* this, HeaderLayout hLayout);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user