> Hi Jereon and others,
>
> I have been reading through the source and I have a question regarding
> the creation of FXVisual's.
>
> Why does FXApp create a default visual and a mono visual?
>
> Mathew Robertson

The FXVisual describes the organization of a frame buffer, i.e. bits/pixel,
and true/pseudo/gray color and so on.  It also has dither tables filled up
which are used when rendering images.

The default visual is used to describe the normal display depth;
the mono visual is there in case you need to draw into FXBitmap's, which
are basically black/white images.  You can use FXBitmap for pattern fills
and masking in the device context.

Hope that explains....

		- Jeroen

