fltk2 - more first impressions... then some notes.

*Re. fluid2
*
default should probably be non-resizable for widgets. Window, resizable maybe ok. The problem is that buttons growing and shrinking along with the rest of the window is ugly. Folks at QT dealt with this by creating 'expanders' that do the growing and shrinking so that the spacing between widgets can change but the widgets themselves
remain a predictable size.

*Noticed during a non-standard rebuild of the entire system.*

There are many missing files from the 'forms' subfolder and the includes are wrong even if those files all existed. These missing files include stuff like Fl_Timer.h (should be upper case H but is '#include'-ed with lowercase) but has calls to functions that weren't defined in 1.6x (dunno about 1.7x, but I don't think they were defined there either) to Fl_FormsBitmap.h, which simply doesn't exist and may never have existed
at all.

-----------------

*Possible font issue with dynamic shared objects in linux.
*
While reworking this to 32-bit dso's on my linux 64-bitter I noticed that some problems could occur with fonts (undefined references) and some other things. Most of the other stuff is probably related to how I've redone this thing but the fonts I think may be an issue that can come up for yous guys.

I had to add these to my fltk2-config script.

LD_LIBS add:
-lXfont -lfntstubs

I also added -Xcursor -Xpm, which is fairly standard stuff on any X system. Likely to solve more problems than it causes, in any case.

If folks have probs with dyn libs in linux with missing defs in font-related stuff, it's almost for sure that screwy -lfntstubs file that needs to be linked. And *that's "-lfntstubs" without the 'o'. It's NOT-> "-lfontstubs". *

Here's what I see when I 'locate' libfntstubs on my machine.

 /usr/X11R6/lib/libfntstubs.a
 /usr/X11R6/lib64/libfntstubs.a

Those are needed, apparently for dso's.
And I guess that's enough about that.

Just a few minor tweeks and I'll be digging into the 'innerds' of this thing and seeing what you've done under the hood. Hope my perspective is somewhat useful, but if not... :-) It won't be the first time.

Later... ;-)


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

Reply via email to