On 12/30/2009 06:39 PM, Greg Ercolano wrote:
Michael Surette wrote:
I have written a dialog which is essentially an Fl_Scroll filled with
Fl_Box widgets.
Under Windows with minGW it runs well, but under Linux it dosen't
display properly with anything over approximately 1300 entries. Large
groups of boxes don't display at all, although the proper label gets
printed out when a spot is clicked.
Is this a bug or have I overlooked something?
I'm using fltk 1.3.x-r6950.
Can't test the code here; no boost.
Usually the problem is integer x/y positions above/below 32767,
though I thought we now have longs in fltk 1.3.x.
Possibly a limit of x window coords then? (I can't remember offhand)
Here it is again less the boost requirement.
Since each item is 25 pixels high, 32767 pixels would be just over 1310
items. But as you say, this doesn't make sense where int is 32 bits.
The fact that it works well under Windows makes even less sense. I
would expect most of the code to be common.
As you say, perhaps an X problem. Does fltk actually render the
scrolled panel somewhere as an X window? Would this be considered an
fltk bug, or just a limitation?
Mike
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk