Hi Everyone at GPC/GRX
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?
I need to use a mouse to control something in the program.
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?
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.
Thanks
Klaus F. Ãstergaard
farremosen@mail.tele.dk
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