CTestMenu: remove minitv sample

Can not be displayed here nicely.
This commit is contained in:
2013-03-14 22:20:47 +01:00
parent 69476903ee
commit c17e2e5d6c
2 changed files with 0 additions and 14 deletions

View File

@@ -65,7 +65,6 @@ CTestMenu::CTestMenu()
circle = NULL;
sq = NULL;
pic= NULL;
pip = NULL;
form = NULL;
txt = NULL;
header = NULL;
@@ -78,7 +77,6 @@ CTestMenu::~CTestMenu()
delete sq;
delete circle;
delete pic;
delete pip;
delete form;
delete txt;
delete header;
@@ -360,16 +358,6 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey)
pic->hide();
return res;
}
else if (actionKey == "pip"){
if (pip == NULL)
pip = new CComponentsPIP (100, 100, 25);
if (!pip->isPainted())
pip->paint();
else
pip->hide();
return res;
}
else if (actionKey == "form"){
if (form == NULL)
form = new CComponentsForm();
@@ -564,7 +552,6 @@ void CTestMenu::showCCTests(CMenuWidget *widget)
widget->addItem(new CMenuForwarderNonLocalized("Circle", true, NULL, this, "circle"));
widget->addItem(new CMenuForwarderNonLocalized("Square", true, NULL, this, "square"));
widget->addItem(new CMenuForwarderNonLocalized("Picture", true, NULL, this, "picture"));
widget->addItem(new CMenuForwarderNonLocalized("PiP", true, NULL, this, "pip"));
widget->addItem(new CMenuForwarderNonLocalized("Form", true, NULL, this, "form"));
widget->addItem(new CMenuForwarderNonLocalized("Text", true, NULL, this, "text"));
widget->addItem(new CMenuForwarderNonLocalized("Header", true, NULL, this, "header"));

View File

@@ -42,7 +42,6 @@ class CTestMenu : public CMenuTarget
CComponentsShapeCircle * circle;
CComponentsShapeSquare* sq;
CComponentsPicture* pic;
CComponentsPIP* pip;
CComponentsForm *form;
CComponentsText *txt;
CComponentsHeader *header;