Hi, I used GRX with DJGPP on DOS for a while (years ago) and was very happy with it, now I'd like to use it on Linux but I am having a few problems. Compiling and installing was easy and most of the test programs work without problems, but... Is there an archive of this list so I can check if this topic has been discussed before? Or someone can point me to a site that discuss this or has examples written for Linux and X11, if it exists? If the above is not possible.... What I want to do is nothing particular mostly for scientific work. I have an image in a char matrix and I want to display it somewhere on the screen. The first problem was that GRX doesn't do that easily but this I already solved on DOS. My main problem for now is dealing with colors. In DOS usually it was 256 colors and I allocated the colors in col[257] and used it in a GrBuildPixmap(array,xdim,ydim,col) function. But with Linux the window that X11 open is 16M colors (even if I ask for 256) and it seems the old way doesn't work anymore. How do I do that? Another problem is with the mouse it seems it doesn't work well even in some of the test programs. Is there a particular way of using it? Any help? Thanks, GianPiero Puccioni -- **************************************************************************** * Istituto Nazionale di Ottica GianPiero Puccioni * * Largo E.Fermi 6 E-Mail : gip@ino.it * * I-50125 Firenze - ITALY Tel +39 055 23081 - Fax +39 055 2337755 * ****************************************************************************
participants (3)
-
Anja Drewitz -
GianPiero Puccioni -
Hartmut Schirmer