DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2791
Version: 1.3-feature


I tested tiletest2.cxx on fltk1.3.0 on linux. It seems to behave well. I
inherited from Fl_Tile primarily to make a self-contained test file that
can be compiled with a minimum of dependencies.

Still to do is to get the resize() to display the double border. Also, I
need to test a more complicated layout, to make sure dragging one tile
into several adjacent tiles works as expected.

For reasons I don't fully understand, I couldn't figure out how to
override position() without overriding handle(). I think it is because of
the static mouse cursor stuff. I encapsulated this into the class. There
are no functional changes to the new handle().

When one tile pushes its neighbor until it is minimal and then pushes
all the way to the edge of the container, only one double border is drawn.
I think this behavior is acceptable, but one could argue that the entire
layout should always be visible. 
position() calls itself recursively to position the other border of a
minimal tile. I need to check this with more complicated layouts.


Link: http://www.fltk.org/str.php?L2791
Version: 1.3-feature

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

Reply via email to