Author Topic: The background hides the list of the games.  (Read 158 times)

sosimple

  • Full Member
  • ***
  • Posts: 40
    • View Profile
The background hides the list of the games.
« on: January 25, 2020, 08:11:09 AM »
Hi. A newbie question. I am modify a basic theme but i stuck on this:
I have a backgound picture with transparent only the screen to see the videosnaps.
The list of the games is seen only in the screen.. (Where it is transparent). If i move the list somewhere else, it doesn't show.. I suppose it is hided from the background. It is probably in a layer above background . How can i solve this? If It helps this is the code of the gamelist: Perhaps add something to lb.sel_style  ?
 
Code: [Select]
local lb = fe.add_listbox( 1032, 64, 262, 852 ); //lista  32, 64, 262, 852
lb.charsize = 19;
lb.set_selbg_rgb( 25, 25, 25 )
lb.set_sel_rgb( 0, 0, 0 );
lb.sel_style = Style.Bold;

fe.add_image( "bg.png", 1, 1 ,0,0);



Thanks,

sosimple

  • Full Member
  • ***
  • Posts: 40
    • View Profile
Re: The background hides the list of the games.
« Reply #1 on: January 25, 2020, 08:33:15 AM »
ok i found a way after posting here.
I moved fe.add_image( "bg.png", 1, 1 ,0,0); before the other code and worked.. If there another solution please inform me.
Thanks,

jedione

  • Hero Member
  • *****
  • Posts: 864
  • punktoe
    • View Profile
Re: The background hides the list of the games.
« Reply #2 on: January 25, 2020, 12:26:45 PM »
you can also use

bg.zorder = -1

ext.....
help a friend....

sosimple

  • Full Member
  • ***
  • Posts: 40
    • View Profile
Re: The background hides the list of the games.
« Reply #3 on: January 26, 2020, 02:54:18 AM »
Thanks!