mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
added fading and shifting for displaytracks
This commit is contained in:
@@ -110,11 +110,15 @@ void cViewTracks::SetCurrentTrack(int index) {
|
||||
void cViewTracks::Flush(bool animFlush) {
|
||||
if (init) {
|
||||
sdOsd.LockFlush();
|
||||
if (viewList) {
|
||||
viewList->Draw();
|
||||
viewList->StartAnimation();
|
||||
}
|
||||
Render((int)eVeDisplayTracks::background);
|
||||
}
|
||||
if (change) {
|
||||
Render((int)eVeDisplayTracks::header);
|
||||
if (viewList)
|
||||
if (viewList && !init)
|
||||
viewList->Draw();
|
||||
change = false;
|
||||
}
|
||||
|
@@ -937,6 +937,7 @@ void cViewListAudioTracks::PreCache(void) {
|
||||
|
||||
void cViewListAudioTracks::SetNumtracks(int numTracks) {
|
||||
this->numTracks = numTracks;
|
||||
this->numElements = numTracks;
|
||||
tokenContainer->Clear();
|
||||
tokenContainer->AddIntToken(0, numTracks);
|
||||
}
|
||||
|
Reference in New Issue
Block a user