Path: utzoo!attcan!uunet!husc6!bloom-beacon!gatech!ncar!ames!oliveb!felix!dhw68k!thecloud
From: thecloud@dhw68k.cts.com (Ken McLeod)
Newsgroups: comp.sys.mac
Subject: Re: IconWrap for ShowINIT
Message-ID: <16069@dhw68k.cts.com>
Date: 28 Nov 88 09:22:32 GMT
References: <15979@dhw68k.cts.com> <2588@munnari.oz>
Reply-To: thecloud@dhw68k.cts.com (Ken McLeod)
Organization: Wolfskill residence; Anaheim, CA (USA)
Lines: 78

In article <2588@munnari.oz> jkjl@munnari.oz (John Lim) writes:
> [the reason why IconWrap and Moire were in conflict]...

 It turns out there was a simple explanation for the apparent incompatibility
between the IconWrap INIT and the Moire and Backdrop INITs...and, naturally,
it was my fault. In the main() function, the call to InitGraf() must
be bracketed with calls to save and restore A5! Otherwise, the "real"
quickdraw globals are lost, and it was only due to the sheer coincidence
of all my other INITs calling InitGraf() themselves that the IconWrap INIT
worked. Due credit goes to John Lim for pointing this out (thanks, John).

 Some people have noted that the SUM inits, which don't follow the ShowINIT
standard for startup icon display, get clobbered if a new row is needed,
since they're drawn at a hard-coded location above the first row. While I
haven't tried this, if IconWrap runs before the SUM inits AND the SUM inits
run AFTER the second row has been started, their icons should be offset to
the "third" row. If not, you can always change the LEFTMARGIN constant
and recompile the source. Speaking of the source, it's very important to
set the "System Heap" and "Locked" attributes in LSC's Project Type dialog,
or else the INIT is almost certain to crash.

 Here, then, is the much-improved IconWrap (version 1.01). It's still not
too long, although it now has its own icon to further crowd your startup
screen! :-)  Further revisions, if any, will go to comp.binaries.mac.

---------


(This file must be converted with BinHex 4.0)

:$8PMEfjAFQ&`)%P1593!58j*9&0SEe!K!!!!!!!!!!GK&P%!!!!!!3!!!!De!!!
&Y3!!!+`!!!2"&'0SC@0VD@jR)%e',d4PBR9RCf9bC`)!!!"843e*BfpZ9h*KF#"
*6NP8!J!!!%P15946D'p3)3!"D!$!!!"*6NP88fK[8#%!!@J!`!!!$#3!!!!!!!!
!!!!!!!!!!*qbY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rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr2rrrr$rrrr`!!!!X+dPMEfjAFQ&
`)$%Z-$%J+$%a,c)h,cJi+3fT-6Ni1#"LH5",,L"0BdaPEf3!!!%!!!!'Y3!!"E8
!!!#X!!1`dJAL!!!!(!#D!!4*6NP8!!%!+N*14%`!!!"#4P*&4J!!!%j6D'p3!!!
!@NP$6L-!!3"Q!!!!!&!!!!!!!@jk!)!!#5!!!H)!!l#HGV[rr`!!!e)!!!!!!)$
rr`!!!h)!!!!!!!$rr`!!"B8!!l#DG4hrr`!!!hd!!!!!!)$rr`!!")%!!!!!#%P
MEfjAFQ&`#&0SEhG*6NP8(b!:


-- 
==========     .......     =============================================
Ken McLeod    :.     .:    felix!dhw68k!thecloud@ics.uci.edu
==========   :::.. ..:::   InterNet: thecloud@dhw68k.cts.com
                ////       =============================================