home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18596 < prev    next >
Encoding:
Text File  |  1993-01-12  |  2.1 KB  |  56 lines

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