CComponents: remove member setCornerRadius(),

setCorner() replaces this function, 2nd parameter sets type
This commit is contained in:
2013-09-15 20:39:54 +02:00
parent a9a1c5dd68
commit 33ec56ad6f
12 changed files with 16 additions and 26 deletions

View File

@@ -175,8 +175,7 @@ void CVolumeBar::initVolumeBarIcon()
vb_icon->setPictureAlign(CC_ALIGN_HOR_CENTER | CC_ALIGN_VER_CENTER);
vb_icon->setColorBody(col_body);
vb_icon->setCornerRadius(cornerRad());
vb_icon->setCornerType(CORNER_LEFT);
vb_icon->setCorner(cornerRad(), CORNER_LEFT);
//add icon to container
addCCItem(vb_icon);
@@ -210,8 +209,7 @@ void CVolumeBar::initVolumeBarDigit()
vb_digit->setDimensionsAll(vb_digit_x, 0, vb_digit_w, height);
vb_digit->setTextColor(COL_MENUCONTENT_TEXT);
vb_digit->setCornerRadius(cornerRad());
vb_digit->setCornerType(CORNER_RIGHT);
vb_digit->setCorner(cornerRad(), CORNER_RIGHT);
initVolumeBarDigitValue();
//add digit label to container