22 #ifndef NANCY_UI_TASKBAR_H 23 #define NANCY_UI_TASKBAR_H 25 #include "engines/nancy/renderobject.h" 42 void registerGraphics()
override;
47 void toggleButton(uint index,
bool enabled);
52 void setDisabledRange(uint buttonIndex, int16 startScene, int16 endScene);
53 void clearButtonOverride(uint buttonIndex);
59 void setNotification(uint buttonIndex, uint subCategory);
60 void clearNotification(uint buttonIndex, uint subCategory);
61 void clearAllNotifications(uint buttonIndex);
65 void updateNotificationStates(int16 currentSceneID);
69 int getClickedButton()
const {
return _clickedButton; }
77 kButtonNotification = 4
83 struct ButtonOverride {
85 int16 startScene = -1;
89 static const uint kNumNotificationSubCategories = 3;
91 void drawButton(uint index, ButtonState state);
92 ButtonState restingState(uint index)
const;
94 bool isButtonActive(uint index)
const;
102 ButtonState _buttonStates[5];
103 ButtonOverride _overrides[5];
104 bool _notifications[5][kNumNotificationSubCategories];
110 #endif // NANCY_UI_TASKBAR_H Definition: managed_surface.h:51
Definition: soundequalizerpuzzle.h:27
Definition: renderobject.h:36
Definition: actionmanager.h:32