home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2253 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: student.uni-tuebingen.de!not-for-mail
  2. From: "Reinhard Katzmann" <Suamor@student.uni-tuebingen.de>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Boopsi... tsss, tsss....
  5. Date: Mon, 29 Jan 1996 11:33:44 -0500
  6. Organization: InterNetNews at ZDV Uni-Tuebingen
  7. Distribution: world
  8. Message-ID: <69071069%suamor@student.uni-tuebingen.de>
  9. References: <1996Jan24.233515.26181@cercle.centre.net>
  10. Reply-To: "suamor" <suamor@student.uni-tuebingen.de>
  11. NNTP-Posting-Host: gw192.informatik.uni-tuebingen.de
  12. X-NewsReader: IntuiNews 1.3a (7.9.95)
  13.  
  14. franck.roumy schrieb in comp.sys.amiga.programmer ueber "Boopsi... tsss,
  15. tsss....":
  16. >         Hi every helpers,
  17. >
  18. >         I'm trying to code the "db_button.gadget", a boopsi button,
  19. > which
  20. > seems to be very usefull. Sad thing, I don't know how to declare it as a
  21. > "Button", to receive the appropiate IDCMP_GADGETUP/DOWN code. So, I
  22. > obtain
  23. > beautifull buttons, (beautifull pictures, beautifull colors...), and
  24. > nothing
  25. > appends when the user click them!!
  26.  
  27. Did you include GM_HITTEST ? This message should be send to you when a
  28. User presses on the Gadget. Of course you need to check the bounds
  29. (because of the frames). And your Gadget must belong to GadgetClass.
  30. (S.also in the RKM Libraries: Appendix B Boopsi Classes, GadgetClass p. 902)
  31.  
  32. >         _Here is the questions:_
  33. >
  34. >       * How should I declare it as a "BUTTON_KIND"?
  35.  
  36. The only known "official" way to do is it to use AddClass(), but all the
  37. strings must be officially registered. Else you would need to create own
  38. functions which provide you a similar method. F.e. in BGUI an object is
  39. created with BGUI_NewObject().
  40.  
  41. >       * Should I use more than the "NewObjectA" Intuition's command (or
  42. >         another instruction)?
  43.  
  44. see above
  45. [Code deleted]
  46.  
  47. >       * I've found the "button.gadget" in my "Class/Gadgets" directory,
  48. > does
  49. >         someone have some informations about it? A documention? (to
  50. > send?
  51.  
  52. There is a PD/Freeware/Shareware (?) ButtonClass avalaible on Aminet.
  53. I don't know how it is handled there. In the BGUI Archive should also
  54. be some example Classes which should help for a start (though they are
  55. based on BGUI)
  56.  
  57. - Reinhard Katzmann
  58.  
  59. ---
  60. E-Mail: suamor@student.uni-tuebingen.de
  61.  
  62. One day I hope to finish my RPS Pertergrin
  63. Concept for Pertergin (yet in german) avalaible on Request
  64. Current Amiga-Project: GuideTool (GUI) V1.1BETA
  65.  
  66.