|
void | update (const Common::Array< ActorSwitcherSlot > &slots, float elapsed) |
|
bool | isMouseOver () const |
|
void | setFlash (int flash) |
|
| Node (const Common::String &name, const Math::Vector2d &scale=Math::Vector2d(1, 1), const Color &color=Color()) |
|
void | setName (const Common::String &name) |
|
const Common::String & | getName () const |
|
virtual void | setVisible (bool visible) |
|
bool | isVisible () const |
|
void | addChild (Node *child) |
|
void | removeChild (Node *node) |
|
void | clear () |
|
void | remove () |
|
const Common::Array< Node * > & | getChildren () const |
|
Node * | getParent () const |
|
const Node * | getRoot () const |
|
int | find (Node *other) |
|
void | setPos (const Math::Vector2d &pos) |
|
Math::Vector2d | getPos () const |
|
void | setOffset (const Math::Vector2d &offset) |
|
Math::Vector2d | getOffset () const |
|
void | setShakeOffset (const Math::Vector2d &offset) |
|
Math::Vector2d | getShakeOffset () const |
|
void | setRenderOffset (const Math::Vector2d &offset) |
|
Math::Vector2d | getRenderOffset () const |
|
void | setScale (const Math::Vector2d &scale) |
|
virtual Math::Vector2d | getScale () const |
|
Math::Vector2d | getAbsPos () const |
|
virtual Math::Matrix4 | getTrsf (const Math::Matrix4 &parentTrsf) |
|
void | setColor (const Color &color) |
|
Color | getColor () const |
|
Color | getComputedColor () const |
|
void | setAlpha (float alpha) |
|
float | getAlpha () const |
|
void | setZSort (int zsort) |
|
virtual int | getZSort () const |
|
void | setRotation (float rotation) |
|
float | getRotation () const |
|
void | setRotationOffset (float rotationOffset) |
|
float | getRotationOffset () const |
|
void | setAnchor (const Math::Vector2d &anchor) |
|
void | setAnchorNorm (const Math::Vector2d &anchorNorm) |
|
void | setSize (const Math::Vector2d &size) |
|
Math::Vector2d | getSize () const |
|
virtual Rectf | getRect () const |
|
void | draw (const Math::Matrix4 &parent=Math::Matrix4()) |
|
|
void | drawCore (const Math::Matrix4 &trsf) override final |
|
void | drawSprite (const SpriteSheetFrame &sf, Texture *texture, const Color &color, const Math::Matrix4 &trsf) |
|
void | drawIcon (const Common::String &icon, const Color &backColor, const Color &frameColor, const Math::Matrix4 &trsf, int index) |
|
Math::Matrix4 | transform (const Math::Matrix4 &trsf, int index) |
|
float | getAlpha (size_t index) const |
|
float | height () const |
|
int | iconIndex (const Math::Vector2d &pos) const |
|
Common::Rect | rect () const |
|
virtual void | onDrawChildren (const Math::Matrix4 &trsf) |
|
virtual void | onColorUpdated (const Color &c) |
|
|
Common::String | _name |
|
Math::Vector2d | _pos |
|
int | _zOrder = 0 |
|
Node * | _parent = nullptr |
|
Common::Array< Node * > | _children |
|
Math::Vector2d | _offset |
|
Math::Vector2d | _shakeOffset |
|
Math::Vector2d | _renderOffset |
|
Math::Vector2d | _anchor |
|
Math::Vector2d | _anchorNorm |
|
Math::Vector2d | _scale |
|
Math::Vector2d | _size |
|
Color | _color |
|
Color | _computedColor |
|
bool | _visible = true |
|
float | _rotation = 0.f |
|
float | _rotationOffset = 0.f |
|
The documentation for this class was generated from the following file: