[comp.sys.amiga] WorkBench icons...

svermeulen@Janus.MRC.AdhocNet.CA (Steve Vermeulen) (02/09/89)

| From: Larry Phillips <lphillips@lpami.wimsey.bc.ca>
| Newsgroups: comp.sys.amiga
|
| In <890206083536.01i@Janus.MRC.AdhocNet.CA>, svermeulen@Janus.MRC.AdhocNet.CA
| (Steve Vermeulen) writes:
| >The first version of SIT did this too, I discovered this one day when
| >trying to convert a project icon into a disk icon and found that I had
| >produced a killer (mutant ninja :-) disk icon.  This icon alone took the
| >prize for the most spectacular crash I have ever seen in 3 years of
| >Amiga hacking, I still have the icon, should I post it to
| >binaries/screen_hacks :-) :-) :-)
|
| Odd, I used to use IconType to make disk icons, and never had a crash from one
.
| I don't know if I made any from 'project' icons though. Is that the criterion
| for creating a 'killer disk icon'? As I mentioned in another posting, I never
| had any problems with it, and I did put it to a lot of use before I got totall
y
| fed up with WB and stopped using it.
|

  Exactly, take an icon (project or tool) which does not open a window
  on the workbench when double clicked on and make it into a disk, drawer,
  or trashcan icon by just changing the icon type field and presto, you
  now have a killer icon to slip onto an (ex-)friend's workbench disk...

  The reason for this behaviour is that the workbench (currently) saves
  the various parameters (such as position and size) for the window
  that is to be opened in a NewWindow structure in the .info file.
  This structure is not present in project or tool icons so just
  changing the type word causes workbench to assume that the structure,
  which isn't there, is, leading to rather bizzare effects.

|
| Looking at the RKM _now_, I see the icon.library stuff. I did not see it when
I
| wrote IconType, and have no idea why. Oh well.
|

  It is VERY easy to miss the 20 pages that discuss this stuff when
  they are buried in the middle of a phone book sized manual.  For
  a quick test try to find the "Appendix #: Exec Support Library"
  in the old (all-in-one) RKM, wherein lies the code for such
  goodies as CreatePort() and CreateTask()  (it is just 8 pages
  in an even BIGGER manual).

  While we are talking about icons does any know what a WBDEVICE
  icon is (I would like to think a physical device like a printer)?
  Has this EVER been supported or used?  Is it going to be used in
  the future?

  Finally, Betty Clay had an interesting article about the workings
  of the .info files in Transactor #2 for those who are interested...

| -larry
|
| --
| Frisbeetarianism: The belief that when you die, your soul goes up on
|                   the roof and gets stuck.
| +----------------------------------------------------------------------+
| |   //   Larry Phillips                                                |
| | \X/    lphillips@lpami.wimsey.bc.ca or uunet!van-bc!lpami!lphillips  |
| |        COMPUSERVE: 76703,4322                                        |
| +----------------------------------------------------------------------+



Stephen Vermeulen
Author: Express Paint
Newsletter Editor of AMUC
SVermeulen%Janus.MRC.AdhocNet.CA@UncaNet.BITnet