mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
@@ -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