* gnu/java/awt/peer/gtk/GtkComponentPeer.java (handleEvent): Implemented. Handles PaintEvents. (paint): Implemented. Use GTK native methods to queue updates for this heavyweight peer. * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Removed. * java/awt/Component.java (paint): Implemented. Explictly paint the heavyweight peer. (update): Clear the background for heavyweight components. (paintAll): No need to call peer.paint() anymore. (processEvent): Don't process PaintEvents here. It's now done in the peer's handleEvent(). (processPaintEvent): Removed. * java/awt/Container.java (paint): No need to call super.paint(). Visit heavyweight children as well. (update): Don't clear the background here. It's done in Component.update(). (visitChildren): Added check to not recurse into Containers. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (filter_expose_event_handler): New method. Filter unwanted expose events while painting heavyweight peers. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter): New method. Connect filter and block pre_event_handler. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter): New method. Disconnect filter and unblock pre_event_handler. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea): New method. Invalidate and update given area. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler): Add checks for unwanted expose events. From-SVN: r76668
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
doc | Loading commit data... | |
gcj | Loading commit data... | |
gnu | Loading commit data... | |
include | Loading commit data... | |
java | Loading commit data... | |
javax | Loading commit data... | |
jni | Loading commit data... | |
libltdl | Loading commit data... | |
org | Loading commit data... | |
scripts | Loading commit data... | |
sysdep | Loading commit data... | |
testsuite | Loading commit data... | |
COPYING | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog-1999 | Loading commit data... | |
ChangeLog-2001 | Loading commit data... | |
ChangeLog-2002 | Loading commit data... | |
ChangeLog-2003 | Loading commit data... | |
HACKING | Loading commit data... | |
LIBGCJ_LICENSE | Loading commit data... | |
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
NEWS | Loading commit data... | |
README | Loading commit data... | |
THANKS | Loading commit data... | |
acconfig.h | Loading commit data... | |
acinclude.m4 | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
addr2name.awk | Loading commit data... | |
boehm.cc | Loading commit data... | |
configure | Loading commit data... | |
configure.host | Loading commit data... | |
configure.in | Loading commit data... | |
defineclass.cc | Loading commit data... | |
exception.cc | Loading commit data... | |
gij.cc | Loading commit data... | |
glib-2.0.m4 | Loading commit data... | |
gtk-2.0.m4 | Loading commit data... | |
interpret.cc | Loading commit data... | |
jni.cc | Loading commit data... | |
libart.m4 | Loading commit data... | |
libgcj-test.spec.in | Loading commit data... | |
libgcj.pc.in | Loading commit data... | |
libgcj.spec.in | Loading commit data... | |
libtool-version | Loading commit data... | |
mauve-libgcj | Loading commit data... | |
no-threads.cc | Loading commit data... | |
nogc.cc | Loading commit data... | |
posix-threads.cc | Loading commit data... | |
posix.cc | Loading commit data... | |
prims.cc | Loading commit data... | |
resolve.cc | Loading commit data... | |
verify.cc | Loading commit data... | |
win32-threads.cc | Loading commit data... | |
win32.cc | Loading commit data... |