Hi,
devcaps1, a sample program of the Petzold books (both 95 anfd 98)
prints out various DeviceCaps values. Among them I noticed differences
between Wine and Windows 95/98:
Wine Win9x
NUMBRUSHES 22 -1
NUMPENS 16 -1
NUMCOLORS 100 -1
PDEVICESIZE 0 1152
Are they more than hardcoded values? See graphics/x11drv/init.c:
DeviceCaps X11DRV_DevCaps = {
...
/* device objects */ 1, 16 + 6, 16, 0, 0, 100, 0,
Is there a reason why we can't just use the Windows 9x values? Should
we have a Win16 set of values and a Win32 set of values?
--
Francois Gouget [EMAIL PROTECTED] http://fgouget.free.fr/
RFC 2549: ftp://ftp.isi.edu/in-notes/rfc2549.txt
IP over Avian Carriers with Quality of Service