22 #ifndef NANCY_MISC_VIEWPORTFADER_H 23 #define NANCY_MISC_VIEWPORTFADER_H 25 #include "engines/nancy/renderobject.h" 39 void updateGraphics()
override;
41 bool isIdle()
const {
return _state == kIdle; }
44 void arm(uint32 color, uint32 holdTime);
50 bool holdsSceneChange()
const {
return _state == kFadingIn || _state == kHolding; }
61 bool blendTowards(uint32 target,
float seconds);
65 float _current[4] = {};
68 uint32 _holdEndTime = 0;
69 uint32 _lastUpdateTime = 0;
75 #endif // NANCY_MISC_VIEWPORTFADER_H Definition: renderobject.h:36
Definition: viewportfader.h:33
Definition: actionmanager.h:32