|
bool | isTextLabel () const override |
|
bool | load (ElementLoaderContext &context, const Data::TextLabelElement &data) |
|
bool | readAttribute (MiniscriptThread *thread, DynamicValue &result, const Common::String &attrib) override |
|
bool | readAttributeIndexed (MiniscriptThread *thread, DynamicValue &result, const Common::String &attrib, const DynamicValue &index) override |
|
MiniscriptInstructionOutcome | writeRefAttribute (MiniscriptThread *thread, DynamicValueWriteProxy &writeProxy, const Common::String &attrib) override |
|
MiniscriptInstructionOutcome | writeRefAttributeIndexed (MiniscriptThread *thread, DynamicValueWriteProxy &writeProxy, const Common::String &attrib, const DynamicValue &index) override |
|
void | activate () override |
|
void | deactivate () override |
|
void | render (Window *window) override |
|
void | setTextStyle (uint16 macFontID, const Common::String &fontFamilyName, uint size, TextAlignment alignment, const TextStyleFlags &styleFlags) |
|
Graphics::FontManager::FontUsage | getDefaultUsageForMacFont (uint16 macFontID, uint size) |
|
Graphics::FontManager::FontUsage | getDefaultUsageForNamedFont (const Common::String &fontFamilyName, uint size) |
|
Common::SharedPtr< Structural > | shallowClone () const override |
|
void | visitInternalReferences (IStructuralReferenceVisitor *visitor) override |
|
bool | isVisual () const override |
|
VThreadState | asyncConsumeCommand (Runtime *runtime, const Common::SharedPtr< MessageProperties > &msg) override |
|
bool | respondsToEvent (const Event &evt) const override |
|
VThreadState | consumeMessage (Runtime *runtime, const Common::SharedPtr< MessageProperties > &msg) override |
|
bool | isVisible () const |
|
bool | isVisibleByDefault () const |
|
void | setVisible (Runtime *runtime, bool visible) |
|
bool | isDirectToScreen () const |
|
void | setDirectToScreen (bool directToScreen) |
|
uint16 | getLayer () const |
|
void | setLayer (uint16 layer) |
|
bool | isMouseInsideDrawableArea (int32 relativeX, int32 relativeY) const |
|
virtual bool | isMouseCollisionAtPoint (int32 relativeX, int32 relativeY) const |
|
bool | readAttribute (MiniscriptThread *thread, DynamicValue &result, const Common::String &attrib) override |
|
MiniscriptInstructionOutcome | writeRefAttribute (MiniscriptThread *thread, DynamicValueWriteProxy &writeProxy, const Common::String &attrib) override |
|
Common::Point | getParentOrigin () const |
|
Common::Point | getGlobalPosition () const |
|
const Common::Rect & | getRelativeRect () const |
|
virtual Common::Rect | getRelativeCollisionRect () const |
|
void | setRelativeRect (const Common::Rect &rect) |
|
const Common::Point & | getCachedAbsoluteOrigin () const |
|
void | setCachedAbsoluteOrigin (const Common::Point &absOrigin) |
|
void | setDragMotionProperties (const Common::SharedPtr< DragMotionProperties > &dragProps) |
|
const Common::SharedPtr< DragMotionProperties > & | getDragMotionProperties () const |
|
void | handleDragMotion (Runtime *runtime, const Common::Point &initialOrigin, const Common::Point &targetOrigin) |
|
VThreadState | offsetTranslateTask (const OffsetTranslateTaskData &data) |
|
void | setRenderProperties (const VisualElementRenderProperties &props, const Common::WeakPtr< GraphicModifier > &primaryGraphicModifier) |
|
const VisualElementRenderProperties & | getRenderProperties () const |
|
const Common::WeakPtr< GraphicModifier > & | getPrimaryGraphicModifier () const |
|
void | setShading (int16 topLeftBevelShading, int16 bottomRightBevelShading, int16 interiorShading, uint32 bevelSize) |
|
void | setTransitionProperties (const VisualElementTransitionProperties &props) |
|
const VisualElementTransitionProperties & | getTransitionProperties () const |
|
bool | needsRender () const |
|
void | finalizeRender () |
|
void | setPalette (const Common::SharedPtr< Palette > &palette) |
|
const Common::SharedPtr< Palette > & | getPalette () const |
|
void | visitInternalReferences (IStructuralReferenceVisitor *visitor) override |
|
void | pushVisibilityChangeTask (Runtime *runtime, bool desiredVisibility) |
|
virtual bool | canAutoPlay () const |
|
virtual void | queueAutoPlayEvents (Runtime *runtime, bool isAutoPlaying) |
|
bool | isElement () const override |
|
uint32 | getStreamLocator () const |
|
void | addMediaCue (MediaCueState *mediaCue) |
|
void | removeMediaCue (const MediaCueState *mediaCue) |
|
void | triggerAutoPlay (Runtime *runtime) |
|
virtual void | tryAutoSetName (Runtime *runtime, Project *project) |
|
virtual bool | resolveMediaMarkerLabel (const Label &label, int32 &outResolution) const |
|
| Structural (Runtime *runtime) |
|
bool | isStructural () const override |
|
SceneLoadState | getSceneLoadState () const |
|
void | setSceneLoadState (SceneLoadState sceneLoadState) |
|
bool | readAttributeIndexed (MiniscriptThread *thread, DynamicValue &result, const Common::String &attrib, const DynamicValue &index) override |
|
const Common::Array< Common::SharedPtr< Structural > > & | getChildren () const |
|
void | addChild (const Common::SharedPtr< Structural > &child) |
|
void | removeAllChildren () |
|
void | removeAllModifiers () |
|
void | removeChild (Structural *child) |
|
void | removeAllAssets () |
|
void | holdAssets (const Common::Array< Common::SharedPtr< Asset > > &assets) |
|
Structural * | getParent () const |
|
Structural * | findNextSibling () const |
|
Structural * | findPrevSibling () const |
|
void | setParent (Structural *parent) |
|
VisualElement * | findScene () |
|
const Common::String & | getName () const |
|
const Common::Array< Common::SharedPtr< Modifier > > & | getModifiers () const override |
|
void | appendModifier (const Common::SharedPtr< Modifier > &modifier) override |
|
void | removeModifier (const Modifier *modifier) override |
|
void | materializeSelfAndDescendents (Runtime *runtime, ObjectLinkingScope *outerScope) |
|
void | materializeDescendents (Runtime *runtime, ObjectLinkingScope *outerScope) |
|
void | recursiveCollectObjectsMatchingCriteria (Common::Array< Common::WeakPtr< RuntimeObject > > &results, bool(*evalFunc)(void *userData, RuntimeObject *object), void *userData, bool onlyEnabled) |
|
void | setHooks (const Common::SharedPtr< StructuralHooks > &hooks) |
|
const Common::SharedPtr< StructuralHooks > & | getHooks () const |
|
uint32 | getStaticGUID () const |
|
uint32 | getRuntimeGUID () const |
|
void | setRuntimeGUID (uint32 runtimeGUID) |
|
void | setSelfReference (const Common::WeakPtr< RuntimeObject > &selfReference) |
|
const Common::WeakPtr< RuntimeObject > & | getSelfReference () const |
|
virtual bool | isProject () const |
|
virtual bool | isSection () const |
|
virtual bool | isSubsection () const |
|
virtual bool | isModifier () const |
|
| Debuggable (const Debuggable &other) |
|
| Debuggable (Debuggable &&other) |
|
virtual SupportStatus | debugGetSupportStatus () const =0 |
|
virtual const char * | debugGetTypeName () const =0 |
|
virtual const Common::String & | debugGetName () const =0 |
|
virtual void | debugInspect (IDebugInspectionReport *report) const =0 |
|
|
typedef StructuralConsumeCommandCoroutine | ElementConsumeCommandCoroutine |
|
enum | SceneLoadState { kNotAScene,
kSceneNotLoaded,
kSceneLoaded
} |
|
| VisualElement (const VisualElement &other) |
|
bool | loadCommon (const Common::String &name, uint32 guid, const Data::Rect &rect, uint32 elementFlags, uint16 layer, uint32 streamLocator, uint16 sectionID) |
|
MiniscriptInstructionOutcome | scriptSetDirect (MiniscriptThread *thread, const DynamicValue &dest) |
|
MiniscriptInstructionOutcome | scriptSetPosition (MiniscriptThread *thread, const DynamicValue &dest) |
|
MiniscriptInstructionOutcome | scriptSetPositionX (MiniscriptThread *thread, const DynamicValue &dest) |
|
MiniscriptInstructionOutcome | scriptSetPositionY (MiniscriptThread *thread, const DynamicValue &dest) |
|
MiniscriptInstructionOutcome | scriptSetCenterPosition (MiniscriptThread *thread, const DynamicValue &dest) |
|
MiniscriptInstructionOutcome | scriptSetCenterPositionX (MiniscriptThread *thread, const DynamicValue &dest) |
|
MiniscriptInstructionOutcome | scriptSetCenterPositionY (MiniscriptThread *thread, const DynamicValue &dest) |
|
MiniscriptInstructionOutcome | scriptSetVisibility (MiniscriptThread *thread, const DynamicValue &result) |
|
MiniscriptInstructionOutcome | scriptSetSize (MiniscriptThread *thread, const DynamicValue &dest) |
|
MiniscriptInstructionOutcome | scriptSetWidth (MiniscriptThread *thread, const DynamicValue &dest) |
|
MiniscriptInstructionOutcome | scriptSetHeight (MiniscriptThread *thread, const DynamicValue &dest) |
|
MiniscriptInstructionOutcome | scriptSetLayer (MiniscriptThread *thread, const DynamicValue &dest) |
|
MiniscriptInstructionOutcome | scriptWriteRefPositionAttribute (MiniscriptThread *thread, DynamicValueWriteProxy &writeProxy, const Common::String &attrib) |
|
MiniscriptInstructionOutcome | scriptWriteRefSizeAttribute (MiniscriptThread *thread, DynamicValueWriteProxy &writeProxy, const Common::String &attrib) |
|
MiniscriptInstructionOutcome | scriptWriteRefCenterPositionAttribute (MiniscriptThread *thread, DynamicValueWriteProxy &writeProxy, const Common::String &attrib) |
|
void | offsetTranslate (int32 xDelta, int32 yDelta, bool cachedOriginOnly) |
|
void | resize (int32 width, int32 height) |
|
Common::Point | getCenterPosition () const |
|
VThreadState | changeVisibilityTask (const ChangeFlagTaskData &taskData) |
|
void | renderShading (Graphics::Surface &surf) const |
|
| Element (const Element &other) |
|
| Structural (const Structural &other) |
|
virtual ObjectLinkingScope * | getPersistentStructuralScope () |
|
virtual ObjectLinkingScope * | getPersistentModifierScope () |
|
MiniscriptInstructionOutcome | scriptSetPaused (MiniscriptThread *thread, const DynamicValue &value) |
|
MiniscriptInstructionOutcome | scriptSetLoop (MiniscriptThread *thread, const DynamicValue &value) |
|
MiniscriptInstructionOutcome | scriptSetDebug (MiniscriptThread *thread, const DynamicValue &value) |
|
MiniscriptInstructionOutcome | scriptSetUnload (MiniscriptThread *thread, const DynamicValue &value) |
|
virtual void | linkInternalReferences (ObjectLinkingScope *outerScope) |
|
virtual void | onPauseStateChanged () |
|
Runtime * | getRuntime () const |
|
MiniscriptInstructionOutcome | scriptSetClone (MiniscriptThread *thread, const DynamicValue &value) |
|
MiniscriptInstructionOutcome | scriptSetKill (MiniscriptThread *thread, const DynamicValue &value) |
|
MiniscriptInstructionOutcome | scriptSetParent (MiniscriptThread *thread, const DynamicValue &value) |
|
static VisualElement * | recursiveFindItemWithLayer (VisualElement *element, int32 layer) |
|
static uint32 | quantizeShading (uint32 mask, int16 shading) |
|
static void | renderShadingScanlineDynamic (void *data, size_t numElements, uint32 rMask, uint32 rAdd, uint32 gMask, uint32 gAdd, uint32 bMask, uint32 bAdd, bool isBrighten, byte bytesPerPixel) |
|
template<class TElement > |
static void | renderBrightenScanline (TElement *element, size_t numElements, TElement rMask, TElement rAdd, TElement gMask, TElement gAdd, TElement bMask, TElement bAdd) |
|
template<class TElement > |
static void | renderDarkenScanline (TElement *element, size_t numElements, TElement rMask, TElement rSub, TElement gMask, TElement gSub, TElement bMask, TElement bSub) |
|
bool | _directToScreen |
|
bool | _visible |
|
bool | _visibleByDefault |
|
Common::Rect | _rect |
|
Common::Point | _cachedAbsoluteOrigin |
|
uint16 | _layer |
|
int16 | _topLeftBevelShading |
|
int16 | _bottomRightBevelShading |
|
int16 | _interiorShading |
|
uint32 | _bevelSize |
|
Common::SharedPtr< DragMotionProperties > | _dragProps |
|
VisualElementRenderProperties | _renderProps |
|
Common::WeakPtr< GraphicModifier > | _primaryGraphicModifier |
|
VisualElementTransitionProperties | _transitionProps |
|
Common::SharedPtr< Palette > | _palette |
|
Common::Rect | _prevRect |
|
bool | _contentsDirty |
|
uint32 | _streamLocator |
|
uint16 | _sectionID |
|
Common::Array< MediaCueState * > | _mediaCues |
|
bool | _haveCheckedAutoPlay |
|
Structural * | _parent |
|
Common::Array< Common::SharedPtr< Structural > > | _children |
|
Common::Array< Common::SharedPtr< Modifier > > | _modifiers |
|
Common::String | _name |
|
Common::Array< Common::SharedPtr< Asset > > | _assets |
|
bool | _paused |
|
bool | _loop |
|
int32 | _flushPriority |
|
SceneLoadState | _sceneLoadState |
|
Common::SharedPtr< StructuralHooks > | _hooks |
|
uint32 | _guid |
|
uint32 | _runtimeGUID |
|
Common::WeakPtr< RuntimeObject > | _selfReference |
|