home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 2
/
CDPD_II_2352.bin
/
scope
/
101-125
/
scopedisk125
/
smarticon
/
smarticon.doc
< prev
next >
Wrap
Text File
|
1992-10-27
|
5KB
|
133 lines
SmartIcon Version 2.0
NNAAMMEE
smarticon - Intuition object iconifier
SSYYNNOOPPSSIISS
smarticon - no options, runs from Shell or Workbench
DDEESSCCRRIIPPTTIIOONN
SmartIcon is an Intuition object iconifier. This is release
2.0. It is still limited to windows but does not present the
problems of v1.0 anymore, due to a completely new way of
handling iconified objects and to cleaner code.
Smarticon runs from a Shell or from the Workbench. If you
run it from a Shell, you will probably want to launch as a
background task - it does not detach itself. When loaded,
the program immediately patches all the opened windows
having depth gadgets, then changes some rom vectors so that
any window opening after it was loaded gets patched too. The
patch consists of an extra iconification gadget in the right
side of the title bar. For display reasons, the original
system depth gadgets are replaced by smaller ones, but their
operation is not changed.
When an iconification gadget is selected, the according win-
dow is removed from the display, and it's name is added in
the list of the Smarticon window. Double-clicking on this
name will then recall it. Note that iconifying a window
*releases* memory, and better, releases chip memory. This is
especially true when you iconify a large window which over-
lapped several others for instance.
The SmartIcon window cannot be iconified itself, this would
be a vicious cycle. It can however be removed from the dis-
play by selecting it's Close gadget which does not terminate
the program but rather puts it to sleep until it is invoked
again from the Shell or Workbench. All the iconified windows
are accessible again when it wakes up.
The program can be killed by selecting the "Shutdown" menu
option or by sending it a Ctrl-C or Break C. If some windows
are iconified when a termination sequence is invoked, they
will all be recalled before the program returns. Killing can
occur while the program is awake or asleep.
The "Save Settings" menu option currently saves the window's
position in "s:.sirc". This file is looked for and eventu-
ally used when the programs starts.
Utilities Page 1 Amiga
SmartIcon Version 2.0
WWIINNDDOOWW RREEFFRREESSHHIINNGG
One problem with iconification is that the information in
the window layer is lost for most windows - depending on the
window's refresh type. However, most applications using
sizeable simple refresh windows are able to rebuild their
display upon receival of refresh or newsize events.
SmartIcon will work just fine with these, for it will send
the appropriate messages. But any simple refresh window not
able to rebuild itself - like a Shell - or any smart refresh
window will probably look altered when recalled. This is not
a bug and will remain as is in future releases - programs
run properly anyhow.
CCOOMMPPIILLIINNGG
A makefile is provided for use with the Lattice C Compiler.
BBUUGGSS
The program was almost completely re-written since v1.0 and
should now be safe. All the problems with window names are
gone. Also, use of iconification gadgets is now fully system
transparent while it wasn't before - some fake messages went
through to applications and caused unexpected results.
No bugs are known. Reports are welcome.
AAUUTTHHOORR
This programs was written by:
Gauthier Groult
33, Blvd Saint Denis
92400 Courbevoie
France, Europe
Tel: (1) 47 89 09 54
EMail: groult@germinal.ibp.fr
SmartIcon 2.0 and executable and sources are public domain.
A shareware support of $15 or equivalent would be welcome.
Utilities Page 2 Amiga