Background and Border of UIControls now supports alpha transparency.

--HG--
branch : dev
This commit is contained in:
Martín Lucas Golini
2017-09-26 01:05:49 -03:00
parent 0f70dabd18
commit b037f0feac
6 changed files with 43 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ class EE_API UIBackground {
UIBackground * setCorners( const unsigned int& corners );
void draw( Rectf R );
void draw( Rectf R, const Float& alpha );
Drawable * getDrawable() const;

View File

@@ -19,7 +19,7 @@ class EE_API UIBorder {
UIBorder * setWidth( const unsigned int& width );
void draw( Rectf R, const int& corners, const bool& clipping );
void draw( Rectf R, const Float& alpha, const int& corners, const bool& clipping );
protected:
Color mColor;
unsigned int mWidth;