home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19262 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.9 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!stanford.edu!rutgers!cbmvax!cbmehq!cbmden!hemmer!hemmer
  2. From: hemmer@hemmer.adsp.sub.org (Franz Hemmer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: workbench-like scrollers
  5. Message-ID: <hemmer.03wx@hemmer.adsp.sub.org>
  6. Date: 26 Jan 93 18:08:23 GMT
  7. References: <4fMmuKK00jWR89G2Zw@andrew.cmu.edu>
  8. Reply-To: hemmer@hemmer.adsp.sub.org (Franz Hemmer)
  9. Organization: Interactivsion
  10. Lines: 28
  11. X-NewsSoftware: GRn-beta 1.16g (11.15.92) by Michael B. Smith & Mike Schwartz
  12.  
  13. In article <4fMmuKK00jWR89G2Zw@andrew.cmu.edu> kimberg+@CMU.EDU (Daniel Kimberg) writes:
  14. > can anyone tell me what the approved way is to add workbench-like
  15. > scrollers to a window?  gadtools draws the gadget nicely, but it's not
  16. > easy to move and/or resize the gadget when necessary (that i can tell,
  17. > you have to redo the entire gadget list, and it's not clear from the
  18. > manual whether or not this is considered legal).  with plain intuition
  19. > gadgets, it seems like you have to hardcode the look of the little
  20. > arrows, which sounds like a bad practice.  i didn't see anything in
  21. > boopsi to help.  is there a legal way to do this?  i would have
  22. > thought such a common type of gadget would be easy to create.
  23.  
  24. Regarding the images, you can always get the images by using the
  25. "sysiclass" and requesting the image you need. The object returned
  26. by NewObject() can be considered as an struct Image *, thus you can
  27. use it with normal intuition gadgets if you like.
  28.  
  29. I assume that when you say "scollers as in the Workbench" you mean
  30. proportional gadgets in the window border? If so, try using "propgclass"
  31. boopsi gadgets.
  32.  
  33. > dan
  34.  
  35. --
  36. Best regards                    Reply to: hemmer@hemmer.adsp.sub.org
  37. Franz Hemmer                    #include <stddisclaimer.h>
  38. Software Developer       _      >> Carpe Diem! - Seize the day! <<
  39.                          \\ _
  40.                  Interacti\X/ision - The name of precision
  41.