Re: XForms: label color

Yann Guichoux (guichoux@shom.fr)
Fri, 27 Aug 1999 09:00:04 +0200

# To subscribers of the xforms list from Yann Guichoux <guichoux@shom.fr> :

Steve Lamont wrote:
>
> # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
>
> > I would like to change the color labels of all my FL_OBJECT at a time (I
> > don't want to use fl_set_object_lcol
> > for each object)
> > Is there a simple way to do that ?
>
> If you want to change the color of literally *all* object labels, you
> can use fl_mapcolor() to modify FL_COL1, the default object label
> color. For instance:
>
> fl_mapcolor( FL_COL1, 255, 0, 0 );
>
> will change the color to red.
>
> Refer to the manual for details.
>
> spl

The color I want to change is the color of the text...(i-e FL_BLACK) I
tried to use fl_set_foreground_color(gc,FL_WHITE) to change it, but the
only result i get is a segmentation fault...

-- 
 ..   ..   ..   ..   ..   ..   ..   ..   ..   ..   ..  
/(._.`(._.`(._.`(._.`(._.`(._.`(._.`(._.`(._.`(._.`(._.`\
|         __  |__					|
|       __L L_|L L__		GUICHOUX Yann		|
| ...[+(____________)		EPSHOM/CMO/RE		|
|        C_________/		tel : 02.98.22.09.15	|
|				mailto:guichoux@shom.fr	|
|				http://www.shom.fr	|
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil   or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/