Springen naar inhoud


Foto

mute icon transparency


  • Please log in to reply
Er zijn 3 reacties in dit onderwerp

#1 mickeyreg

  • Member
  • 13 berichten

+3
Neutral

Geplaatst op 16 januari 2018 - 13:31

Hi,

 

I have in the skin.xml:

  <screen backgroundColor="Transparent" flags="wfNoBorder" name="Mute" position="20,25" size="200,200" zPosition="10">
    <ePixmap pixmap="InfinityFHD/volume/cycle/mute.png" position="0,0" size="200,200" alphatest="on" />
  </screen>

It works fine on the main screen:

 

Bijlage  mute1.jpg   64,84K   1 Aantal bijlagen

 

But in the menu under transparent part there is original tv picture:

 

Bijlage  mute2.jpg   72,93K   1 Aantal bijlagen

 

I've tried the different combination of zPosition/transparent/alphatest parameters but I can't find satisfactory result :(

 

The mute icon:

 

Bijlage  mute.png   3,86K   1 Aantal bijlagen



Re: mute icon transparency #2 littlesat

  • PLi® Core member
  • 56297 berichten

+691
Excellent

Geplaatst op 16 januari 2018 - 15:52

On which box... ? There are boxes who cannot render this. 

Or try alphatest="blend" instead of alphatest="on".


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: mute icon transparency #3 mickeyreg

  • Member
  • 13 berichten

+3
Neutral

Geplaatst op 16 januari 2018 - 16:23

On which box... ?

 

Zgemma H2.S

 

I'll try blend when when i will have access to the box.



Re: mute icon transparency #4 MCelliotG

  • Senior Member
  • 443 berichten

+35
Good

Geplaatst op 16 januari 2018 - 21:49

It's a very old "problem". Enigma2 cannot render alphablending between different screens. This means that the "blend" attribute works well within the same screen elements but not when one screen is entirely layed over another. Even if you set an alphatest value on the whole screen (first line) it gets ignored.

In this particular case you lay the "Volume" screen over the "Main Menu" screen. This is why the icon will not be blended cause Enigma2 does not understand what is below that since it belongs to a different screen.

I don't know if this can be rectified!


Veranderd door MCelliotG, 16 januari 2018 - 21:53



1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers