Good News! I've been quiet lately... partly due to other activities going on at home, and partly because I've been climbing the learning curve with FLTK and figuring out how to make things work well.
EDIT: Noticed a cosmetic bug in the window title and tooltip.
Version 0.8.8 is fixed.
I have a new version of the FLTK picture viewer with a slightly new name: "flPicSee" (or flpicsee for the executable name), Version 0.8.8, which has the following new features:
1) Three zoom levels, as described in prior postings: normal, full image, fit image to window
Just left-click to rotate through the three zoom levels. The title shows current zoom %.
2) When the image is first diaplayed, automatic selection of normal zoom for small-enough images, or full image zoom (shrink to fit) for too-large images
3) Automatic adjustment of the scaling for the three zoom levels whenever the overall window size is changed
4) Tool-tip over the image showing the current zoom % and the full path and name of the image
5) Revised main window title to show the following info (making the key info easier to read when the window size is small):
[zoom%] [filename.ext] - flPicSee [app_version] ( [fully_qualified_path_and_filename] )
The executable as built by me is now 10.9 K bytes big... probably worth the extra size if you like the flexible zooming features. Perhaps roberts can re-compile it smaller (as he did on the earlier version).
Attached are the updated source code, and a new .tce file, md5 file and list file. Let me know if you have problems with it! If the name change is a big issue, we can re-release it as fl_picsee again, but I thought people might like to get rid of the underscore in the name.
Whats next? Some additional features I might work on sometime:
A) Unique window icon
B) Multi-image modes (enabled if multiple image filenames are passed on the command-line or if a directory is selected instead of a single file:
i. Thumbnails
ii. Click through images one at a time
iii. Slideshow (timed transition... maybe with some pop-up adjustment controls)
--
Mike L.