home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12605 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.2 KB

  1. Path: sparky!uunet!mcsun!uknet!gdt!masaca
  2. From: masaca@gdr.bath.ac.uk (A C Aitchison)
  3. Newsgroups: comp.sys.sgi
  4. Subject: using motifbook menus demo with overlay planes
  5. Message-ID: <1992Aug19.104856.4797@gdr.bath.ac.uk>
  6. Date: 19 Aug 92 10:48:56 GMT
  7. Organization: School of Mathematics, University of Bath, UK
  8. Lines: 23
  9.  
  10. Newsgroups: comp.sys.sgi
  11. Subject: using motifbook menus demo with overlay planes
  12. Summary: 
  13. Expires: 
  14. Sender: aca@maths.bath.ac.uk
  15. Followup-To: aca@maths.bath.ac.uk
  16. Distribution: 
  17. Organization: School of Mathematics, University of Bath, UK
  18. Keywords: 
  19.  
  20. /usr/src/X11/motif/book/lib/menus.c (which is taken from
  21. "The X Window System, Programming and Applications with Xt - OSF/Motif Edition"
  22. contains a programmer-friendly front-end to Motif menus.
  23. Unfortunately it pups the menus up in the normal frame-buffer, so that
  24. whenever a menu is popped-down (very often) the main picture must be redrawn.
  25.  
  26. Can anyone tell me how to make it use the popup planes ?
  27.  
  28. Alternatively, can anyone recommend a way of creating an N entry menu in
  29. about N+2 lines of code ? (Of course that doesn't include definition of the support code.)
  30.  
  31. Thanks very much,
  32. Andrew C. Aitchison, aca@maths.bath.ac.uk
  33.