XForms: How?

roberts@tsasa.lanl.gov
Sat, 9 Aug 1997 15:59:13 -0600

To subscribers of the xforms list from roberts@tsasa.lanl.gov :

Hi, all. Could somebody please tell me how to draw text to a
Window win?

Here's what I'm trying, with no success.

Window main_win;

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_drw_text(FL_ALIGN_BOTTOM,
5,5,
10,10,
FL_BLACK,
FL_NORMAL_STYLE,
FL_NORMAL_FONT,
"foo2");
fl_winbackground(main_win, fl_get_pixel(FL_WHITE));

Tnx,

--Doug
Doug Roberts
Los Alamos National Laboratory

-- 
_________________________________________________
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/