Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!rutgers!apple!claris!ames!oliveb!tymix!antares!jms From: jms@antares.UUCP (joe smith) Newsgroups: comp.sys.amiga Subject: Re: Pict2 is ready! Keywords: HAM display program from WorkBench Message-ID: <252@antares.UUCP> Date: 5 Nov 88 06:20:06 GMT References: <6254@dayton.UUCP> Reply-To: jms@tymix.UUCP (joe smith) Organization: Tymnet QSATS, San Jose CA Lines: 47 In article <6254@dayton.UUCP> Joe Larson writes: > I used Deluxe Paint to display the pictures, but I suspect > a much better method exists. Can someone send me a display > program of some sort I can use on future disks? I'd like to > be able to click on an icon and have the picture displayed > OR call the program from the workbench. > The DISPLAY program isn't accessable from WorkBench. If > someone could send me either a HAM-mode display program > accessable from workbench or a program to call non-workbench > programs from workbench, I'd appreciate it. Use AmigaLibDisk112/Bully/Display. This program, on Fred Fish disk #112 is a version of ViewILBM that properly displays IFF pictures that have color cycling. Like ViewILBM, this program handles HAM pictures and can be invoked from the workbench by giving the picture file a "project" icon and setting its "default tool" to be "c:DISPLAY". Note: DISPLAY doesn't have to have an icon of its own; only the picture file needs an icon. This DISPLAY program was included as part of the BADGE "Killer Demo" contest winners; it is responsible for making the picture of Zippy the Pinhead flash via color cycling. By the way, there are several IFF pictures on Fish Disk #11 that look a lot better with cycling enabled. They are: CopperState, Ignition1, The_Fan, XmasPic, EnterSpinTab, and Warp1PressTab. The latter two are Star Trek pictures; the names are a clue to press the TAB key in Dpaint to toggle color cycling on and off. (The DISPLAY program mentioned above also responds to the TAB key.) As for executing CLI programs from the WorkBench, check out Xicon found on most Fish Disks after #100. But you don't need it for IFF pictures. > For all it's worth, the Pict2 disk Icon I'm using came off of > John's disk as a drawer icon. You wouldn't believe what I went > through to turn it into a disk icon. Does someone know an > easier way than writting my own C program? The program AmigaLibDisk137:SIT on Fred Fish disk #137 was written to Set Icon Types. This newer version can change any type of icon to any other type, including converting Tool and Project icons into Disk, Drawer, or Trashcan icons. The former types lack the additional information that the latter types have; WorkBench gets upset if the window information isn't there when a Disk, Drawer, or Trashcan icon is double-clicked. -- +----------------------------------------------------------------------------+ | TYMNET:JMS@F29 CA:"POPJ P," UUCP:{ames|pyramid}oliveb!tymix!antares!jms | | INTERNET: (Office-1.ARPA is no more) PHONE:Joe Smith @ (408)922-6220 | +----------------------------------------------------------------------------+