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
|
#ifndef ECORE_EVAS_X11_H_
# define ECORE_EVAS_X11_H_
typedef struct _Ecore_Evas_Interface_X11 Ecore_Evas_Interface_X11;
typedef struct _Ecore_Evas_Interface_Software_X11 Ecore_Evas_Interface_Software_X11;
typedef struct _Ecore_Evas_Interface_Gl_X11 Ecore_Evas_Interface_Gl_X11;
struct _Ecore_Evas_Interface_X11 {
Ecore_Evas_Interface base;
void (*leader_set)(Ecore_Evas *ee, Ecore_X_Window win);
Ecore_X_Window (*leader_get)(Ecore_Evas *ee);
void (*leader_default_set)(Ecore_Evas *ee);
void (*shape_input_rectangle_set)(Ecore_Evas *ee, int x, int y, int w, int h);
void (*shape_input_rectangle_add)(Ecore_Evas *ee, int x, int y, int w, int h);
void (*shape_input_rectangle_subtract)(Ecore_Evas *ee, int x, int y, int w, int h);
void (*shape_input_empty)(Ecore_Evas *ee);
void (*shape_input_reset)(Ecore_Evas *ee);
void (*shape_input_apply)(Ecore_Evas *ee);
};
struct _Ecore_Evas_Interface_Software_X11 {
Ecore_Evas_Interface base;
Ecore_X_Window (*window_get)(const Ecore_Evas *ee);
Ecore_X_Pixmap (*pixmap_get)(const Ecore_Evas *ee);
void (*resize_set)(Ecore_Evas *ee, Eina_Bool on);
Eina_Bool (*resize_get)(const Ecore_Evas *ee);
void (*extra_event_window_add)(Ecore_Evas *ee, Ecore_X_Window win);
void *(*pixmap_visual_get)(const Ecore_Evas *ee);
unsigned long (*pixmap_colormap_get)(const Ecore_Evas *ee);
int (*pixmap_depth_get)(const Ecore_Evas *ee);
};
struct _Ecore_Evas_Interface_Gl_X11 {
Ecore_Evas_Interface base;
Ecore_X_Window (*window_get)(const Ecore_Evas *ee);
Ecore_X_Pixmap (*pixmap_get)(const Ecore_Evas *ee);
void (*resize_set)(Ecore_Evas *ee, Eina_Bool on);
Eina_Bool (*resize_get)(const Ecore_Evas *ee);
void (*extra_event_window_add)(Ecore_Evas *ee, Ecore_X_Window win);
void (*pre_post_swap_callback_set)(const Ecore_Evas *ee, void *data, void (*pre_cb) (void *data, Evas *e), void (*post_cb) (void *data, Evas *e));
void *(*pixmap_visual_get)(const Ecore_Evas *ee);
unsigned long (*pixmap_colormap_get)(const Ecore_Evas *ee);
int (*pixmap_depth_get)(const Ecore_Evas *ee);
};
#endif
|