From 740e7e8129b7bd038a33d5c4733e65b27c060dfd Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 21 Sep 2013 00:22:10 +0200 Subject: [PATCH] CTestMenu: fix build of test menu, name of member was changed --- src/gui/test_menu.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/test_menu.cpp b/src/gui/test_menu.cpp index ed8ec9228..9f1e5bea0 100644 --- a/src/gui/test_menu.cpp +++ b/src/gui/test_menu.cpp @@ -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);