Added a test for MUIA_Listview_SelectChange.
[AROS.git] / arch / all-hosted / hidd / x11 / support.c
blobae0a5302aacc5081115ad1be8dbc836e6a6e6dc2
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: X11 gfx HIDD for AROS.
6 Lang: English.
7 */
9 #include "x11_debug.h"
11 #include <X11/Xlib.h>
13 #include <proto/oop.h>
14 #include <proto/exec.h>
15 #include <exec/memory.h>
17 #include <hidd/graphics.h>
19 #include "x11gfx_intern.h"
20 #include "x11.h"
22 #include <X11/Xlib.h>
24 /****************************************************************************************/
26 VOID Hidd_X11Mouse_HandleEvent(OOP_Object *o, XEvent *event)
28 struct pHidd_X11Mouse_HandleEvent msg;
29 static OOP_MethodID mid;
31 if (!mid)
32 mid = OOP_GetMethodID(IID_Hidd_X11Mouse, moHidd_X11Mouse_HandleEvent);
34 msg.mID = mid;
35 msg.event = event;
37 OOP_DoMethod(o, (OOP_Msg) &msg);
40 /****************************************************************************************/
42 VOID Hidd_X11Kbd_HandleEvent(OOP_Object *o, XEvent *event)
44 struct pHidd_X11Kbd_HandleEvent msg;
45 static OOP_MethodID mid;
47 if (!mid)
48 mid = OOP_GetMethodID(IID_Hidd_X11Kbd, moHidd_X11Kbd_HandleEvent);
50 msg.mID = mid;
51 msg.event = event;
53 OOP_DoMethod(o, (OOP_Msg) &msg);
56 /****************************************************************************************/