CTestMenu: remove minitv sample

Can not be displayed here nicely.


Origin commit data
------------------
Branch: ni/coolstream
Commit: c17e2e5d6c
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-14 (Thu, 14 Mar 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-03-14 22:20:47 +01:00
parent 3b0adf1ee0
commit 1fb15ee287
2 changed files with 0 additions and 14 deletions

View File

@@ -65,7 +65,6 @@ CTestMenu::CTestMenu()
circle = NULL; circle = NULL;
sq = NULL; sq = NULL;
pic= NULL; pic= NULL;
pip = NULL;
form = NULL; form = NULL;
txt = NULL; txt = NULL;
header = NULL; header = NULL;
@@ -78,7 +77,6 @@ CTestMenu::~CTestMenu()
delete sq; delete sq;
delete circle; delete circle;
delete pic; delete pic;
delete pip;
delete form; delete form;
delete txt; delete txt;
delete header; delete header;
@@ -360,16 +358,6 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey)
pic->hide(); pic->hide();
return res; 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"){ else if (actionKey == "form"){
if (form == NULL) if (form == NULL)
form = new CComponentsForm(); 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("Circle", true, NULL, this, "circle"));
widget->addItem(new CMenuForwarderNonLocalized("Square", true, NULL, this, "square")); widget->addItem(new CMenuForwarderNonLocalized("Square", true, NULL, this, "square"));
widget->addItem(new CMenuForwarderNonLocalized("Picture", true, NULL, this, "picture")); 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("Form", true, NULL, this, "form"));
widget->addItem(new CMenuForwarderNonLocalized("Text", true, NULL, this, "text")); widget->addItem(new CMenuForwarderNonLocalized("Text", true, NULL, this, "text"));
widget->addItem(new CMenuForwarderNonLocalized("Header", true, NULL, this, "header")); widget->addItem(new CMenuForwarderNonLocalized("Header", true, NULL, this, "header"));

View File

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