mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-11 23:50:58 +02:00
infoicons: don't hide already hidden icons; ...
this fixes wholes in radiotext gui
Origin commit data
------------------
Branch: ni/coolstream
Commit: 28fad37230
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-30 (Thu, 30 Nov 2017)
Origin message was:
------------------
- infoicons: don't hide already hidden icons; ...
this fixes wholes in radiotext gui
------------------
This commit was generated by Migit
This commit is contained in:
@@ -78,6 +78,7 @@ CInfoIcons::CInfoIcons()
|
||||
|
||||
thrTimer = 0;
|
||||
status = false;
|
||||
is_painted = false;
|
||||
|
||||
Init();
|
||||
}
|
||||
@@ -242,11 +243,16 @@ void CInfoIcons::paintIcons(bool first)
|
||||
startx += icon[i].sizeW;
|
||||
}
|
||||
}
|
||||
is_painted = true;
|
||||
}
|
||||
|
||||
void CInfoIcons::hideIcons()
|
||||
{
|
||||
frameBuffer->paintBackgroundBoxRel(x, y, width + OFFSET_SHADOW, height + OFFSET_SHADOW);
|
||||
if (is_painted)
|
||||
{
|
||||
frameBuffer->paintBackgroundBoxRel(x, y, width + OFFSET_SHADOW, height + OFFSET_SHADOW);
|
||||
is_painted = false;
|
||||
}
|
||||
}
|
||||
|
||||
void* CInfoIcons::TimerProc(void *arg)
|
||||
|
Reference in New Issue
Block a user