diff --git a/src/gui/components/cc.h b/src/gui/components/cc.h index e86b43799..ecfb9d87d 100644 --- a/src/gui/components/cc.h +++ b/src/gui/components/cc.h @@ -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