[mythtv] [PATCH] OSD TT Font

Harry Orenstein ho_9 at hotmail.com
Tue Jul 6 22:53:04 EDT 2004


>From: Kenneth Aafl°y <lists at kenneth.aafloy.net>
>Reply-To: Development of mythtv <mythtv-dev at mythtv.org>
>To: Development of mythtv <mythtv-dev at mythtv.org>
>Subject: Re: [mythtv] [PATCH] OSD TT Font
>Date: Tue, 6 Jul 2004 19:33:19 +0200
>
>On Tuesday 06 July 2004 16:35, Kenneth Aafl°y wrote:
> > Here is some changes for the OSD TTFont class.
>[snip]
> > I have also added methods for specifying colors for the font itself,
> > outline and shadow.
>[snip]
>
>And here is a patch that will allow the osd font color to be specified like
>this:
>     <color normal="#4040a0" outline="#202080" shadow="#101040">255</color>
>
>Where the 'normal' attribute will overwrite the value of the color tag. You
>can specify colors either as '#RRGGBB' or as 'R,G,B'.
>
>Kenneth
><< osdtheme-font-color.patch >>
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Kenneth,

First of all: thanks for the patch.  I have wanted to have a colored
OSD font for awhile and I was hoping this patch would do it.

Maybe I'm doing something wrong, but I get an error in osd.cpp
that parseColor is not defined.  It seems to be used in osd.cpp
but I cannot find it in any include or in the patch.  Am I missing
something?  I am running 0.15.1 pretty much as it was released.
The exact error is:

osd.cpp: In member function `void OSD::parseFont(QDomElement&)':
osd.cpp:364: `parseColor' undeclared (first use this function)
osd.cpp:364: (Each undeclared identifier is reported only once for each 
function it appears in.)

Hope it's just me so let me know if I am doing something wrong
or need to be running a higher rev (like CVS).  Thanks!


-- Harry O.

_________________________________________________________________
Check out the latest news, polls and tools in the MSN 2004 Election Guide! 
http://special.msn.com/msn/election2004.armx



More information about the mythtv-dev mailing list