home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!usc!wupost!waikato.ac.nz!comp.vuw.ac.nz!newshost.wcc.govt.nz!kosmos.wcc.govt.nz!mckay_g
- Newsgroups: comp.sys.acorn
- Subject: Re: Indirected template icons and resspr lib.
- Message-ID: <1992Dec14.183123.1@kosmos.wcc.govt.nz>
- From: mckay_g@kosmos.wcc.govt.nz
- Date: 14 Dec 92 18:31:23 NZST
- References: <1992Dec10.125255.21563@rdg.dec.com>
- Organization: Welligton City Council, Public Access.
- NNTP-Posting-Host: kosmos.wcc.govt.nz
- Lines: 34
-
- In article <1992Dec10.125255.21563@rdg.dec.com>, goodwin@edieng.enet.dec.com (Pete Goodwin) writes:
-
- > When you create a window, you must put the address of the sprite area into the
- > wimp_wind definition. This normally defaults to the resspr area (I think).
-
- It only defaults to resspr if you have called resspr_init(). Otherwise it is
- the Wimp pool.
-
- > You should also realise that doing this means any sprites already in the other
- > area won't appear unless you copy them!
-
- Or you modify the template to explicitly point to another sprite pool (use the
- value of 1 for the wimp pool and 0 for the system pool).
-
- >
- >> What exactly DOES resspr do? Is this a user sprite area or
- >>what? Sorry to be stupid about this - I've decided to use Acorn's
- >>libraries for a job ( rather than my own - which do all this at _block
- >>level - and so mirror what the PRMs say ).
- >
- > Yes, it's a user sprite area with the contents of Sprites. It's used in dbox
- > I believe.
- >
- > The weakness I've found is that it doesn't seem to allow you to create new
- > sprites and tack them on, or use the sprites in the wimp area. If you do use
- > Sprites ALL the pool sprites you use MUST be in Sprites - include optoff,
- > opton etc. I have written to Acorn about this but no reply.
-
- If you want to use sprites out of the wimp pool all you need to do is to either
- make the window's sprite pool point the correct sprite pool (1 for wimp), or
- make the icon an indirected sprite and point it to the correct sprite pool.
-
- Rob McKay.
-
-