home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12959 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.6 KB  |  53 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!.IMD.Sterling.COM!chris
  3. From: chris@.IMD.Sterling.COM (Chris Olson)
  4. Subject: Re: Need help with GadTools....
  5. Message-ID: <1992Sep1.182709.9763@sparky.imd.sterling.com>
  6. Sender: news@sparky.imd.sterling.com (News Admin)
  7. Organization: Sterling Software
  8. References:  <1992Sep1.135513.7894@sparky.imd.sterling.com>
  9. Date: Tue, 1 Sep 1992 18:27:09 GMT
  10. Lines: 40
  11. X-Md4-Signature: da5dd6f99e451b13bc5567ba2d0a9e3d
  12.  
  13. Never mind...
  14. ...I found it.  Boy, do I feel stupid.
  15.  
  16. In article <1992Sep1.135513.7894@sparky.imd.sterling.com>, chris@.IMD.Sterling.COM (Chris Olson) writes:
  17.               .
  18.               .
  19.               .
  20. |>    kind = 12 (STRING_KIND)
  21. |>    struct NewGadget newgad = {
  22. |>       ng_LeftEdge = 60
  23. |>       ng_TopEdge = 10
  24. |>       ng_Width = 160
  25. |>       ng_Height = 12
  26. |>       ng_GadgetText = "Name:"
  27. |>       ng_TextAttr = 0x00279B54 { "topaz", 8, FS_NORMAL, FPF_ROMFONT }
  28. ------------------------------------------^ .font!!!
  29. |>       ng_GadgetID = 1
  30. |>       ng_Flags = 0x00000001
  31. |>       ng_VisualInfo = 0x002644EC
  32. |>       ng_UserData = 0x00000000
  33. |>    };
  34. |>    tags {
  35. |>       0x8008002D = 0x0027E720 "No Name"
  36. |>       0x8008002E = 0x0000003C 60
  37. |>       0x00000000
  38. |>    };
  39. |> 
  40.  
  41. For the clueless (myself included) that should be topaz.font...
  42.  
  43. (sounds of grown man soundly kicking himself around office)
  44.  
  45.         thanks anyway...
  46.             Chris Olson
  47.  
  48. -- 
  49.     ____/    /           __/            chris@IMD.Sterling.COM
  50.    /        __  /   __/   /    ___/
  51.   /        /   /   /     /  ___  /      "It's intuitively obvious to the most
  52. ______/ __/ __/ __/   __/ ______/        casual observer..."
  53.