Fixed skin set color.

--HG--
branch : dev-css
This commit is contained in:
Martín Lucas Golini
2019-05-16 00:59:25 -03:00
parent f30ee4fb3e
commit 6bf721ef2f
5 changed files with 19 additions and 40 deletions

View File

@@ -147,13 +147,9 @@ class EE_API UINode : public Node {
UINode * setSkin( UISkin * skin );
UINode * setSkinColor( const Uint32& state, const Color& color );
UINode * setSkinColor( const Color& color );
Color getSkinColor( const Uint32& state )const;
Color getSkinColor() const;
const Color& getSkinColor() const;
void removeSkin();
@@ -195,6 +191,7 @@ class EE_API UINode : public Node {
RectangleDrawable * mBorder;
Vector2f mDragPoint;
Uint32 mDragButton;
Color mSkinColor;
virtual Uint32 onMouseDown( const Vector2i& position, const Uint32& flags );