Classes | |
| struct | Button |
Public Member Functions | |
| void | init () override |
| void | readData (Common::SeekableReadStream &stream) override |
| void | execute () override |
| void | handleInput (NancyInput &input) override |
| bool | isViewportRelative () const override |
Public Member Functions inherited from Nancy::Action::RenderActionRecord | |
| RenderActionRecord (uint zOrder) | |
| RenderActionRecord (RenderActionRecord &&)=default | |
| void | onPause (bool pause) override |
Public Member Functions inherited from Nancy::Action::ActionRecord | |
| virtual CursorManager::CursorType | getHoverCursor () const |
| virtual bool | cursorSetFromScript () const |
| virtual Common::String | getRecordExtraInfo () const |
| virtual bool | canHaveHotspot () const |
| virtual bool | survivesSceneChange (bool nextSceneIsNoArt) const |
Public Member Functions inherited from Nancy::RenderObject | |
| RenderObject (uint16 zOrder) | |
| RenderObject (uint16 zOrder, Graphics::ManagedSurface &surface, const Common::Rect &srcBounds, const Common::Rect &destBounds) | |
| RenderObject (RenderObject &&)=default | |
| virtual void | registerGraphics () |
| virtual void | updateGraphics () |
| void | moveTo (const Common::Point &position) |
| void | moveTo (const Common::Rect &bounds) |
| void | setVisible (bool visible) |
| void | setTransparent (bool isTransparent) |
| bool | isVisible () const |
| bool | needsRedraw () const |
| void | setNeedsRedraw (bool needsRedraw) |
| void | setHasMoved (bool hasMoved) |
| void | grabPalette (byte *colors, uint paletteStart=0, uint paletteSize=256) |
| void | setPalette (const Common::Path &paletteName, uint paletteStart=0, uint paletteSize=256) |
| void | setPalette (const byte *colors, uint paletteStart=0, uint paletteSize=256) |
| bool | hasMoved () const |
| void | updatePreviousScreenPosition () |
| Common::Rect | getScreenPosition () const |
| Common::Rect | getScreenPositionRaw () const |
| Common::Rect | getPreviousScreenPosition () const |
| Common::Rect | convertToLocal (const Common::Rect &screen) const |
| Common::Rect | convertToScreen (const Common::Rect &rect) const |
| Common::Rect | getBounds () const |
| uint16 | getZOrder () const |
| void | setZOrder (uint16 z) |
Protected Types | |
| enum | Control { kTakePicture = 0, kDelete = 1, kPrevious = 2, kNext = 3, kNumControls = 4 } |
| enum | Screen { kEmpty = 0, kCameraFull = 1, kViewing = 2, kConfirmDelete = 3, kDeleted = 4 } |
Protected Member Functions | |
| Common::String | getRecordTypeName () const override |
| int | buttonAtCursor (const Common::Point &mousePos) const |
| bool | isButtonEnabled (uint button) const |
| void | pressButton (uint button) |
| void | resetToBrowsing () |
| void | showMessage (Screen screen) |
| void | deleteCurrentPicture () |
| void | redraw () |
Protected Member Functions inherited from Nancy::Action::ActionRecord | |
| void | finishExecution () |
Protected Attributes | |
| Common::Path | _imageName |
| uint16 | _buttonCursorType = 0 |
| Button | _buttons [kNumControls] |
| Common::Rect | _pictureRect |
| Common::Rect | _cameraFullRect |
| Common::Rect | _confirmDeleteRect |
| Common::Rect | _deletedRect |
| RandomSoundBlock | _buttonSound |
| Common::Rect | _exitHotspot |
| uint16 | _exitCursorType = 0 |
| SceneChangeDescription | _exitScene |
| FlagDescription | _exitFlag |
| Graphics::ManagedSurface | _image |
| Screen | _screen = kEmpty |
| int | _pictureIndex = -1 |
| Common::Rect | _messageRect |
| uint32 | _messageEndTime = 0 |
| int | _pendingButton = -1 |
| uint32 | _pendingTime = 0 |
| bool | _takePictureRequested = false |
| bool | _exitRequested = false |
Protected Attributes inherited from Nancy::RenderObject | |
| bool | _needsRedraw |
| bool | _isVisible |
| bool | _hasMoved |
| uint16 | _z |
| Common::Rect | _previousScreenPosition |
| Common::Rect | _screenPosition |
Additional Inherited Members | |
Public Types inherited from Nancy::Action::ActionRecord | |
| enum | ExecutionState { kBegin, kRun, kActionTrigger } |
| enum | ExecutionType { kOneShot = 1, kRepeating = 2 } |
Public Attributes inherited from Nancy::Action::ActionRecord | |
| Common::String | _description |
| Common::String | _includeSource |
| byte | _type |
| ExecutionType | _execType |
| DependencyRecord | _dependencies |
| bool | _isActive |
| bool | _isDone |
| bool | _hasHotspot |
| Common::Rect | _hotspot |
| ExecutionState | _state |
| DependencyRecord * | _cursorDependency |
Public Attributes inherited from Nancy::RenderObject | |
| Graphics::ManagedSurface | _drawSurface |