aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/xlib/Window.java
diff options
context:
space:
mode:
authorScott Gilbertson <scottg@mantatest.com>2005-07-15 16:07:18 +0000
committerScott Gilbertson <sgilbertson@gcc.gnu.org>2005-07-15 16:07:18 +0000
commite27d6202c07dbc70172733fcf6e79cb2ffe9a56c (patch)
tree36d9688009aa0d1293f407c7660e7901e7986ce0 /libjava/gnu/gcj/xlib/Window.java
parent27811bfe0a0bd1ff8ad3b361318df9f80fdae79c (diff)
downloadgcc-e27d6202c07dbc70172733fcf6e79cb2ffe9a56c.zip
gcc-e27d6202c07dbc70172733fcf6e79cb2ffe9a56c.tar.gz
gcc-e27d6202c07dbc70172733fcf6e79cb2ffe9a56c.tar.bz2
XCanvasPeer.java (attributes): New field.
2005-07-15 Scott Gilbertson <scottg@mantatest.com> * gnu/awt/xlib/XCanvasPeer.java (attributes): New field. (eventMask): New field. (XCanvasPeer(Component)): Use attributes field. (setBackground): Implemented. (setEventMask): Process mask only if changed. * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable. (eventLoopThread): New field. (XEventLoop(Display,EventQueue)): Start eventLoopThread. (interrupt): Removed. (run): New method. * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container and Component events. * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New field. (configureNotify): Set and clear processingConfigureNotify. (setBounds): Process only if processingConfigureNotify is false. (toBack): Implemented. (toFront): Implemented. * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color. * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null color. * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true. (wakeNativeQueue): Do nothing. (iterateNativeQueue): Do queue.wait if blocking. * gnu/gcj/xlib/Font.java (loadFont): New method. (loadFontImpl): Renamed native method, was loadFont. * gnu/gcj/xlib/Window.java (toFront): New method. (toBack): New method. * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was loadFont. * gnu/gcj/xlib/natWindow.cc (toBack): New method. (toFront): New method. * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout. From-SVN: r102057
Diffstat (limited to 'libjava/gnu/gcj/xlib/Window.java')
-rw-r--r--libjava/gnu/gcj/xlib/Window.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/gnu/gcj/xlib/Window.java b/libjava/gnu/gcj/xlib/Window.java
index ae3dbfd..3ff3657 100644
--- a/libjava/gnu/gcj/xlib/Window.java
+++ b/libjava/gnu/gcj/xlib/Window.java
@@ -73,6 +73,8 @@ public class Window extends Drawable
public native void map();
public native void unmap();
+ public native void toFront();
+ public native void toBack();
protected boolean owned = false;