mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed flickering bug with vdr2.1.7
This commit is contained in:
parent
07fa0e71ef
commit
140e420705
4
HISTORY
4
HISTORY
@ -167,4 +167,8 @@ Version 0.1.4
|
||||
Version 0.1.5
|
||||
|
||||
- removed suppression of first DisplayChannel call after VDR start
|
||||
- fixed "flickering" bug with vdr2.1.7
|
||||
- fixed bug that osd language was not set correctly which caused one
|
||||
additional skin caching at startup
|
||||
|
||||
Version 0.1.6
|
||||
|
2
config.c
2
config.c
@ -24,7 +24,7 @@ cDesignerConfig::cDesignerConfig() {
|
||||
SetSkin();
|
||||
SetOSDSize();
|
||||
SetOSDFonts();
|
||||
osdLanguage = Setup.OSDLanguage;
|
||||
osdLanguage = "";
|
||||
}
|
||||
|
||||
cDesignerConfig::~cDesignerConfig() {
|
||||
|
1
config.h
1
config.h
@ -63,6 +63,7 @@ public:
|
||||
bool OsdSizeChanged(void);
|
||||
void SetOSDFonts(void);
|
||||
bool OsdFontsChanged(void);
|
||||
void SetOsdLanguage(void) { osdLanguage = Setup.OSDLanguage; };
|
||||
bool OsdLanguageChanged(void);
|
||||
cString GetSkinRessourcePath(void);
|
||||
void AddPlugin(string name, map < int, string > &menus);
|
||||
|
@ -22,8 +22,6 @@ cSDDisplayChannel::cSDDisplayChannel(cTemplate *channelTemplate, bool WithInfo)
|
||||
doOutput = false;
|
||||
return;
|
||||
}
|
||||
channelView->DrawBackground();
|
||||
channelView->DrawSignalBackground();
|
||||
}
|
||||
|
||||
cSDDisplayChannel::~cSDDisplayChannel() {
|
||||
@ -165,6 +163,8 @@ void cSDDisplayChannel::Flush(void) {
|
||||
return;
|
||||
|
||||
if (initial) {
|
||||
channelView->DrawBackground();
|
||||
channelView->DrawSignalBackground();
|
||||
channelView->DrawCurrentWeather();
|
||||
channelView->DrawCustomTokens();
|
||||
}
|
||||
|
@ -104,6 +104,7 @@ bool cPluginSkinDesigner::Start(void) {
|
||||
trueColorAvailable = false;
|
||||
} else
|
||||
dsyslog("skindesigner: TrueColor OSD found");
|
||||
config.SetOsdLanguage();
|
||||
config.SetPathes();
|
||||
config.ReadSkins();
|
||||
config.InitSkinIterator();
|
||||
|
Loading…
Reference in New Issue
Block a user