summaryrefslogtreecommitdiff
path: root/libsowatch/watchserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/watchserver.h')
-rw-r--r--libsowatch/watchserver.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/libsowatch/watchserver.h b/libsowatch/watchserver.h
index 30f39c6..eafee7a 100644
--- a/libsowatch/watchserver.h
+++ b/libsowatch/watchserver.h
@@ -94,10 +94,10 @@ private:
/** We store a currently live weather forecast. */
WeatherNotification* _weather;
- /** Current watchlet. */
+ /** Active watchlet is the one that has "focus" right now. */
+ Watchlet* _activeWatchlet;
+ /** Current watchlet is the app watchlet (not idle, not notification) that is current in the carrousel. */
Watchlet* _currentWatchlet;
- /** Is the current watchlet active? */
- bool _currentWatchletActive;
/** The current watchlet index if any, for use by nextWatchlet() */
int _currentWatchletIndex;
@@ -111,8 +111,9 @@ private:
void setWatchletProperties(Watchlet *watchlet);
void unsetWatchletProperties(Watchlet *watchlet);
- void deactivateCurrentWatchlet();
- void reactivateCurrentWatchlet();
+ void activateWatchlet(Watchlet *watchlet);
+ void deactivateActiveWatchlet();
+ void activateCurrentWatchlet();
void goToIdle();
private slots: