mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
CComponentsItem: move function isAdded() to CComponentsItem class
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3438b23f68
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-19 (Sat, 19 Oct 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -206,12 +206,12 @@ void CSampleClass::showSNR()
|
||||
signalbox = new CSignalBox(10, 100, 500, 38, frontend);
|
||||
// signalbox->setCornerRadius(0); //optional
|
||||
// signalbox->setColorBody(COL_BLACK); //optional
|
||||
signalbox->setColorBody(COL_MENUHEAD_PLUS_0);
|
||||
signalbox->setColorBody(COL_MENUHEAD_PLUS_0);q
|
||||
signalbox->doPaintBg(false);
|
||||
//if you want to add the object to a CC-Container (e.g. CComponentsWindow()), remove this line:
|
||||
signalbox->paint(false);
|
||||
//and add this lines:
|
||||
// if (!isAdded(signalbox))
|
||||
// if (!ignalbox->isAdded())
|
||||
// addCCItem(signalbox);
|
||||
//Note: signal box objects deallocate together with the CC-Container!
|
||||
}
|
||||
|
Reference in New Issue
Block a user