mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CTestMenu: fix build of test menu, name of member was changed
This commit is contained in:
@@ -415,16 +415,14 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey)
|
|||||||
ptmp->setHeight(28);
|
ptmp->setHeight(28);
|
||||||
ptmp->setPictureAlign(CC_ALIGN_HOR_CENTER | CC_ALIGN_VER_CENTER);
|
ptmp->setPictureAlign(CC_ALIGN_HOR_CENTER | CC_ALIGN_VER_CENTER);
|
||||||
ptmp->setColorBody(COL_BLUE);
|
ptmp->setColorBody(COL_BLUE);
|
||||||
ptmp->setCornerRadius(RADIUS_MID);
|
ptmp->setCorner(RADIUS_MID, CORNER_TOP_LEFT);
|
||||||
ptmp->setCornerType(CORNER_TOP_LEFT);
|
|
||||||
form->addCCItem(ptmp);
|
form->addCCItem(ptmp);
|
||||||
|
|
||||||
CComponentsText *t1 = new CComponentsText(28, 0, 100, 28, "Text1", CTextBox::NO_AUTO_LINEBREAK);
|
CComponentsText *t1 = new CComponentsText(28, 0, 100, 28, "Text1", CTextBox::NO_AUTO_LINEBREAK);
|
||||||
form->addCCItem(t1);
|
form->addCCItem(t1);
|
||||||
|
|
||||||
CComponentsText *t2 = new CComponentsText(t1->getXPos()+t1->getWidth(), 0, 200, 50, "Text2", CTextBox::NO_AUTO_LINEBREAK | CTextBox::RIGHT);
|
CComponentsText *t2 = new CComponentsText(t1->getXPos()+t1->getWidth(), 0, 200, 50, "Text2", CTextBox::NO_AUTO_LINEBREAK | CTextBox::RIGHT);
|
||||||
t2->setCornerRadius(RADIUS_MID);
|
t2->setCorner(RADIUS_MID, CORNER_TOP_RIGHT);
|
||||||
t2->setCornerType(CORNER_TOP_RIGHT);
|
|
||||||
form->addCCItem(t2);
|
form->addCCItem(t2);
|
||||||
|
|
||||||
CComponentsShapeCircle *c1 = new CComponentsShapeCircle(28, 40, 28);
|
CComponentsShapeCircle *c1 = new CComponentsShapeCircle(28, 40, 28);
|
||||||
|
Reference in New Issue
Block a user