CComponents: add member setCorner()

This replaces setCornerType() and setCornerRadius() soon


Origin commit data
------------------
Branch: ni/coolstream
Commit: c6b9fe432b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-15 (Sun, 15 Sep 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-09-15 18:10:10 +02:00
parent 6c42bbe75b
commit 31295b55a3

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