[mythtv] OpenGL menu background rendering problem

Colin Guthrie mythtv at colin.guthr.ie
Mon Mar 20 21:17:37 UTC 2006


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