20 #ifndef GNASH_CHARACTER_PROXY_H 21 #define GNASH_CHARACTER_PROXY_H 72 if (!_ptr) _tgt = sp._tgt;
88 if (!_ptr) _tgt = sp._tgt;
99 if (skipRebinding)
return _ptr;
103 if (_ptr)
return _ptr;
130 return get() == sp.
get();
148 mutable std::string _tgt;
156 #endif // GNASH_CHARACTER_PROXY_H
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:168
bool isDangling() const
Return true if this sprite is dangling.
Definition: CharacterProxy.h:118
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
CharacterProxy(DisplayObject *sp, movie_root &mr)
Construct a CharacterProxy pointing to the given sprite.
Definition: CharacterProxy.h:48
CharacterProxy & operator=(const CharacterProxy &sp)
Make this proxy a copy of the given one.
Definition: CharacterProxy.h:84
DisplayObject * findDisplayObjectByTarget(const std::string &tgtstr, movie_root &mr)
Definition: CharacterProxy.cpp:62
A proxy for DisplayObject pointers.
Definition: CharacterProxy.h:43
CharacterProxy(const CharacterProxy &sp)
Construct a copy of the given CharacterProxy.
Definition: CharacterProxy.h:66
bool operator==(const CharacterProxy &sp) const
Two sprite_proxies are equal if they point to the same sprite.
Definition: CharacterProxy.h:128
#define DSOEXPORT
Definition: dsodefs.h:55
std::string getTarget() const
bound one.
Definition: CharacterProxy.cpp:46
void setReachable() const
Set the original sprite (if any) as reachable.
Definition: CharacterProxy.cpp:55
DisplayObject * get(bool skipRebinding=false) const
Get the pointed sprite, either original or rebound.
Definition: CharacterProxy.h:97
This class represents the 'Stage' and top-level movie.
Definition: movie_root.h:150