[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: fix background color of images created by GtkCompon

Kaffe CVS cvs-commits at kaffe.org
Sun Nov 7 10:10:28 PST 2004


PatchSet 5415 
Date: 2004/11/07 18:06:32
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: fix background color of images created by GtkComponentPeer

2004-11-07  Dalibor Topic  <robilad at kaffe.org>

        * libraries/javalib/gnu/java/awt/peer/gtk/GtkComponentPeer.java:
        Resynced with GNU Classpath.

        2004-11-05  Sven de Marothy <sven at physto.se>

        * gnu/java/awt/peer/gtk/GtkComponentPeer.java
        (createImage): Created bitmap should be filled with bg color

Members: 
	ChangeLog:1.2964->1.2965 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkComponentPeer.java:1.7->1.8 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2964 kaffe/ChangeLog:1.2965
--- kaffe/ChangeLog:1.2964	Sun Nov  7 17:21:29 2004
+++ kaffe/ChangeLog	Sun Nov  7 18:06:32 2004
@@ -1,5 +1,15 @@
 2004-11-07  Dalibor Topic  <robilad at kaffe.org>
 
+	* libraries/javalib/gnu/java/awt/peer/gtk/GtkComponentPeer.java:
+        Resynced with GNU Classpath.
+
+	2004-11-05  Sven de Marothy <sven at physto.se>
+
+        * gnu/java/awt/peer/gtk/GtkComponentPeer.java
+        (createImage): Created bitmap should be filled with bg color
+
+2004-11-07  Dalibor Topic  <robilad at kaffe.org>
+
 	* libraries/clib/net/PlainDatagramSocket:
 	Resynced with GNU Classpath.
 
Index: kaffe/libraries/javalib/gnu/java/awt/peer/gtk/GtkComponentPeer.java
diff -u kaffe/libraries/javalib/gnu/java/awt/peer/gtk/GtkComponentPeer.java:1.7 kaffe/libraries/javalib/gnu/java/awt/peer/gtk/GtkComponentPeer.java:1.8
--- kaffe/libraries/javalib/gnu/java/awt/peer/gtk/GtkComponentPeer.java:1.7	Sat Oct 30 00:02:29 2004
+++ kaffe/libraries/javalib/gnu/java/awt/peer/gtk/GtkComponentPeer.java	Sun Nov  7 18:06:34 2004
@@ -217,6 +217,9 @@
     else
       g = new GdkGraphics (width, height);
 
+    g.setColor(getBackground());
+    g.fillRect(0, 0, width, height);
+
     return new GtkOffScreenImage (null, g, width, height);
   }
 




More information about the kaffe mailing list