aboutsummaryrefslogtreecommitdiffstats
path: root/Action.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-09-21 08:35:19 +0200
committerDaniel Lange <DLange@git.local>2021-09-21 08:35:19 +0200
commit69f439eff387a6ecb52734e400b297a3c85f2285 (patch)
tree2a988b7868b749654796183ba70b4272965da1bf /Action.h
parentc55320e9e2a8916e911bcd39ab37b79e3a7d03b2 (diff)
downloaddebian_htop-upstream/3.1.0.tar.gz
debian_htop-upstream/3.1.0.tar.bz2
debian_htop-upstream/3.1.0.zip
New upstream version 3.1.0upstream/3.1.0
Diffstat (limited to 'Action.h')
-rw-r--r--Action.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/Action.h b/Action.h
index 02d9030..4a59072 100644
--- a/Action.h
+++ b/Action.h
@@ -20,22 +20,26 @@ in the source distribution for its full text.
#include "Settings.h"
#include "UsersTable.h"
+
typedef enum {
- HTOP_OK = 0x00,
- HTOP_REFRESH = 0x01,
- HTOP_RECALCULATE = 0x03, // implies HTOP_REFRESH
- HTOP_SAVE_SETTINGS = 0x04,
- HTOP_KEEP_FOLLOWING = 0x08,
- HTOP_QUIT = 0x10,
- HTOP_REDRAW_BAR = 0x20,
- HTOP_UPDATE_PANELHDR = 0x41, // implies HTOP_REFRESH
+ HTOP_OK = 0x00,
+ HTOP_REFRESH = 0x01,
+ HTOP_RECALCULATE = 0x02 | HTOP_REFRESH,
+ HTOP_SAVE_SETTINGS = 0x04,
+ HTOP_KEEP_FOLLOWING = 0x08,
+ HTOP_QUIT = 0x10,
+ HTOP_REDRAW_BAR = 0x20,
+ HTOP_UPDATE_PANELHDR = 0x40 | HTOP_REFRESH,
+ HTOP_RESIZE = 0x80 | HTOP_REFRESH | HTOP_REDRAW_BAR | HTOP_UPDATE_PANELHDR,
} Htop_Reaction;
+struct MainPanel_; // IWYU pragma: keep
+
typedef struct State_ {
Settings* settings;
UsersTable* ut;
ProcessList* pl;
- Panel* panel;
+ struct MainPanel_* mainPanel;
Header* header;
bool pauseProcessUpdate;
bool hideProcessSelection;

© 2014-2024 Faster IT GmbH | imprint | privacy policy