TheICONWPackageLastUpdated2August83bySybalskyFiledon[Phylum]IconW.*Thisisapackageoffunctionsforbuilding``icon''windowswitharbitraryshapes.Theycanbeusedasiconsforshrinkingwindows,etc.CreatingIcons(ICONWImageMaskPositionNoOpenFlg)CreatesawindowatPosition(orpromptsforoneifPositionisNIL).ThewindowwillbefilledwithImage,ascookie-cutbyMask.WithMasksetupasacopyofImagewiththeenclosedregionsfilledwithbalsk,theiconwindowlookslikeit'sthesameshapeasImage.IfNoOpenFlgisT,thewindowwon'tbeopened.Thereisalsoaprovisionfor``titled''iconsœiconwindowswithuser-specifiedtextinthem.Onestartswithatemplate,whichtellshowtobuildaspecificinstanceofaTitledIcon.TocreateaTitledIcontemplate,dothis:(createTITLEDICONICON_youriconMASK_yourmaskTITLEREG_Region)whereRegionisaRegionwithintheicon(inicon-relativecoordinates)whichcanbefilledwithtext.Toactuallycreateatitlediconwindow,(TITLEDICONWIconTemplateTextFontPositionNoOpenFlgJust)IconTemplateisoneofthethingscreatedabove,Textisthetexttobeprintedintotheicon,andFontthefonttoprintitin(defaultisHelvetica10).PositionandNoOpenFlgaremoreorlessasabove.TITLEDICONWwillsplitthetextintolinesautomatically(atwordboundaries),oryoucaninsertCR'syourself.ThetextisdrawninPAINTmode,soitcancomeclosetolinesintheiconimage.Normally,eachlineofthetextwillbecentered,andthewholetextwillbeflushagainstthetopofthemessageregion.YoucanchangethisusingtheJustargument.Itiseitheranatomoralistofatoms;anyofTOP,BOTTOM,LEFTandRIGHTareallowed,andhavetheobviouseffectonthepositioningofthemessage.AttachinganIcontoaWindow(WINDOWPROPYourWindow'ICONWINDOWIconw)ACollectionofStockIconsThefileStockIconscontainsacollectionoficonsthatI'veusedinvariousplaces;usethemasexamples,orfeelfreetore-usethem.Nominationsfornewmembersofthecollectionarewelcome!Here'salistofthecurrentcontents:pī źļc/ļ`8ī˜qī# ī,ĀrļYėī7,ī9›ī>3ī?īBīīDpīEźļX"ī7Iī9žī;’sļTµī `ī‹ī īDī*īŽī!?ī#wī) ī-Ēī3Čī6Üī<®īBīBˆīF īHÓīJĮļRŗī źīYī&īķīīAī"†tļNIī źī¾uļJÜī `īAīKī~ī$ sļGoī `īĻīīuī*usī"eī$¶ī*vī,»ī/„ī0ķusī8(ī9³usī=–ī>īAīFlīHŌīJĀļE¦ī źīdīrusīėīŠ īśī!źusī&ī&żī*Lusī.ī0iī2{ī4`ī5”ī9ī:Éī?īB-īDŸīJĮļCŻī źīī†ī‹ī¬īī ;ī%}ī)Gī+Żī.ī0„ī4Nī8‘ī:lusī?Żī@DīAzusīIaīJĮļBī źusī šīKī~īOī=ļ>§ī `īœī%īDīŠīćī & ī%O ī+’ī2 ī5* ī>¬īA†īC0īG?īGĄīJĮļ<Žī źīļīīWī¶ī’ī!ī$@ī&ī)„ī*ķī0\ī6Dī8ī9Lu sīB–īCīEGīI¤īJĮļ;ī źu sīØīŻī×uļ7Øī `ī īU ī) ī4Łsļ4;ī `ī«usīī„ī­usīī#Eī%¬ī(Ļī*Õv sī3 ī;yī?¤īBcīD]īGĖīJĮļ2rī źļ/ī `īeīŖīī$īœī ³ī&Huļ+Ćī ` īK ī#6ī'iī+œī3+ī;‘ļ(Vī ` sīēībī=īīī eī$Ąī* ī.»usī2Šī4ī6|ī9Hī:śī=īAųīDŅīGHīJĮļ&ī źī ŗusī€īķīÓīzīĻīžīī#Ńī%Cuī-ŗsī0­ī1usī88ī; usīCīEyīIīJĮļ$’ī źī ŃīÆtīgīįu sī‡ī!ī$ī&tī)6ī,ī/f ī8@ī:Tī=ė īFZīHīJĀļ"Éī źī «ī īīčīNī&ī åī"Sī&¬ī(;usī,Ōī1,ī3ī4>ī6’ī:éī>²ī@VīC²īEAīGŖīJĮļ!ī źīœīī†īīÖīˆī!ī#Ķī&Rī(\ī.Śī1¶ī4-ī8iī;6ī=»ī?ÅīCQīHfīJĮļ7ī źī WīōīVī^ī2ī‘ī„ī">ī'^ī*ī-Żī0?uī4xī<åī=Ćī@OīBŚīH»īK@ļ™ī źīBīķīĄīīīæī!Åī%Gī'ńī,Jī3'ī7ī;ī@0īC±īK@ļūī źīFīyīÕīī"nī$óī(O ī2cī4čī8Dļ”ī źwīžīīī ī"uļ_ī ` īt ī ± ī*Åļī źwī ī īī ī!ļ Ćī `uī¼īļī'iī.ųī0¦ ī9ćīüīDŻīIēīJ¾ļ ‡ī ź īžīZī¶ī"nī$óī(O ī1Œī4čīICONW.DOC;5SYBALSKY 2-AUG-83 14:25:24