diff options
author | Nathan Scott <nathans@redhat.com> | 2023-02-14 11:51:54 +1100 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2023-05-08 09:17:42 +1000 |
commit | e4ebe18b67c366d367231a1123b057c82018cf5b (patch) | |
tree | 2b65f14a290fc0979776cd9da03093f793e9fc5d /Action.h | |
parent | 8a8df71f6f355fdaf748eb80bf8558c1bcbec937 (diff) |
Drop references to 'Process' in generic screen code
Prepare the way for making screen tabs more generalised,
able to cater to entities other than processes.
'actionTogglePauseProcessUpdate' -> 'actionTogglePauseUpdate'
'pauseProcessUpdate' -> 'pauseUpdate'
'hideProcessSelection' -> 'hideSelection'
'hideProcessSelection' -> 'hideSelection'
Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
Diffstat (limited to 'Action.h')
-rw-r--r-- | Action.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -41,13 +41,13 @@ typedef struct State_ { ProcessList* pl; struct MainPanel_* mainPanel; Header* header; - bool pauseProcessUpdate; - bool hideProcessSelection; + bool pauseUpdate; + bool hideSelection; bool hideMeters; } State; static inline bool State_hideFunctionBar(const State* st) { - return st->settings->hideFunctionBar == 2 || (st->settings->hideFunctionBar == 1 && st->hideProcessSelection); + return st->settings->hideFunctionBar == 2 || (st->settings->hideFunctionBar == 1 && st->hideSelection); } typedef Htop_Reaction (*Htop_Action)(State* st); |