mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
CComponentsShapeCircle: getDiam() become const
Technically the member function 'CComponentsShapeCircle::getDiam' can be const (style)
This commit is contained in:
@@ -49,7 +49,7 @@ class CComponentsShapeCircle : public CComponentsItem
|
||||
///set property: diam
|
||||
inline void setDiam(const int& diam){d=width=height=diam, corner_rad=d/2;};
|
||||
///get property: diam
|
||||
inline int getDiam(){return d;};
|
||||
inline int getDiam() const {return d;};
|
||||
|
||||
///paint item
|
||||
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
|
||||
|
Reference in New Issue
Block a user