22 #ifndef NANCY_ACTION_CAMERAACTION_H 23 #define NANCY_ACTION_CAMERAACTION_H 25 #include "engines/nancy/commontypes.h" 26 #include "engines/nancy/action/actionrecord.h" 43 void execute()
override;
46 bool isViewportRelative()
const override {
return true; }
49 Common::String getRecordTypeName()
const override {
return "CameraAction"; }
52 enum Control { kTakePicture = 0, kDelete = 1, kPrevious = 2, kNext = 3, kNumControls = 4 };
54 enum Screen { kEmpty = 0, kCameraFull = 1, kViewing = 2, kConfirmDelete = 3, kDeleted = 4 };
63 bool isButtonEnabled(uint button)
const;
64 void pressButton(uint button);
67 void resetToBrowsing();
68 void showMessage(
Screen screen);
69 void deleteCurrentPicture();
74 uint16 _buttonCursorType = 0;
75 Button _buttons[kNumControls];
83 uint16 _exitCursorType = 0;
90 int _pictureIndex = -1;
92 uint32 _messageEndTime = 0;
93 int _pendingButton = -1;
94 uint32 _pendingTime = 0;
95 bool _takePictureRequested =
false;
96 bool _exitRequested =
false;
102 #endif // NANCY_ACTION_CAMERAACTION_H Definition: managed_surface.h:51
Definition: commontypes.h:179
Definition: atari-screen.h:58
Definition: actionrecord.h:169
Definition: commontypes.h:314
Definition: cameraaction.h:35
Definition: commontypes.h:194
Definition: actionmanager.h:32