19 #ifndef GNASH_INTERACTIVE_DISPLAY_OBJECT_H
20 #define GNASH_INTERACTIVE_DISPLAY_OBJECT_H
116 boost::int32_t ) = 0;
134 log_error(
"Character %s did not override pointInShape() - "
135 "using pointInBounds() instead",
typeid(*this).name());
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:168
virtual bool trackAsMenu()
ActionScript property of Buttons and MovieClips altering mouse handling.
Definition: InteractiveObject.h:71
void add_invalidated_bounds(InvalidatedRanges &ranges, bool force)=0
Add the DisplayObject's invalidated bounds to the given ranges list.
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
virtual bool pointInShape(boost::int32_t x, boost::int32_t y) const
Return true if the given point falls in this DisplayObject's shape.
Definition: InteractiveObject.h:132
virtual InteractiveObject * topmostMouseEntity(boost::int32_t, boost::int32_t)=0
Return the topmost entity covering the given point and enabled to receive mouse events.
virtual ~InteractiveObject()
Definition: InteractiveObject.h:59
bool pointInBounds(boost::int32_t x, boost::int32_t y) const
Return true if the given point falls in this DisplayObject's bounds.
Definition: DisplayObject.h:488
The base class for all ActionScript objects.
Definition: as_object.h:161
virtual SWFRect getBounds() const =0
Returns local, untransformed bounds of this DisplayObject in TWIPS.
Base class for render handlers.
Definition: Renderer.h:190
virtual bool mouseEnabled() const =0
Whether the DisplayObject can handle a mouse event.
virtual StaticText * getStaticText(std::vector< const SWF::TextRecord * > &, size_t &)
Allow extraction of static text.
Definition: InteractiveObject.h:79
boost::int32_t x
Definition: BitmapData_as.cpp:434
DisplayObject * parent() const
Return the parent of this DisplayObject, or NULL if the DisplayObject has no parent.
Definition: DisplayObject.h:252
The base class for interactive objects.
Definition: InteractiveObject.h:44
boost::int32_t y
Definition: BitmapData_as.cpp:435
Static text fields, SWF-defined with read-only text.
Definition: StaticText.h:43
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:44
virtual void mouseEvent(const event_id &id)=0
Called whenever a mouse event affects this InteractiveObject.
A class to identify 'static' SWF events (system events).
Definition: event_id.h:52
virtual void display(Renderer &renderer, const Transform &xform)=0
Render this InteractiveObject.
Definition: GnashKey.h:331
InteractiveObject(as_object *object, DisplayObject *parent)
Definition: InteractiveObject.h:49
movie_root & getRoot(const as_environment &env)
Definition: as_environment.cpp:645