home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!.IMD.Sterling.COM!chris
- From: chris@.IMD.Sterling.COM (Chris Olson)
- Subject: Re: Need help with GadTools....
- Message-ID: <1992Sep1.182709.9763@sparky.imd.sterling.com>
- Sender: news@sparky.imd.sterling.com (News Admin)
- Organization: Sterling Software
- References: <1992Sep1.135513.7894@sparky.imd.sterling.com>
- Date: Tue, 1 Sep 1992 18:27:09 GMT
- Lines: 40
- X-Md4-Signature: da5dd6f99e451b13bc5567ba2d0a9e3d
-
- Never mind...
- ...I found it. Boy, do I feel stupid.
-
- In article <1992Sep1.135513.7894@sparky.imd.sterling.com>, chris@.IMD.Sterling.COM (Chris Olson) writes:
- .
- .
- .
- |> kind = 12 (STRING_KIND)
- |> struct NewGadget newgad = {
- |> ng_LeftEdge = 60
- |> ng_TopEdge = 10
- |> ng_Width = 160
- |> ng_Height = 12
- |> ng_GadgetText = "Name:"
- |> ng_TextAttr = 0x00279B54 { "topaz", 8, FS_NORMAL, FPF_ROMFONT }
- ------------------------------------------^ .font!!!
- |> ng_GadgetID = 1
- |> ng_Flags = 0x00000001
- |> ng_VisualInfo = 0x002644EC
- |> ng_UserData = 0x00000000
- |> };
- |> tags {
- |> 0x8008002D = 0x0027E720 "No Name"
- |> 0x8008002E = 0x0000003C 60
- |> 0x00000000
- |> };
- |>
-
- For the clueless (myself included) that should be topaz.font...
-
- (sounds of grown man soundly kicking himself around office)
-
- thanks anyway...
- Chris Olson
-
- --
- ____/ / __/ chris@IMD.Sterling.COM
- / __ / __/ / ___/
- / / / / / ___ / "It's intuitively obvious to the most
- ______/ __/ __/ __/ __/ ______/ casual observer..."
-