Hi,
I am trying to make an lite skin option in my image but i cant get
it properly to work the skins are displayt merged on the screen.
so i think i miss something or doing what wrong.
has someone an idea what is missig or is not right
i have done this.
this is in the setup_extra.cpp
Code
new eListBoxEntryCheck(&list, _("Enable MHW EPG"), "/extras/mhwepg", _("Mediahighway EPG, activate swap space when using with multiple operators"));
//doppie
new eListBoxEntryMenuSeparator(&list, eSkin::getActive()->queryImage("listbox.separator"), 0, true );
new eListBoxEntryCheck(&list, _("Set Lite Skin"), "/extras/lite_skin", _("Lite Skin, Show Lite Skin"));
#endif
#ifdef ENABLE_LITESKIN
int lite=0;
if ( eConfig::getInstance()->getKey("/("/extras/lite_skin", lite) )
eConfig::getInstance()->setKey("/("/extras/lite_skin", lite);
//doppie
#endif
#ifdef HAVE_DREAMBOX_HARDWARE
if ( eSystemInfo::getInstance()->getHwType() == eSystemInfo::DM7000 )
{
int corefilesDisable = 0;
if (access("/var/etc/.no_corefiles", R_OK) == 0)
Alles anzeigen
and this is in my enigma_main.cpp
Code
void eZapMain::showInfobar(bool startTimeout)
{
if(eConfig::getInstance()->getKey("/extras/lite_skin", lite))
{
lite= 0;
eConfig::getInstance()->setKey("/extras/lite_skin", lite);
}
eSkin *skin=eSkin::getActive();
eSkin *skin_l=eSkin::getActive();
if(lite==1)
{
if (skin_l->build(this, "easy_ezap_main"))
eFatal("skin load of \"easy_ezap_main\" failed");
if (skin->build(this, "ezap_main"))
eFatal("skin load of \"ezap_main\" failed");
}
else
{
if (skin->build(this, "ezap_main"))
eFatal("skin load of \"ezap_main\" failed");
}
//end doppie
if ( !isVisible() && eApp->looplevel() == 1 &&
( !currentFocus || currentFocus == this ) )
show();
if (startTimeout && doHideInfobar())
{
eConfig::getInstance()->getKey("/enigma/timeoutInfobar", timeoutInfobar);
timeout.start((timeoutInfobar * 1000), 1);
}
/* SNR,AGC DISPLAY begin */
/* SNR,AGC Display function call */
Alles anzeigen
but this gives an merged skin on the tv-screen look to the picture
the grey one is the lite skin and lays over a piece of norma lskin.
has some one the or an solution how to go further??
Regards
doppie