CTestMenu: fix build of test menu, name of member was changed

This commit is contained in:
2013-09-21 00:22:10 +02:00
parent 18a24d18bd
commit 740e7e8129

View File

@@ -415,16 +415,14 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey)
ptmp->setHeight(28);
ptmp->setPictureAlign(CC_ALIGN_HOR_CENTER | CC_ALIGN_VER_CENTER);
ptmp->setColorBody(COL_BLUE);
ptmp->setCornerRadius(RADIUS_MID);
ptmp->setCornerType(CORNER_TOP_LEFT);
ptmp->setCorner(RADIUS_MID, CORNER_TOP_LEFT);
form->addCCItem(ptmp);
CComponentsText *t1 = new CComponentsText(28, 0, 100, 28, "Text1", CTextBox::NO_AUTO_LINEBREAK);
form->addCCItem(t1);
CComponentsText *t2 = new CComponentsText(t1->getXPos()+t1->getWidth(), 0, 200, 50, "Text2", CTextBox::NO_AUTO_LINEBREAK | CTextBox::RIGHT);
t2->setCornerRadius(RADIUS_MID);
t2->setCornerType(CORNER_TOP_RIGHT);
t2->setCorner(RADIUS_MID, CORNER_TOP_RIGHT);
form->addCCItem(t2);
CComponentsShapeCircle *c1 = new CComponentsShapeCircle(28, 40, 28);