to greg, michael and ben.(c/o fltk-bugs)

[Ben, if you pass me a better email address I won't have to pass these things the forums.  Thanx.]

re Fl_Positioner.

Fl_Positioner should probably check if the box type fills the area and if it
doesn't it should fill the area with the background color.  That's should be
in the draw(int, int, int, int) function.

There's a note in the header that the default box type is FL_NO_BOX.  Here's
what NO_BOX does.

[fl_positioner.png]



re. fluid

In addition, the "box" in fluid fills in too many defaults to be useful as
a modeler or place holder for custom classes like an fl_positioner.  We can
change the class in fluid but we don't have a good generic widget for producing
them in fluid, one that has better defaults.  (I commented out almost all of
the Box defaults in the ui.fl file.)

For example, Box sets the fg (select color?) and bg both to the same
color.  My first shot at creating a Positioner didn't show the cross
hairs at all due to this.

Any custom widget that does graphics is likely to use the select color
I think, because we don't have fields specifically for line and area
colors.

[01-positioner-test.tar.gz attached]

Change the box to down_box and change the colors (selection color does the
cross hairs, I think) using fluid and see what I mean. 

You may also have to move the #include up in the tab order.  I think I forgot to
'save' the fl file with that changed.)


Attachment: 01-positioner-test.tar.gz
Description: GNU Zip compressed data

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to