Hello, again,
Peter Gerwinski, writes that: ... Nope. It depends on your graphics card, your operating system and your setup which resolution you can get. ...
If I have a windows 98 system with a graphic controller and monitor capabal of a resolution of 1280x1024 x256 colors on a intel 586 pc, then I should be able to run this mode with grx and gpc (cygwin). But only if the windows98 is set to 1280x1024 resolution?
kind regards,
klaus
-----Original Message----- From: Peter Gerwinski [mailto:peter@gerwinski.de] Sent: 8. august 2000 21:55 To: =?iso-8859-1?Q?Klaus_Friis_=D8stergaard_=3CKFO=40LASERTECH=2EDK=3E?=@esm eralda.gerwinski.de Cc: GPC; GRX Subject: Re: Graphical resolution with GPC
Hello, everyone,
Klaus Friis Østergaard wrote:
I need to convert a program written in turbo pascal version 7.0 which uses
a
resolution of 1024x768 pixels. When I look at the GRX packed it seems like the high resolution is 640x400 standard svga is this right?
Nope. It depends on your graphics card, your operating system and your setup which resolution you can get.
I need to use a mouse to control something in the program.
GRX has mouse support - please have a look at the functions `GrMouseGetEvent' and `GrMouseGetEventT'.
Would it be possible to convert this program/ make a new program that uses GPC, with grx and a graphical interface at 1024x768 or maybe 1280x1024, I only need 16 colours?
Yes. No problem.
I have the newest gpc-alpha version compiled on a red-hat linux and also a cygwin working on Windows, the primary end platform for the program should be Windows (unfortunately).
If it is possible to get a resolution of 1024X768 or greater it would be great if there was a sample code on how to initialise/invoke the graphics rather than a YES this can be done.
GrSetMode (GR_width_height_color_graphics, 1024, 768, 256, 0, 0);
Hope this helps,
Peter