mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-14 08:53:38 +02:00
revert 2649ca147a
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget
Origin commit data
------------------
Commit: 6dd1da0628
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-25 (Fri, 25 Oct 2013)
This commit is contained in:
@@ -43,7 +43,7 @@ CComponentsItemBox::CComponentsItemBox()
|
||||
|
||||
CComponentsItemBox::~CComponentsItemBox()
|
||||
{
|
||||
hideCC();
|
||||
hide();
|
||||
clearElements();
|
||||
clearSavedScreen();
|
||||
clear();
|
||||
@@ -213,7 +213,7 @@ void CComponentsItemBox::refreshElement(size_t index, const std::string& element
|
||||
case CC_ITEMBOX_PICTURE:
|
||||
pic = static_cast<CComponentsPicture*>(v_element_data[index].handler1);
|
||||
if (pic != NULL) {
|
||||
pic->hideCC();
|
||||
pic->hide();
|
||||
delete pic;
|
||||
}
|
||||
v_element_data[index].element = element;
|
||||
@@ -240,7 +240,7 @@ void CComponentsItemBox::paintImage(size_t index, bool newElement)
|
||||
|
||||
if ((newElement) || (pic == NULL)) {
|
||||
if (pic != NULL) {
|
||||
pic->hideCC();
|
||||
pic->hide();
|
||||
delete pic;
|
||||
pic = NULL;
|
||||
}
|
||||
@@ -287,7 +287,7 @@ void CComponentsItemBox::paintText(size_t index, bool newElement)
|
||||
|
||||
if ((newElement) || (textbox == NULL)) {
|
||||
if (textbox != NULL) {
|
||||
textbox->hideCC();
|
||||
textbox->hide();
|
||||
delete textbox;
|
||||
textbox = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user