blob: 75a10c60e83b28e9edd2b1e0e9ff02493541a80d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
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 <dok@directfb.org>,
Andreas Hundt <andi@fischlustig.de>,
Sven Neumann <neo@directfb.org>,
Ville Syrjälä <syrjala@sci.fi> and
Claudio Ciccani <klan@users.sf.net>.
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
|