CComponents: add member setCorner()

This replaces setCornerType() and setCornerRadius() soon
This commit is contained in:
2013-09-15 18:10:10 +02:00
parent c8356949db
commit c6b9fe432b

View File

@@ -184,6 +184,8 @@ class CComponents
inline virtual void setCornerType(const int& type){corner_type = type;};
///set corner radius
inline virtual void setCornerRadius(const int& radius){corner_rad = radius;};
///set corner radius and type
inline virtual void setCorner(const int& radius, const int& type = CORNER_ALL){corner_rad = radius; corner_type = type;};
///get corner types
inline virtual int getCornerType(){return corner_type;};
///get corner radius