home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pop / 176 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  2.6 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!bhamcs!percy!tmr
  2. From: tmr@cs.bham.ac.uk (Tim Read)
  3. Newsgroups: comp.lang.pop
  4. Subject: The Joys of X !!
  5. Message-ID: <TMR.92Dec28144420@emotsun.bham.ac.uk>
  6. Date: 28 Dec 92 14:44:20 GMT
  7. Sender: news@cs.bham.ac.uk
  8. Distribution: comp.lang.pop
  9. Organization: School of Computer Science, University of Birmingham, UK
  10. Lines: 44
  11. Nntp-Posting-Host: emotsun
  12.  
  13. I am still `on the case' of trying to get X thingies (bitmaps, widgets etc)
  14. into a window created by the rc_graphic library. To my knowledge there are a
  15. couple of ways to import X bitmaps, but in each case I am missing some part
  16. of the jigsaw puzzle, so am unable to complete the process. Watch this
  17. space.
  18.  
  19. Another problem I wish to solve is how to create and obtain a handle for an
  20. X widget for use within the same rc_graphic window. This does not appear to
  21. be an easy task. I don't like to criticise rc_graphic too much, as it does
  22. make life much easier in the majority of cases. However one problem with it
  23. is that the types of things that can be created and drawn within the X
  24. window are very limited.
  25.  
  26. For anyone trying to display an environment with many different objects,
  27. things get very frustrating. You are basically limited to lines and
  28. alphanumeric characters. You can build moderately complex objects using a
  29. function that puts together a few lines etc, but that gets very slow when
  30. you come to display things. I am also using colour and sound of course, but
  31. that limits the numbers of machines I can run my code on. I don't require
  32. the widget to have any functionality, like a button might have, just to be
  33. displayable.
  34.  
  35. Well considering it is (was) xmas recently, if I ask nicely enough perhaps
  36. Santa will supply me with pointers to the knowledge as to how to create such
  37. widgets, and a corresponding set of functions to display and manipulate
  38. them.
  39.  
  40. I don't want to have to use any `big' existing libraries that were designed
  41. for other purposes, as the key thing here is speed, or efficiency if you
  42. like (that's got Steve's attention!). I have tried wading through the help
  43. and ref files but find them somewhat indigestible, after all the turkey...
  44.  
  45. Has anyone done anything like this?, or have any code fragments that I could
  46. browse to understand how best to go about such code? 
  47.  
  48. Thanks in advace,
  49.  
  50. Tim
  51. --
  52.     --------------------------------------------------------------------
  53.     Tim Read, Email: tmr@cs.bham.ac.uk, The Attention and Affect Project
  54.     Room LG23, School of Computer Science, The University of Birmingham,
  55.     B15 2TT, England, Phone: +44-(0)21-414-4766, Fax: +44-(0)21-414-4281
  56.     --------------------------------------------------------------------
  57.