From e4ebe18b67c366d367231a1123b057c82018cf5b Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 14 Feb 2023 11:51:54 +1100 Subject: 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 --- Action.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Action.h') diff --git a/Action.h b/Action.h index 09b68bd7..04d090f8 100644 --- a/Action.h +++ b/Action.h @@ -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); -- cgit v1.2.3