Added some bacgkround and border helper functions for UINode.

Minor fixes.

--HG--
branch : dev
This commit is contained in:
Martín Lucas Golini
2018-04-02 21:30:25 -03:00
parent abc233a8d2
commit 45be2df196
3 changed files with 50 additions and 6 deletions

View File

@@ -88,6 +88,18 @@ class EE_API UINode : public Node {
UIBorder * setBorderEnabled( bool enabled );
UINode * setBackgroundDrawable( Drawable * drawable , bool ownIt = false );
UINode * setBackgroundColor( const Color& color );
UINode * setBackgroundCorners( const unsigned int& corners );
UINode * setBackgroundBlendMode( const BlendMode& blendMode );
UINode * setBorderColor( const Color& color );
UINode * setBorderWidth( const unsigned int& width );
const Uint32& getFlags() const;
virtual UINode * setFlags( const Uint32& flags );