22 #ifndef NANCY_STATE_LOADSAVE_H 23 #define NANCY_STATE_LOADSAVE_H 25 #include "common/singleton.h" 27 #include "engines/nancy/state/state.h" 28 #include "engines/nancy/ui/fullscreenimage.h" 29 #include "engines/nancy/font.h" 44 _state(kInit), _selectedSave(-1), _enteringNewState(
false), _nextBlink(0),
45 _baseFont(
nullptr), _highlightFont(
nullptr),
46 _disabledFont(
nullptr), _loadSaveData(
nullptr),
47 _cancelButton(
nullptr), _exitButton(
nullptr),
48 _blinkingCursorOverlay(6), _successOverlay(8) {}
52 void process()
override;
53 void onStateEnter(
const NancyState::NancyState prevState)
override;
54 bool onStateExit(
const NancyState::NancyState nextState)
override;
65 void registerGraphics();
69 enum State { kInit, kRun, kEnterFilename, kSave, kLoad, kSuccess, kStop };
75 const Font *_baseFont;
76 const Font *_highlightFont;
77 const Font *_disabledFont;
93 bool _enteringNewState;
96 bool _destroyOnExit =
true;
98 const LOAD *_loadSaveData;
104 #endif // NANCY_STATE_LOADSAVE_H
Definition: soundequalizerpuzzle.h:27
Definition: renderobject.h:36
Definition: enginedata.h:262
Definition: fullscreenimage.h:30
Definition: actionmanager.h:32
Definition: singleton.h:42