mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CCDraw: simplified statement for blink init
This commit is contained in:
@@ -732,10 +732,10 @@ void CCDraw::enableShadow(int mode, const int& shadow_width, bool force_paint)
|
|||||||
|
|
||||||
void CCDraw::paintTrigger()
|
void CCDraw::paintTrigger()
|
||||||
{
|
{
|
||||||
if (!is_painted)
|
if (is_painted)
|
||||||
paint1();
|
|
||||||
else
|
|
||||||
hide();
|
hide();
|
||||||
|
else
|
||||||
|
paint();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CCDraw::paintBlink(CComponentsTimer* Timer)
|
bool CCDraw::paintBlink(CComponentsTimer* Timer)
|
||||||
|
Reference in New Issue
Block a user