mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CTestMenu: remove minitv sample
Can not be displayed here nicely.
This commit is contained in:
@@ -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"));
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user