mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CCDraw: add overloaded version of paint Blink()
It's useful to have synchronized timer for more than one item.
This commit is contained in:
@@ -312,6 +312,17 @@ class CCDraw : public COSDFader, public CComponentsSignals
|
||||
///paint item, same like paint(CC_SAVE_SCREEN_YES) but without any argument
|
||||
virtual void paint1(){paint(CC_SAVE_SCREEN_YES);}
|
||||
|
||||
/**paint item with blink effect
|
||||
* This should work with all cc item types.
|
||||
*
|
||||
* @return bool returns true if effect is successful started
|
||||
*
|
||||
* @param[in] CComponentsTimer* pointer to timer object, Note: This object must be created and distroy outside
|
||||
* of this methode.
|
||||
* @see overloaded version of paintBlink()
|
||||
*/
|
||||
virtual bool paintBlink(CComponentsTimer* Timer);
|
||||
|
||||
/**paint item with blink effect
|
||||
* This should work with all cc item types.
|
||||
*
|
||||
|
Reference in New Issue
Block a user