|
enum | { ACTIVATE = sysEventID('S', 'A', 'c'),
DEACTIVATE = sysEventID('S', 'D', 'c'),
LOST_CONTEXT = sysEventID('S', 'L', 'C')
} |
|
typedef Property2Args< float, Vector2, const Vector2 &, Actor, &Actor::getPosition, &Actor::setPosition > | TweenPosition |
|
typedef Property< float, float, Actor, &Actor::getX, &Actor::setX > | TweenX |
|
typedef Property< float, float, Actor, &Actor::getY, &Actor::setY > | TweenY |
|
typedef Property< float, float, Actor, &Actor::getWidth, &Actor::setWidth > | TweenWidth |
|
typedef Property< float, float, Actor, &Actor::getHeight, &Actor::setHeight > | TweenHeight |
|
typedef Property2Args2< float, Vector2, Vector2, const Vector2 &, Actor, &Actor::getSize, &Actor::setSize > | TweenSize |
|
typedef Property< float, float, Actor, &Actor::getRotation, &Actor::setRotation > | TweenRotation |
|
typedef Property< float, float, Actor, &Actor::getRotationDegrees, &Actor::setRotationDegrees > | TweenRotationDegrees |
|
typedef Property2Args1Arg< float, Vector2, const Vector2 &, Actor, &Actor::getScale, &Actor::setScale > | TweenScale |
|
typedef Property2Args1Arg< float, Vector2, const Vector2 &, Actor, &Actor::getAnchor, &Actor::setAnchor > | TweenAnchor |
|
typedef Property< float, float, Actor, &Actor::getScaleX, &Actor::setScaleX > | TweenScaleX |
|
typedef Property< float, float, Actor, &Actor::getScaleY, &Actor::setScaleY > | TweenScaleY |
|
typedef Property< unsigned char, unsigned char, Actor, &Actor::getAlpha, &Actor::setAlpha > | TweenAlpha |
|
typedef std::vector< ObjectBase * > | __createdObjects |
|
|
| Stage (bool autoHandleReset=false) |
|
void | init (const Point &displaySize, const Point &gameSize) |
|
void | setClipOuterArea (bool clip) |
|
void | render (const Color *clearColor, const Rect &viewport, const Matrix &view, const Matrix &proj) |
|
void | render (const Color &clearColor, const Rect &viewport) |
|
void | update () |
|
void | cleanup () |
|
RectF | getDestRect () const override |
|
std::string | dump (const dumpOptions &opt) const override |
|
void | associateWithWindow (SDL_Window *wnd) |
|
SDL_Window * | getAssociatedWindow () const |
|
| Actor (const Actor &src, cloneOptions opt=0) |
|
virtual Actor * | clone (cloneOptions opt=0) const |
|
void | copyFrom (const Actor &src, cloneOptions opt=0) |
|
spActor | getFirstChild () const |
|
spActor | getLastChild () const |
|
spActor | getNextSibling () const |
|
spActor | getPrevSibling () const |
|
Actor * | getDescendant (const std::string &name, error_policy ep=ep_show_error) |
|
template<class T > |
T * | getDescendantT (const std::string &name, error_policy ep=ep_show_error) |
|
spActor | getChild (const std::string &name, error_policy ep=ep_show_error) const |
|
template<class T > |
T * | getChildT (const std::string &name, error_policy ep=ep_show_error) const |
|
spTween | getTween (const std::string &name, error_policy ep=ep_show_error) |
|
spTween | getFirstTween () const |
|
spTween | getLastTween () const |
|
const Vector2 & | getAnchor () const |
|
float | getAnchorX () const |
|
float | getAnchorY () const |
|
bool | getIsAnchorInPixels () |
|
const Vector2 & | getPosition () const |
|
float | getX () const |
|
float | getY () const |
|
const Vector2 & | getScale () const |
|
float | getScaleX () const |
|
float | getScaleY () const |
|
float | getRotation () const |
|
float | getRotationDegrees () const |
|
int | getPriority () const |
|
bool | getVisible () const |
|
Actor * | getParent () |
|
const Actor * | getParent () const |
|
Vector2 | getSize () const |
|
Vector2 | getScaledSize () const |
|
float | getWidth () const |
|
float | getScaledWidth () const |
|
float | getHeight () const |
|
float | getScaledHeight () const |
|
unsigned char | getAlpha () const |
|
const spClock & | getClock () const |
|
pointer_index | getPressed (MouseButton b=MouseButton_Touch) const |
|
pointer_index | getOvered () const |
|
bool | getTouchEnabled () const |
|
bool | getTouchChildrenEnabled () const |
|
UpdateCallback | getCallbackDoUpdate () const |
|
Material * | getMaterial () |
|
const Transform & | getTransform () const |
|
const Transform & | getTransformInvert () const |
|
Transform | computeGlobalTransform (Actor *parent=0) const |
|
RectF | computeBounds (const Transform &transform=Transform::getIdentity()) const |
|
void | setAnchor (const Vector2 &anchor) |
|
void | setAnchor (float ax, float ay) |
|
void | setAnchorInPixels (const Vector2 &anchor) |
|
void | setAnchorInPixels (float x, float y) |
|
void | setAnchorX (float x) |
|
void | setAnchorY (float y) |
|
void | setPosition (const Vector2 &pos) |
|
void | setPosition (float x, float y) |
|
void | setX (float x) |
|
void | setY (float y) |
|
void | setTransform (const AffineTransform &tr) |
|
void | setPriority (short zorder) |
|
void | setScale (float scale) |
|
void | setScale (const Vector2 &scale) |
|
void | setScale (float scaleX, float scaleY) |
|
void | setScaleX (float sx) |
|
void | setScaleY (float sy) |
|
void | setRotation (float angle) |
|
void | setRotationDegrees (float angle) |
|
void | setSize (const Vector2 &) |
|
void | setSize (float w, float h) |
|
void | setWidth (float w) |
|
void | setHeight (float h) |
|
void | setExtendedClickArea (char add) |
|
void | setClock (spClock clock) |
|
void | setMaterial (Material *mat) |
|
void | setVisible (bool vis) |
|
void | setCull (bool enable) |
|
void | setAlpha (unsigned char alpha) |
|
void | setTouchEnabled (bool enabled) |
|
void | setTouchChildrenEnabled (bool enabled) |
|
void | setTouchEnabled (bool enabled, bool childrenEnabled) |
|
void | setCallbackDoUpdate (UpdateCallback cb) |
|
bool | isDescendant (const spActor &actor) const |
|
void | insertSiblingBefore (spActor) |
|
void | insertSiblingAfter (spActor) |
|
void | prependChild (spActor actor) |
|
void | prependChild (Actor *actor) |
|
void | addChild (spActor actor) |
|
void | addChild (Actor *actor) |
|
void | attachTo (spActor parent) |
|
void | attachTo (Actor *parent) |
|
void | removeChild (spActor actor) |
|
void | removeChildren () |
|
Actor * | detach () |
|
void | dispatchEvent (Event *event) override |
|
virtual void | updateStateOvered () |
|
virtual void | updateStatePressed () |
|
spTween | addTween (spTween) |
|
spTween | addTween2 (spTween, const TweenOptions &opt) |
|
template<class Prop > |
spTween | addTween (const Prop &prop, timeMS duration, int loops=1, bool twoSides=false, timeMS delay=0, Tween::EASE ease=Tween::ease_linear) |
|
template<class Prop > |
spTween | addTween (const Prop &prop, const TweenOptions &opt) |
|
int | addClickListener (const EventCallback &cb) |
|
int | addTouchDownListener (const EventCallback &cb) |
|
int | addTouchUpListener (const EventCallback &cb) |
|
void | removeTween (spTween) |
|
void | removeTweensByName (const std::string &name) |
|
void | removeTweens (bool callComplete=false) |
|
virtual void | update (const UpdateState &us) |
|
virtual void | render (const RenderState &rs) |
|
virtual void | handleEvent (Event *event) |
|
virtual void | doRender (const RenderState &rs) |
|
Vector2 | parent2local (const Vector2 &pos) const |
|
Vector2 | local2parent (const Vector2 &pos=Vector2(0, 0)) const |
|
Vector2 | local2stage (const Vector2 &pos=Vector2(0, 0), Actor *stage=0) const |
|
Vector2 | stage2local (const Vector2 &pos, Actor *stage=0) const |
|
void | serialize (serializedata *) override |
|
void | deserialize (const deserializedata *) override |
|
Stage * | _getStage () |
|
void | setNotPressed (MouseButton b) |
|
bool | internalRender (RenderState &rs, const RenderState &parentRS) |
|
void | clean () |
|
virtual bool | getBounds (RectF &) const |
|
| EventDispatcher (const EventDispatcher &ed) |
|
int | addEventListener (eventType, const EventCallback &) |
|
void | removeEventListener (eventType, const EventCallback &) |
|
void | removeEventListener (int id) |
|
bool | hasEventListeners (void *CallbackThis) |
|
bool | hasEventListeners (eventType, const EventCallback &) |
|
void | removeEventListeners (void *CallbackThis) |
|
void | removeAllEventListeners () |
|
int | getListenersCount () const |
|
int | getLastListenerID () const |
|
const EventCallback & | getListenerByIndex (int index) const |
|
| Object (const Object &src) |
|
| Object (bool assignUniqueID=true) |
|
void | addRef () |
|
void | releaseRef () |
|
| ObjectBase (const ObjectBase &src) |
|
| ObjectBase (bool assignID=true) |
|
const std::string & | getName () const |
|
const void * | getUserData () const |
|
int | getObjectID () const |
|
bool | isName (const std::string &name) const |
|
bool | isName (const char *name) const |
|
void | setName (const std::string &name) |
|
void | setUserData (const void *data) |
|
void | dumpObject () const |
|
void | __removeFromDebugList () |
|
intrusive_list< spActor > * | getParentList () |
|
virtual void | deserializeLink (const deserializeLinkData *) |
|