class EE::Graphics::StateListDrawable
#include <statelistdrawable.hpp>
class StateListDrawable: public EE::Graphics::StatefulDrawable {
public:
// construction
StateListDrawable(const std::string& name = "");
virtual ~StateListDrawable();
// methods
static StateListDrawable* New(const std::string& name = "");
virtual Sizef getSize();
virtual Sizef getPixelsSize();
virtual Sizef getSize(const Uint32& state);
virtual Sizef getPixelsSize(const Uint32& state);
virtual void draw();
virtual void draw(const Vector2f& position);
virtual void draw(const Vector2f& position, const Sizef& size);
virtual bool isStateful();
virtual StatefulDrawable* setState(Uint32 state);
virtual const Uint32& getState() const;
virtual Drawable* getStateDrawable(const Uint32& state);
virtual StateListDrawable* setStateDrawable(const Uint32& state, Drawable* drawable, bool ownIt = false);
virtual Sizef getStateSize(const Uint32& state);
virtual StateListDrawable* setStateColor(const Uint32& state, const Color& color);
virtual Color getStateColor(const Uint32& state);
virtual StateListDrawable* setStateAlpha(const Uint32& state, const Uint8& alpha);
virtual Uint8 getStateAlpha(const Uint32& state);
bool hasDrawableState(const Uint32& state) const;
bool hasDrawableStateColor(const Uint32& state) const;
void clearDrawables();
};