[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CLX create-colormap question

Does anyone have any ideas on why the create-colormap function in CLX should
take a resource-id to specify the visual type for the colormap instead of a
visual-info structure?  This question also relates to the
screen-root-visual, create-window, get-raw-image, and window-visual
functions which all accept or return a resource-id for visual types instead
of visual-info structures.

In general, anytime I see a resource-id being passed into or out of an
external CLX function I wonder if there is a design flaw.  It seems as if
users of CLX should be interacting with the CLX structures and protected
from the actual resource-ids.  Any opinions?

	Dan Stenger
	Texas Instruments
	Computer Science Center