mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
cc_timer/cc_frm_clock: allow use of milisecond intervals
Should be easier and more flexible to handle without nano parameter, some reworkes in other classes and thread handlings are required.
This commit is contained in:
@@ -841,11 +841,12 @@ bool CCDraw::paintBlink(CComponentsTimer* Timer)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CCDraw::paintBlink(const int& interval, bool is_nano)
|
||||
bool CCDraw::paintBlink(const int64_t& interval)
|
||||
{
|
||||
if (cc_draw_timer == NULL){
|
||||
cc_draw_timer = new CComponentsTimer(interval, is_nano);
|
||||
cc_draw_timer = new CComponentsTimer(interval);
|
||||
cc_draw_timer->setThreadName(__func__);
|
||||
cc_draw_timer->startTimer();
|
||||
}
|
||||
|
||||
return paintBlink(cc_draw_timer);
|
||||
|
Reference in New Issue
Block a user