Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Christopher Gee <Christopher.Gee@nospamboeing.com>
Subject: using non-default visual with drawing area
Date: 1999/07/12	[thread overview]
Message-ID: <378A489F.ACE363C6@nospamboeing.com> (raw)

Hi -

I'm using a DEC Alpha System with Unix 4.0D, Motif 1.2, X11R6.  I know
that the graphics card I have supports an overlay layer.  What I'm
having trouble with is finding examples / documentation about how to use
a different visual for an xmDrawingArea (in other words, I need help
getting out of the gate).

In my application, I want to have two drawing areas (one on top of the
other), with the uppermost one in the overlay layer so it's transparent
and capturing all the events.  That leaves complex drawing to the lower
layer.  The lower drawing area will have the default visual and
colormap, while the upper drawing area should have a different visual
(for the overlay layer).

Can I have two drawing area widgets, with the same parent, have the
different visuals?  If they aren't attached to the same parent, it'll be
harder to have them aligned over each other.


Any suggestions / advice would be appreciated.

Thanks.




             reply	other threads:[~1999-07-12  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-12  4:00 Christopher Gee [this message]
1999-07-12  4:00 ` using non-default visual with drawing area kenton
1999-07-13  4:00   ` Christopher Gee
1999-07-13  4:00     ` kenton
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox