20 #ifndef GNASH_CHARACTER_PROXY_H
21 #define GNASH_CHARACTER_PROXY_H
73 if (!_ptr) _tgt = sp._tgt;
89 if (!_ptr) _tgt = sp._tgt;
100 if (skipRebinding)
return _ptr;
104 if (_ptr)
return _ptr;
131 return get() == sp.
get();
149 mutable std::string _tgt;
157 #endif // GNASH_CHARACTER_PROXY_H
std::string getTarget() const
bound one.
Definition: CharacterProxy.cpp:46
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:119
CharacterProxy(DisplayObject *sp, movie_root &mr)
Construct a CharacterProxy pointing to the given sprite.
Definition: CharacterProxy.h:49
bool operator==(const CharacterProxy &sp) const
Two sprite_proxies are equal if they point to the same sprite.
Definition: CharacterProxy.h:129
void setReachable() const
Set the original sprite (if any) as reachable.
Definition: CharacterProxy.cpp:55
CharacterProxy & operator=(const CharacterProxy &sp)
Make this proxy a copy of the given one.
Definition: CharacterProxy.h:85
DisplayObject * findDisplayObjectByTarget(const std::string &tgtstr, movie_root &mr)
Definition: CharacterProxy.cpp:62
A proxy for DisplayObject pointers.
Definition: CharacterProxy.h:44
CharacterProxy(const CharacterProxy &sp)
Construct a copy of the given CharacterProxy.
Definition: CharacterProxy.h:67
#define DSOEXPORT
Definition: dsodefs.h:55
DisplayObject * get(bool skipRebinding=false) const
Get the pointed sprite, either original or rebound.
Definition: CharacterProxy.h:98
This class represents the 'Stage' and top-level movie.
Definition: movie_root.h:150