class EE::UI::UISkinState

#include <uiskinstate.hpp>

class UISkinState: public EE::UI::UIState {
public:
    // construction

    UISkinState(UISkin* Skin);
    virtual ~UISkinState();

    // methods

    static UISkinState* New(UISkin* skin);
    UISkin* getSkin() const;
    void draw(const Float& X, const Float& Y, const Float& Width, const Float& Height, const Uint32& Alpha);
    virtual bool stateExists(const Uint32& State) const;
    void setStateColor(const Uint32& state, const Color& color);
    Color getStateColor(const Uint32& state) const;
    bool hasStateColor(const Uint32& state) const;
};

Inherited Members

public:
    // enums

    enum UIStates;
    enum UIStatesFlags;

    // methods

    static const char* getStateName(const Uint32& State);
    static int getStateNumber(const std::string& State);
    static const char* getStateNameFromStateFlag(const Uint32& stateFlag);
    static const Uint32& getStateFlag(const Uint32& stateIndex);
    static Uint32 getStateFlagFromName(const std::string& name);
    static bool isStateName(const std::string& State);
    const Uint32& getState() const;
    void setState(const Uint32& State);
    void pushState(const Uint32& State);
    void popState(const Uint32& State);
    virtual bool stateExists(const Uint32& State) const = 0;
    const Uint32& getCurrentState() const;
    const Uint32& getPreviousState() const;