xforms-development
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XForms] More recent trouble: text color in fl_browser


From: Jens Thoms Toerring
Subject: Re: [XForms] More recent trouble: text color in fl_browser
Date: Fri, 7 May 2010 11:51:38 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hi Marcus.

On Thu, May 06, 2010 at 09:30:24PM -0400, Marcus D. Leech wrote:
> I have a pair of fl_browser objects.
> 
> The background color for those objects is FL_BLACK, and the label color
> is FL_GREEN.
> 
> But text is always added in BLACK, which given the background color
> selection, is rather problematic.
> 
> The app was designed inside fdesign   and it used to work just fine
> before I upgraded to F12 (and
>   the more recent version of the XForms
> library--xforms-1.0.92-2.sp2.fc12.i686).

> Has there been an implementation change that forces text to be rendered
> in black only in an fl_browser?

Not that I would be aware of it but it could very well be
a newly introduced bug (I rewrote a good deal of the browser
code). Am I correct in assuming that you set up the browser
colors with

fl_set_object_color()

with the first color being set to FL_BLACK and the second
one to FL_GREEN? In that case I agree fully that, according
to the documentation, the color of text added to the browser
should be in green.

I will have a look...[noise of keyboard clicking in the back-
ground]...Uuu, yes, there seems to be a bug. Thank you very
much for bringing it to my attention!

Unfortunately, that doesn't help you immediately unless you are
prepared to try out the newest test release to be out in hopefully
a few hours and to be compiled by yourself, sorry. At the moment
the only "fix" would be to put "@C2" in front of every line you
send to the browser - setting the line color by preceeding it with
that kind of "escape sequence" still seems to work...

                           Best Regards, Jens

PS:

> Principal Investigator
> Shirleys Bay Radio Astronomy Consortium
> http://www.sbrac.org

Fascinating project you've got there!!!

-- 
  \   Jens Thoms Toerring  ________      address@hidden
   \_______________________________      http://toerring.de




reply via email to

[Prev in Thread] Current Thread [Next in Thread]