Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Theming

draw order

 

 

MythTV theming RSS feed   Index | Next | Previous | View Threaded


pfunkmyth at gmail

Jan 31, 2012, 9:33 PM

Post #1 of 3 (340 views)
Permalink
draw order

I am bumping up against a problem with the draw order in mythui. As I
understand it, elements are drawn in the order defined in XML. I'm trying
to add a shape behind an imagetype inside a state, but for some reason, the
shape is being drawn over the imagetype.

I'm using a slightly modified version of video-ui.xml from arclight. The
rest of the theme is unmodified.

Code is here: http://pastebin.com/X6jmZyqi

Am I doing it wrong? Relevant code starts around line 565.

--pete


managementboy at gmail

Feb 1, 2012, 1:19 AM

Post #2 of 3 (317 views)
Permalink
Re: draw order [In reply to]

Hi Peter,

I have not tried this, but try adding the <shape name="CoverBox"> also into
the "active" part of the statetype and make it alpha=0.

cheers, Elkin



2012/2/1 Peter Funkenhausen <pfunkmyth [at] gmail>

> I am bumping up against a problem with the draw order in mythui. As I
> understand it, elements are drawn in the order defined in XML. I'm trying
> to add a shape behind an imagetype inside a state, but for some reason, the
> shape is being drawn over the imagetype.
>
> I'm using a slightly modified version of video-ui.xml from arclight. The
> rest of the theme is unmodified.
>
> Code is here: http://pastebin.com/X6jmZyqi
>
> Am I doing it wrong? Relevant code starts around line 565.
>
> --pete
>
> _______________________________________________
> mythtv-theming mailing list
> mythtv-theming [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-theming
>
>


federico.ferri at yahoo

Feb 1, 2012, 1:34 AM

Post #3 of 3 (320 views)
Permalink
Re: draw order [In reply to]

In data marted́ 31 gennaio 2012 22:33:29, Peter Funkenhausen ha scritto:
> I am bumping up against a problem with the draw order in mythui. As I
> understand it, elements are drawn in the order defined in XML. I'm trying
> to add a shape behind an imagetype inside a state, but for some reason, the
> shape is being drawn over the imagetype.
>
> I'm using a slightly modified version of video-ui.xml from arclight. The
> rest of the theme is unmodified.
>
> Code is here: http://pastebin.com/X6jmZyqi
>
> Am I doing it wrong? Relevant code starts around line 565.
>
> --pete

Hi Peter, i haven't look at your code, but if an'element is defined in a previously drawn layer (it could be the active status, against the selected active)
it keep the position firstly defined.
I mean if the imagetype is already drawn, the shape will be over it.
You should add a dummy shape when the imagetype id drawn first time.

bye
Federico
_______________________________________________
mythtv-theming mailing list
mythtv-theming [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-theming

MythTV theming RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.