Re: [fltk.bugs] [CRIT] STR #2361: Hacker's Version of 2.0 (compiles with debug info, demos fixed)
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2361 Version: 2.0-current The screen shots (attached files) of browser2 (the demo added in mod-patch05) are mostly self evident but the shot of the quit button in 'readimage.png' might be a little confusing. I grabbed a screen shot of the area used by the Quit button and created a new tmp (Image*) and set the central widget image to that tmp, like so... drawing_area-image(tmp); Not to terribly unlike version 1.x but Image now acts more like RGB_Image and Symbol handles images, text and glyphs (small drawing) instead of the way Image only handled images. The name changes are confusing but the functionality is quite nice. Come along Igore... the moon is right, the weather is going wild and the electricity bills are paid... . Link: http://www.fltk.org/str.php?L2361 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [HIGH] STR #2365: FileChooser Berzerk When Typing Paths
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2365 Version: 2.0-current See STR 2361 for a version of 2.0 you can mess with in a sandbox. Here's today's Rainbow Sally Transmition... TSR = RST, what's the diff? :-) Noticed in fluid2. FileChooser is not allowing the user to clear the Input field. On the first key press, the character is pushed to the end of the string but the cursor position remains at zero so that the second and subsequent letters typed appear at the beginning of the string. In FileChooser2 around line 527 change... // fileName-mark(fileName-position()); // no selection after expansion fileName-position(fileName-mark()); // move to end of string. This will allow the second character typed to appear after the first. ;-) I assume this problem was inherited from v 1.x, so take it or leave it. v 2.x works. The above bug fix will be in mod-patch-06, which is not ready to fly yet. Again, see STR 2361 for a working version of 2.0 that installs in the privacy of your own home folder. . Link: http://www.fltk.org/str.php?L2365 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
Re: [fltk.bugs] [CRIT] STR #2361: Hacker's Version of 2.0 (compiles with debug info, demos fixed)
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2361 Version: 2.0-current Trade with your friends. Collect them ALL! http://rainbowsally.net/tkf/fltk-2/mod-patch-06.tar.gz Hey Having probs with mod patches? ME TOO! I forgot to add the first set of mods first, THEN the latest patch. (Only the latest is req'd but it should not be a problem copying it over other patches.) Ok. Here's what's up today. v 2.0 r7513 (or thereabouts) mod-patch 06 * Fixed FileChooser2.cxx which, when the user cleared the input field and began typing, reinserted the path before the first char typed but left the cursor at the beginning of the text so that addiional text was prepended instead of appended to the path though the first character was at the end. Now placed the cursor at the end and keeps all the typed text connected together. ;-) * Added FLTK_THEMEDIR path (literal string) to cflags and cxxflags as -DFLTK_THEMEDIR=\$libdir/fltk\ in the fltk2-config.in but it didn't stick! Sorry about that. Here's what I did to get mine to work. in fltk2-config around line 72 add the makefile define for FLTK_THEMEDIR as -DFLTK_THEMEDIR=\${libdir}/fltk\ like this. CFLAGS= -I/usr/X11R6/include -DUSE_X11=1 -DFLTK_THEMEDIR=\${libdir}/fltk\ CXXFLAGS=-I/usr/include/freetype2 -I/usr/X11R6/include -Wno-non-virtual-dtor I do not grok this fltk2-config file, so that's it for the time being. (I know he's around here somewhere. The time being. I was talking to him this morning.) :-) BTW those are squirrely braces not parens around the libdir name. ALSO, we don't yet use the paths thus created in my mods, but you might in your own work. That's where the themes live in the PERSONAL_INSTALLATION setup. . Link: http://www.fltk.org/str.php?L2361 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs