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