Re: XForms: How?

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Sat, 9 Aug 1997 21:40:37 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

from roberts@tsasa.lanl.gov :

>fl_winsize(700,450);
>fl_winposition (334, 410);
>main_win = fl_winopen("Power Broker");
>fl_winset (main_win);
>fl_drw_text(FL_ALIGN_BOTTOM,
> 350, 450,
> 380, 500,
> FL_BLACK,
> FL_NORMAL_STYLE,
> FL_NORMAL_FONT,
> "foo");
>fl_winbackground(main_win, fl_get_pixel(FL_WHITE));

winbackground wipes out whatever on the screen. Set
the background before you draw the text.

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/