2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / libjava / gnu / gcj / xlib / natXButtonEvent.cc
blobfa02df833d0c21b9a72f745a85dc3ea706ae92ca
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/XButtonEvent.h>
20 void gnu::gcj::xlib::XButtonEvent::init()
22 ::XButtonEvent* evt = (::XButtonEvent*) event->structure;
24 time = evt->time;
25 x = evt->x;
26 y = evt->y;
27 state = evt->state;
28 button = evt->button;