mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
CTestMenu: edd expanded sample for blinking items with syncroinized effect
Origin commit data
------------------
Commit: 2e2d0d6b19
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-17 (Sat, 17 Dec 2016)
This commit is contained in:
@@ -87,6 +87,7 @@ CTestMenu::CTestMenu()
|
||||
clock = clock_r = NULL;
|
||||
text_ext = NULL;
|
||||
scrollbar = NULL;
|
||||
timer = NULL;
|
||||
}
|
||||
|
||||
CTestMenu::~CTestMenu()
|
||||
@@ -950,6 +951,8 @@ void CTestMenu::showRecords()
|
||||
|
||||
const int box_posX = 30;
|
||||
const int box_posY = 300;
|
||||
if (!timer)
|
||||
timer = new CComponentsTimer(1);
|
||||
|
||||
if (crm->RecordingStatus())
|
||||
{
|
||||
@@ -1013,7 +1016,7 @@ void CTestMenu::showRecords()
|
||||
|
||||
for(size_t j = 0; j< images.size(); j++){
|
||||
images[j]->kill();
|
||||
images[j]->paintBlink();
|
||||
images[j]->paintBlink(timer);
|
||||
}
|
||||
|
||||
ShowHint("Testmenu: Records", "Record test ...", 200, 30, NULL, NEUTRINO_ICON_HINT_RECORDING, CComponentsHeader::CC_BTN_EXIT);
|
||||
|
Reference in New Issue
Block a user