Jump to content


Photo

mute icon transparency


  • Please log in to reply
3 replies to this topic

#1 mickeyreg

  • Member
  • 13 posts

+3
Neutral

Posted 16 January 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:

 

Attached File  mute1.jpg   64.84KB   1 downloads

 

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

 

Attached File  mute2.jpg   72.93KB   1 downloads

 

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

 

The mute icon:

 

Attached File  mute.png   3.86KB   1 downloads



Re: mute icon transparency #2 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 16 January 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 posts

+3
Neutral

Posted 16 January 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 posts

+35
Good

Posted 16 January 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!


Edited by MCelliotG, 16 January 2018 - 21:53.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users