[cp-patches] FYI: GdkScreenGraphicsDevice and friends implemented
Sven de Marothy
sven at physto.se
Wed Jun 7 02:13:05 UTC 2006
On Tue, 2006-06-06 at 12:02 +0200, Robert Schuster wrote:
> this patch implements the GdkScreenGraphicsDevice and related classes.
Great! Now we can fill in the missing puzzle piece for VolatileImage,
which is the GraphicsEnvironment constructor. It should probably take a
GdkScreenGraphicsDevice as a parameter.
The reason for this is that VolatileImage wraps an X pixmap both in our
impl and in the JDK (says Sun's docs), and to create a pixmap you need
to know the native screen parameters. Which can be recieved either from
an existing widget (GtkComponentPeer constructor -implemented.) or from
a GdkScreen (not implemented).
So you should all understand now why the createVolatileImage methods
happen to be in GraphicsConfiguration and Component. :)
More information about the Classpath-patches