[mythtv] OpenGL menu background rendering problem

Colin Guthrie mythtv at colin.guthr.ie
Wed Mar 22 15:46:28 UTC 2006


Has anyone else managed to take a look at this (see below or in thread)?

If someone cleverer than me can point me in the right direction as to 
where the background image is loaded and displayed in Myth, then I'll 
probably be able to mess about a bit more, but I can't see how I can 
look at it more closely until I find this code. I'll try and take 
another look tonight, but pointers would probably spead things up for me.

Col.


Colin Guthrie wrote:
> Isaac Richards wrote:
> 
>>On Monday 20 March 2006 14:08, Colin Guthrie wrote:
>>
>>>If you can point me in the right direction, perhaps I can take a
>>>looksee? GL really isn't my strong point tho'.
>>
>>
>>All the opengl drawing is in libs/libmythui/mythpainter_ogl.cpp
> 
> 
> Ach, I don't think I'm much use.... I can't even work out where the 
> background is loaded and displayed from the theme!!!
> 
> The only bit of code that seems to make sense to me as to where this 
> image tag may be loaded from the XML file is in myththemedmenu.cpp:364 
> ish in the parseBackground() method but it simply ignores the image tag 
> contained within the <background> block....
> 
> 364 	            if (info.tagName() == "image")
> 365 	            {
> 366 	            }
> 367
> 
> So as things stand, I can't work out where it's painting the background 
> in the first place let alone try and debug it!!
> 
> The code above is in the 19-fixes branch/tag so it can't be incorrect, 
> and I summise that it must be me being thick!
> 
> 
> Sorry.
> 
> Col.
> 


-- 

+------------------------+
|     Colin Guthrie      |
+------------------------+
| myth(at)colin.guthr.ie |
| http://colin.guthr.ie/ |
+------------------------+


More information about the mythtv-dev mailing list