home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / acorn / 10109 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.9 KB

  1. 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
  2. Newsgroups: comp.sys.acorn
  3. Subject: Re: Indirected template icons and resspr lib.
  4. Message-ID: <1992Dec14.183123.1@kosmos.wcc.govt.nz>
  5. From: mckay_g@kosmos.wcc.govt.nz
  6. Date: 14 Dec 92 18:31:23 NZST
  7. References: <1992Dec10.125255.21563@rdg.dec.com>
  8. Organization: Welligton City Council, Public Access.
  9. NNTP-Posting-Host: kosmos.wcc.govt.nz
  10. Lines: 34
  11.  
  12. In article <1992Dec10.125255.21563@rdg.dec.com>, goodwin@edieng.enet.dec.com (Pete Goodwin) writes:
  13.  
  14. > When you create a window, you must put the address of the sprite area into the
  15. > wimp_wind definition. This normally defaults to the resspr area (I think).
  16.  
  17. It only defaults to resspr if you have called resspr_init(). Otherwise it is
  18. the Wimp pool.
  19.  
  20. > You should also realise that doing this means any sprites already in the other
  21. > area won't appear unless you copy them!
  22.  
  23. Or you modify the template to explicitly point to another sprite pool (use the
  24. value of 1 for the wimp pool and 0 for the system pool).
  25.  
  26. >>    What exactly DOES resspr do? Is this a user sprite area or
  27. >>what? Sorry to be stupid about this - I've decided to use Acorn's
  28. >>libraries for a job ( rather than my own - which do all this at _block
  29. >>level - and so mirror what the PRMs say ).
  30. > Yes, it's a user sprite area with the contents of Sprites. It's used in dbox
  31. > I believe.
  32. > The weakness I've found is that it doesn't seem to allow you to create new
  33. > sprites and tack them on, or use the sprites in the wimp area. If you do use
  34. > Sprites ALL the pool sprites you use MUST be in Sprites - include optoff,
  35. > opton etc. I have written to Acorn about this but no reply.
  36.  
  37. If you want to use sprites out of the wimp pool all you need to do is to either
  38. make the window's sprite pool point the correct sprite pool (1 for wimp), or
  39. make the icon an indirected sprite and point it to the correct sprite pool.
  40.  
  41. Rob McKay.
  42.  
  43.