mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponents: add member setCorner()
This replaces setCornerType() and setCornerRadius() soon
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user