home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!ninja!zowie.zso.dec.com!ridder
- From: ridder@zowie.zso.dec.com (Hans)
- Subject: Getting 3D look in BOOPSI propgclass
- Message-ID: <1993Jan12.231844.25310@ninja.zso.dec.com>
- Sender: news@ninja.zso.dec.com (USENET News System)
- Nntp-Posting-Host: zowie.zso.dec.com
- Organization: Digital Equipment Corporation - DECwest Engineering
- References: <1993Jan12.050704.28814@gn.ecn.purdue.edu> <C0qvKB.Gw@unx.sas.com>
- Date: Tue, 12 Jan 1993 23:18:44 GMT
- Lines: 43
-
- I'm opening a window on the Workbench with a propgclass gadget in the
- border. The RKM:Libraries says that if I set PGA_NewLook,
- PGA_Borderless, and use an AUTOKNOB (the default,) I should get the "3D
- look." What I'm seeing is that when the window is active, the knob is
- rendered in white, the same as the SHINEPEN. If the window is inactive,
- it looks 3D.
-
- Is this a known bug? I noticed that Amigaguide which comes with SAS/C
- 6.0 has the same problem, and that Workbench doesn't even try to use the
- 3D look.....
-
- I'm using Release 2.04 in ROM on an A2000.
-
- Below is the NewObject() call which creates the prop gadget. Please
- don't worry about the constants, I'm just trying to get it to work.
-
- -hans
-
- ------------------------------------------------------------------------
-
- VScrollGad = NewObject(NULL, "propgclass",
- GA_Top, Screen->Font->ta_YSize + Screen->WBorTop + 2,
- GA_RelRight, -13,
- GA_Width, 10,
- GA_RelHeight, RelBottom -
- (Screen->Font->ta_YSize + Screen->WBorTop + 2),
- GA_Immediate, TRUE,
- GA_FollowMouse, TRUE,
- GA_RelVerify, TRUE,
- GA_RightBorder, TRUE,
- GA_Previous, &GadList,
- PGA_Top, 0,
- PGA_Visible, VISLINES,
- PGA_Total, TOTLINES,
- PGA_Freedom, FREEVERT,
- PGA_NewLook, TRUE,
- PGA_Borderless, TRUE,
- TAG_DONE);
- --
- Hans-Gabriel Ridder <ridder@rust.zso.dec.com>
- DECwest Engineering, Bellevue, Washington, USA
- "I'd rather be writing MACRO-20!"
- Any opinions expressed are not those of my employer, honest.
-