On 11/19/20 3:44 PM, James Richters via fpc-pascal wrote:
I've been using PTCGraph from PTCPas and so far I can only use windows sizes 
that there happens to be a display driver for,  even if they are in a window.. 
so I can make a 640x480 or 1024x768 window,  but if I have a screen in a 
vertical configuration now I can't get a 640x480 window, I can only get a 
480x640 window because with the screen vertical, only vertical orientation 
graphics drivers are available.    There are times I want a totally custom size 
window as well,  like a 100x50.  I see a lot of procedure like 
ptc_Init640x480x32bpp with all kinds of configurations of screen resolutions 
and color densities, but there is also some named ptc_InitNonStandard32k.. with 
other color densities.. but I don't know how to initialize PTCGraph into my own 
custom window size.   Does anyone know how I could make my PTCGraph windows a 
custom weird size that doesn't necessarily match the available video drivers?

It's not possible with the current implementation, but right now I'm working on a patch that would make this possible. I'll post here when it's ready for testing.

Nikolay

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to