Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libjava / gnu / gcj / xlib / natXConfigureEvent.cc
bloba65c0b35134f9728547b5d9be86d5bcd2d5b48dc
1 /* Copyright (C) 2000 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
7 details. */
9 #include <X11/Xlib.h>
11 #include <gcj/cni.h>
12 #include <gnu/gcj/RawData.h>
14 #include <gnu/gcj/xlib/Display.h>
15 #include <gnu/gcj/xlib/Window.h>
16 #include <gnu/gcj/xlib/XAnyEvent.h>
17 #include <gnu/gcj/xlib/XEvent.h>
18 #include <gnu/gcj/xlib/XConfigureEvent.h>
19 #include <java/awt/Rectangle.h>
21 using java::awt::Rectangle;
23 java::awt::Rectangle* gnu::gcj::xlib::XConfigureEvent::getBounds()
25 ::XConfigureEvent* evt = (::XConfigureEvent*) event->structure;
26 Rectangle* rectangle = new Rectangle(evt->x, evt->y,
27 evt->width, evt->height);
29 return rectangle;