home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!rat!usc!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!navajo!shulick
- From: shulick@navajo.ucs.indiana.edu (Sam Hulick)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Sorry, can't learn from includes alone
- Message-ID: <BzBy9v.Izp@usenet.ucs.indiana.edu>
- Date: 16 Dec 92 02:15:29 GMT
- Sender: news@usenet.ucs.indiana.edu (USENET News System)
- Reply-To: shulick@navajo.ucs.indiana.edu
- Organization: Vallen Software
- Lines: 29
- Originator: shulick@navajo
- Nntp-Posting-Host: navajo.ucs.indiana.edu
-
-
- To those of you who said it's possible to learn 2.0 programming on the
- includes... sorry. Look at this:
-
- struct NewGadget
- {
- WORD ng_LeftEdge, ng_TopEdge; /* gadget position */
- WORD ng_Width, ng_Height; /* gadget size */
- UBYTE *ng_GadgetText; /* gadget label */
- struct TextAttr *ng_TextAttr; /* desired font for gadget label */
- UWORD ng_GadgetID; /* gadget ID */
- ULONG ng_Flags; /* see below */
- APTR ng_VisualInfo; /* Set to retval of GetVisualInfo() */
- APTR ng_UserData; /* gadget UserData */
- };
-
- 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
- available that does? For instance, Sybex put out an EXCELLENT book
- 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.
-
- --
- // Amiga 3000 ___ \ Sam Hulick: shulick@indiana.edu (NeXTmail OK!)
- // 68030 25 MHz /__/\ \ My opinions wear combat boots. Or whatever.
- \\// OS 2.04 \__\/ / "Walk! Not bloody likely. I am going in a
- \/ / taxi." --George Bernard Shaw
-