XForms: FL_OVERLAY_POSITIONER

Joao Filipe Ferreira (jfilipe@alumni.dee.uc.pt)
Fri, 13 Nov 1998 17:36:27 +0000 (WET)

# To subscribers of the xforms list from Joao Filipe Ferreira <jfilipe@alumni.dee.uc.pt> :

Trent Piepho -

I am quite sure I am using it. See for yourself:

/* Form definition file generated with fdesign. */

#include "forms.h"
#include <stdlib.h>
#include "xfmag.h"

FD_xfmag *create_form_xfmag(void)
{
FL_OBJECT *obj;
FD_xfmag *fdui = (FD_xfmag *) fl_calloc(1, sizeof(*fdui));

fdui->xfmag = fl_bgn_form(FL_NO_BOX, 310, 210);
obj = fl_add_box(FL_UP_BOX,0,0,310,210,"");
fdui->Title = obj = fl_add_box(FL_EMBOSSED_BOX,10,10,290,40,"XForms Stereo Magnifier");
fl_set_object_lsize(obj,FL_LARGE_SIZE);
fl_set_object_lstyle(obj,FL_TIMES_STYLE+FL_ENGRAVED_STYLE);
fdui->magright = obj = fl_add_labelframe(FL_ENGRAVED_FRAME,160,60,140,140,"Magnified Image Right");
fl_set_object_gravity(obj, FL_NoGravity, FL_SouthEast);
fdui->magleft = obj = fl_add_labelframe(FL_ENGRAVED_FRAME,10,60,140,140,"Magnified Image Left");
fl_set_object_gravity(obj, FL_NoGravity, FL_SouthWest);
fdui->magleftpixmap = obj = fl_add_pixmap(FL_NORMAL_PIXMAP,20,70,120,120,"");
fdui->positionleft = obj = fl_add_positioner(FL_OVERLAY_POSITIONER,20,70,120,120,"");
// fl_set_object_boxtype(obj,FL_DOWN_BOX);
fl_set_positioner_return(obj,0);
fdui->magrightpixmap = obj = fl_add_pixmap(FL_NORMAL_PIXMAP,170,70,120,120,"");
fdui->positionright = obj = fl_add_positioner(FL_OVERLAY_POSITIONER,170,70,120,120,"");
// fl_set_object_boxtype(obj,FL_DOWN_BOX);
fl_set_positioner_return(obj,0);
fl_end_form();

fdui->xfmag->fdui = fdui;

return fdui;
}
/*---------------------------------------*/

I mean, I suspect all this is because, for whatever reason, my FreeBSD
xforms v0.88 is not functioning correctly!

"Welcome to the Twilight Zone",
JFC

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