home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ee!bloc1469
- From: bloc1469@ee.ee.uwm.edu (Gregory R. Block)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Sorry, can't learn from includes alone
- Date: 17 Dec 1992 03:17:41 GMT
- Organization: Electrical Engineering Dept. University of Wisconsin - Milwaukee
- Lines: 36
- Message-ID: <1gorglINNl67@uwm.edu>
- References: <BzBy9v.Izp@usenet.ucs.indiana.edu>
- NNTP-Posting-Host: 129.89.2.33
-
- In article <BzBy9v.Izp@usenet.ucs.indiana.edu> shulick@navajo.ucs.indiana.edu writes:
- >To those of you who said it's possible to learn 2.0 programming on the
- >includes... sorry. Look at this:
- >
- >struct NewGadget {}
-
- It's very possible, though nobody said it was easy. If it weren't
- possible, you wouldn't see programs that exist for 3.0 NOW: All that
- exist are the includes and autodocs.
-
- You do have both the includes/headers and the autodocs, don't you?
-
- >What's ng_GadgetID supposed to do? What should I set it to? What's the
- >ng_UserData? The includes do NOT explain these. Isn't there some book
-
- A pointer to user data. For your own use, or they wouldn't call it
- "UserData". GadgetID? It's a Gadget ID #. You assign it. When you
- get an event, it returns a message of the specified type (GadgetUp,
- GadgetDown, whatever) with the GadgetID # you put in. That way, you
- know which button is being pressed.
-
- >available that does? For instance, Sybex put out an EXCELLENT book
-
- Yes. The Rom Kernel Reference Manual: Libraries. Very in-depth.
-
- >called "Amiga Programmer's Handbook" which totally explains the Amiga C
- >functions (OS 1.3).. it explains what you should set certain things to,
- >etc. etc. Is there some kind of book like this for OS 2.0? I want to
- >make gadgets, but I have no clue without any good books.
-
- Well, now you do. :)
- --
- (: (: (: (: Have you overdosed on smileys today? Why NOT!?! :) :) :) :)
- (: "Commodore has never proven to me, to my satisfaction, that :)
- (: Marc Barrett is still alive." -Wubba :)
- (: (: (: (: (: (: (: (: (: (: (: (: () :) :) :) Wubba, the Dark Angel :)
-