[mythtv] Some Questions about OSD Themes
Joel Feenstra
joelf at altelco.net
Tue Dec 9 09:36:44 EST 2003
top level objects:
container
timeformat <qt style time format>
fadeaway <global fadetime>
font
List of tags available for fonts:
size <int>
size:small <int>
size:big <int>
color <hex>
outline <boolean>
shadow <offsetx, offsety>
filename <font file's name>
tags for textareas:
area <int, int, int, int>
font <previously defined font>
altfont <previously defined font>
multiline <boolean>
statictext <text>
value <text>
scroller <boolean>
linespacing <float> <--- defaults to 1.5
scrollmovement <int, int>
container attributes (inline with the container tag):
name <text>
priority <int>
fademovement <int, int>
containers can contain:
image
textarea
slider
box
editarrow
positionrects
positionimage
So to answer question 3, all containers can have individual fade
attributes. And to answer question 4 you have to compile with some
define set in the settings.pro file, but I can't remember what it is.
Anybody else know that one?
By the way, all the stuff I wrote is from current cvs. I'm not sure
what's new since .12
Joel Feenstra
Michael Schmidt wrote:
> Hi All,
>
> over the last few days I started to create a new OSD theme. I think it's
> quite good so far but there are some things I don't understand. Is there any
> documentation about theme building or the xml-format? A DTD might do as well.
> At the moment I'm working on myth0.12 and I didn't follow the commits list.
> So please bear with me if I ask something obvious.. I took a look at the CVS
> version though and found out that the format changed slightly. I also
> searched the mailing list archives but all I could find was this mail from April
> http://mythtv.org/pipermail/mythtv-dev/2003-April/009188.html.
>
> In case that there's no documentation I have some specific questions:
>
> (1) So far I only managed to display the program_info, browse_info and
> status dialogs. What do I have to do to actually see the other dialogs?
>
> (2.) Are there other font properties besides shadow and outline? I'm
> interessed in changing the font-weight and font-style (bold, italic).
>
> (3) What attributes can I pass to a container tag? Is this context
> sensitive? Can I make the browse_info fade to the right or is fading only available
> for the status container?
>
> (4) Is it possible to somehow make a screenshot of the OSD in action? I'd
> like to show off my theme and get some comments.
>
>
> Rock on,
>
> Michael
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osd.xml
Type: text/xml
Size: 6625 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031209/29c65eef/osd.xml
More information about the mythtv-dev
mailing list