From 7fe60435bce6595a9c58a9bfd8244d74b5320e96 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 15 Jan 2013 08:46:13 +0100 Subject: Import DirectFB141_2k11R3_beta5 --- .../proxy/dispatcher/idirectfbwindow_dispatcher.h | 104 +++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100755 Source/DirectFB/proxy/dispatcher/idirectfbwindow_dispatcher.h (limited to 'Source/DirectFB/proxy/dispatcher/idirectfbwindow_dispatcher.h') diff --git a/Source/DirectFB/proxy/dispatcher/idirectfbwindow_dispatcher.h b/Source/DirectFB/proxy/dispatcher/idirectfbwindow_dispatcher.h new file mode 100755 index 0000000..75a10c6 --- /dev/null +++ b/Source/DirectFB/proxy/dispatcher/idirectfbwindow_dispatcher.h @@ -0,0 +1,104 @@ +/* + (c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org) + (c) Copyright 2000-2004 Convergence (integrated media) GmbH + + All rights reserved. + + Written by Denis Oliver Kropp , + Andreas Hundt , + Sven Neumann , + Ville Syrjälä and + Claudio Ciccani . + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the + Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. +*/ + +#ifndef __IDIRECTFBWINDOW_DISPATCHER_H__ +#define __IDIRECTFBWINDOW_DISPATCHER_H__ + +#define IDIRECTFBWINDOW_METHOD_ID_AddRef 1 +#define IDIRECTFBWINDOW_METHOD_ID_Release 2 +#define IDIRECTFBWINDOW_METHOD_ID_CreateEventBuffer 3 +#define IDIRECTFBWINDOW_METHOD_ID_AttachEventBuffer 4 +#define IDIRECTFBWINDOW_METHOD_ID_EnableEvents 5 +#define IDIRECTFBWINDOW_METHOD_ID_DisableEvents 6 +#define IDIRECTFBWINDOW_METHOD_ID_GetID 7 +#define IDIRECTFBWINDOW_METHOD_ID_GetPosition 8 +#define IDIRECTFBWINDOW_METHOD_ID_GetSize 9 +#define IDIRECTFBWINDOW_METHOD_ID_GetSurface 10 +#define IDIRECTFBWINDOW_METHOD_ID_SetOptions 11 +#define IDIRECTFBWINDOW_METHOD_ID_GetOptions 12 +#define IDIRECTFBWINDOW_METHOD_ID_SetColorKey 13 +#define IDIRECTFBWINDOW_METHOD_ID_SetColorKeyIndex 14 +#define IDIRECTFBWINDOW_METHOD_ID_SetOpaqueRegion 15 +#define IDIRECTFBWINDOW_METHOD_ID_SetOpacity 16 +#define IDIRECTFBWINDOW_METHOD_ID_GetOpacity 17 +#define IDIRECTFBWINDOW_METHOD_ID_SetCursorShape 18 +#define IDIRECTFBWINDOW_METHOD_ID_RequestFocus 19 +#define IDIRECTFBWINDOW_METHOD_ID_GrabKeyboard 20 +#define IDIRECTFBWINDOW_METHOD_ID_UngrabKeyboard 21 +#define IDIRECTFBWINDOW_METHOD_ID_GrabPointer 22 +#define IDIRECTFBWINDOW_METHOD_ID_UngrabPointer 23 +#define IDIRECTFBWINDOW_METHOD_ID_GrabKey 24 +#define IDIRECTFBWINDOW_METHOD_ID_UngrabKey 25 +#define IDIRECTFBWINDOW_METHOD_ID_Move 26 +#define IDIRECTFBWINDOW_METHOD_ID_MoveTo 27 +#define IDIRECTFBWINDOW_METHOD_ID_Resize 28 +#define IDIRECTFBWINDOW_METHOD_ID_SetStackingClass 29 +#define IDIRECTFBWINDOW_METHOD_ID_Raise 30 +#define IDIRECTFBWINDOW_METHOD_ID_Lower 31 +#define IDIRECTFBWINDOW_METHOD_ID_RaiseToTop 32 +#define IDIRECTFBWINDOW_METHOD_ID_LowerToBottom 33 +#define IDIRECTFBWINDOW_METHOD_ID_PutAtop 34 +#define IDIRECTFBWINDOW_METHOD_ID_PutBelow 35 +#define IDIRECTFBWINDOW_METHOD_ID_Close 36 +#define IDIRECTFBWINDOW_METHOD_ID_Destroy 37 +#define IDIRECTFBWINDOW_METHOD_ID_DetachEventBuffer 38 +#define IDIRECTFBWINDOW_METHOD_ID_SetBounds 39 +#define IDIRECTFBWINDOW_METHOD_ID_ResizeSurface 40 +#define IDIRECTFBWINDOW_METHOD_ID_Bind 41 +#define IDIRECTFBWINDOW_METHOD_ID_Unbind 42 +#define IDIRECTFBWINDOW_METHOD_ID_SetKeySelection 43 +#define IDIRECTFBWINDOW_METHOD_ID_GrabUnselectedKeys 44 +#define IDIRECTFBWINDOW_METHOD_ID_UngrabUnselectedKeys 45 +#define IDIRECTFBWINDOW_METHOD_ID_SetSrcGeometry 46 +#define IDIRECTFBWINDOW_METHOD_ID_SetDstGeometry 47 +#define IDIRECTFBWINDOW_METHOD_ID_SetProperty 48 +#define IDIRECTFBWINDOW_METHOD_ID_GetProperty 49 +#define IDIRECTFBWINDOW_METHOD_ID_RemoveProperty 50 +#define IDIRECTFBWINDOW_METHOD_ID_SetRotation 51 +#define IDIRECTFBWINDOW_METHOD_ID_SetAssociation 52 +#define IDIRECTFBWINDOW_METHOD_ID_BeginUpdates 53 +#define IDIRECTFBWINDOW_METHOD_ID_SetCursorFlags 54 +#define IDIRECTFBWINDOW_METHOD_ID_SetCursorResolution 55 +#define IDIRECTFBWINDOW_METHOD_ID_SetCursorPosition 56 +#define IDIRECTFBWINDOW_METHOD_ID_SendEvent 57 + +/* + * private data struct of IDirectFBWindow_Dispatcher + */ +typedef struct { + int ref; /* reference counter */ + + IDirectFBWindow *real; + + VoodooInstanceID self; + VoodooInstanceID super; + + VoodooManager *manager; +} IDirectFBWindow_Dispatcher_data; + +#endif -- cgit