20 #ifndef GNASH_DISPLAY_OBJECT_H
21 #define GNASH_DISPLAY_OBJECT_H
31 #include <boost/cstdint.hpp>
32 #include <boost/noncopyable.hpp>
33 #include <boost/logic/tribool.hpp>
59 class movie_definition;
61 class InteractiveObject;
125 void copyMatrix(
const DisplayObject& from, DisplayObject& to);
135 SWFMatrix
getWorldMatrix(
const DisplayObject&
d,
bool includeRoot =
true);
412 #if GNASH_PARANOIA_LEVEL > 1
413 if (_mask)
assert(_mask->_maskee ==
this);
501 virtual bool pointInShape(boost::int32_t
x, boost::int32_t
y)
const = 0;
575 return ! _scriptTransformed && ! _dynamicallyCreated;
593 return _dynamicallyCreated;
598 _dynamicallyCreated =
true;
613 _scriptTransformed =
true;
663 return _child_invalidated;
721 _invalidated =
false;
722 _child_invalidated =
false;
854 typedef tree<std::pair<std::string, std::string> > InfoTree;
864 virtual InfoTree::iterator getMovieInfo(InfoTree& tr,
865 InfoTree::iterator it);
900 typedef std::map<event_id, BufferList>
Events;
998 return _event_handlers;
1049 double _xscale, _yscale, _rotation;
1052 boost::int32_t _depth;
1054 boost::tribool _focusRect;
1066 boost::uint16_t _ratio;
1076 std::string _origTarget;
1089 bool _scriptTransformed;
1091 bool _dynamicallyCreated;
1112 bool _child_invalidated;
1124 inline const SWFCxForm&
1162 return d ? d->
object() : 0;
1172 #ifdef DEBUG_SET_INVALIDATED
1173 #define set_invalidated() set_invalidated(__FILE__, __LINE__)
1177 #endif // GNASH_CHARACTER_H