mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Sorry about the mega-patch.
This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
This commit is contained in:
10
Panel.h
10
Panel.h
@ -17,9 +17,11 @@ in the source distribution for its full text.
|
||||
typedef struct Panel_ Panel;
|
||||
|
||||
typedef enum HandlerResult_ {
|
||||
HANDLED,
|
||||
IGNORED,
|
||||
BREAK_LOOP
|
||||
HANDLED = 0x00,
|
||||
IGNORED = 0x01,
|
||||
BREAK_LOOP = 0x02,
|
||||
REFRESH = 0x04,
|
||||
RECALCULATE = 0x08,
|
||||
} HandlerResult;
|
||||
|
||||
#define EVENT_SETSELECTED -1
|
||||
@ -43,7 +45,7 @@ struct Panel_ {
|
||||
Vector* items;
|
||||
int selected;
|
||||
int oldSelected;
|
||||
char* eventHandlerBuffer;
|
||||
void* eventHandlerState;
|
||||
int scrollV;
|
||||
short scrollH;
|
||||
bool needsRedraw;
|
||||
|
Reference in New Issue
Block a user