home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
wps
/
progs
/
lens
/
lens.txt
< prev
Wrap
Text File
|
1993-10-08
|
3KB
|
69 lines
Lens 0.9: An OS/2 Magnifier
(c) 1991-1993 by Ned Konz
[Compuserve: 76046,223]
This is a 1993 OS/2 2.x version of a 1991 Windows version of an Amiga
program I wrote in 1985. It was written in C++ and compiled with the
Borland OS/2 2.0 compiler.
The first two Lens programs were $5 shareware. I am putting this program
out for free, although, of course, if you want to send me money,
you are welcome to.
If you want the source code as well as the latest version of the program,
you may send me $10.00 and a self-addressed, stamped envelope, and I'll
send you a floppy. I will also include my Windows version, as well as
some other programs I've written through the years.
Send comments, suggestions, good beer, etc. to me via Compuserve, or
to:
Ned Konz, 161 14th St., Holly Hill, FL 32117-2348, USA
======== FUTURE IDEAS ==========
Future versions of OS/2 Lens will have the ability to anchor the
source of their magnification to a particular window, as well as
the current behavior of tracking the mouse cursor. This will allow
you to have specific program windows with magnified views. I just don't
know yet how I'll handle two problems:
1. The situation where a window changes its title bar title. I want
to make Lens smart enough to wait until the window it is supposed
to anchor to appears on the desktop, then anchor itself. This way,
the user won't have to point at the other window to make Lens anchor.
To do this, I have to use the window title to find the window
(I think), so if the window title changes, it may be difficult.
I was considering trying a best match starting at the first character
of the title.
2. What to do when the Lens window or the window it's magnifying gets
re-sized. How do I choose the new source rectangle? Should it be anchored
to the upper left of the window, or what?
If you have any good ideas as to how to handle these problems, I'd
be happy to have your suggestions.
================ USAGE ====================
Lens 0.9 magnifies an area of the screen around the mouse cursor. You
can always get a popup menu using mouse button 2. You can drag the Lens
window around using mouse button 1.
The magnification may be changed with the Zoom In (+) and Zoom Out (-)
menu choices. The range is from 0.5X to 40X.
Repeat mode continues to update the Lens display, even if the cursor has
not moved. Turning repeat mode on will make your cursor flicker, and
may make your system run slower.
You may choose to display or hide the Lens title and menu bars. You can
display the position of the mouse pointer. You can have Lens always
stay on top, even if it's not the active window.
Lens saves its settings in its .INI file when you choose "Save
Settings!". This .INI file may be named on the Lens command line,
otherwise it will default to "Lens.INI", in the current directory.