mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed flickering when main menu is fading
This commit is contained in:
parent
bffafedbd3
commit
dc2aefa7c1
1
HISTORY
1
HISTORY
@ -390,3 +390,4 @@ Version 0.6.0
|
||||
Version 0.6.1
|
||||
|
||||
- changed skinrepository from static file to github repository
|
||||
- fixed flickering when main menu is fading
|
||||
|
@ -14,7 +14,7 @@ cSDDisplayMenu::cSDDisplayMenu(cTemplate *menuTemplate) {
|
||||
doOutput = false;
|
||||
dsyslog("skindesigner: displayMenu no valid template - aborting");
|
||||
return;
|
||||
}
|
||||
}
|
||||
rootView = new cDisplayMenuRootView(menuTemplate->GetRootView());
|
||||
if (!rootView->createOsd()) {
|
||||
doOutput = false;
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include "../libcore/helpers.h"
|
||||
|
||||
cDisplayMenuRootView::cDisplayMenuRootView(cTemplateView *rootView) : cView(rootView) {
|
||||
fadeOut = false;
|
||||
cat = mcUndefined;
|
||||
selectedPluginMainMenu = "";
|
||||
sortMode = msmUnknown;
|
||||
|
@ -10,6 +10,7 @@
|
||||
cDisplayMenuView::cDisplayMenuView(cTemplateView *tmplView, bool menuInit) : cView(tmplView) {
|
||||
if (!menuInit)
|
||||
SetFadeTime(0);
|
||||
fadeOut = false;
|
||||
cat = mcUndefined;
|
||||
sortMode = msmUnknown;
|
||||
sortModeLast = msmUnknown;
|
||||
@ -283,7 +284,6 @@ cDisplayMenuMainView::cDisplayMenuMainView(cTemplateView *tmplView, bool menuIni
|
||||
|
||||
cDisplayMenuMainView::~cDisplayMenuMainView() {
|
||||
CancelSave();
|
||||
FadeOut();
|
||||
}
|
||||
|
||||
void cDisplayMenuMainView::DrawStaticViewElements(void) {
|
||||
@ -628,7 +628,6 @@ cDisplayMenuSchedulesView::cDisplayMenuSchedulesView(cTemplateView *tmplView, eM
|
||||
|
||||
cDisplayMenuSchedulesView::~cDisplayMenuSchedulesView() {
|
||||
CancelSave();
|
||||
FadeOut();
|
||||
}
|
||||
|
||||
bool cDisplayMenuSchedulesView::DrawHeader(void) {
|
||||
|
@ -2,6 +2,7 @@
|
||||
#include "displaypluginview.h"
|
||||
|
||||
cDisplayPluginView::cDisplayPluginView(cTemplateView *tmplView, bool isRootView) : cView(tmplView) {
|
||||
fadeOut = false;
|
||||
init = true;
|
||||
tabInit = true;
|
||||
tabScrolled = true;
|
||||
@ -281,8 +282,7 @@ void cDisplayPluginView::DrawTabLabels(void) {
|
||||
}
|
||||
|
||||
void cDisplayPluginView::Action(void) {
|
||||
SetInitFinished();
|
||||
FadeIn();
|
||||
DoFlush();
|
||||
if (!init)
|
||||
SetFadeTime(0);
|
||||
cView::Action();
|
||||
}
|
@ -58,8 +58,9 @@ cView::~cView() {
|
||||
if (fadeOut) {
|
||||
if (IsAnimated())
|
||||
ShiftOut();
|
||||
else
|
||||
else {
|
||||
FadeOut();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user