[comp.windows.open-look] detecting smaller XView cms than requested

lusk@bodie.cs.unc.edu (John Lusk) (03/07/91)

I'd like to be able to detect when xv_create returns a smaller dynamic
cms than the one I requested.  Can anyone tell me how?  I tried
checking for XV_NULL, checking CMS_SIZE, CMS_COLOR_COUNT,
CMS_FOREGROUND_PIXEL (the last three with xv_get), but no luck.  XView
merrily tells me it created the cms I requested when I can see that it
didn't.  (Either that, or it didn't succeed at all; but still, no
error was returned.)

Thanks.

John.

(lusk@cs.unc.edu)
-- 

(lusk@cs.unc.edu)