summaryrefslogtreecommitdiff
path: root/src/lib/ecore_sdl/Ecore_Sdl.h
diff options
context:
space:
mode:
authorCedric BAIL <c.bail@partner.samsung.com>2014-07-25 20:23:42 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-07-25 20:24:29 +0200
commit3c179cdb87446f58b7eec3b467c9142c9a97df96 (patch)
tree21d05b1e03f6473110201d3109d495b7dbedc2a6 /src/lib/ecore_sdl/Ecore_Sdl.h
parent9a9d78dfcbe2aa75ecc72d0fe303a174d0ed457a (diff)
evas: move to SDL2 and use GL_Generic infrastructure.
Diffstat (limited to 'src/lib/ecore_sdl/Ecore_Sdl.h')
-rw-r--r--src/lib/ecore_sdl/Ecore_Sdl.h31
1 files changed, 20 insertions, 11 deletions
diff --git a/src/lib/ecore_sdl/Ecore_Sdl.h b/src/lib/ecore_sdl/Ecore_Sdl.h
index 359e974718..ed4bd0f0a9 100644
--- a/src/lib/ecore_sdl/Ecore_Sdl.h
+++ b/src/lib/ecore_sdl/Ecore_Sdl.h
@@ -41,6 +41,26 @@ EAPI extern int ECORE_SDL_EVENT_LOST_FOCUS;
41EAPI extern int ECORE_SDL_EVENT_RESIZE; 41EAPI extern int ECORE_SDL_EVENT_RESIZE;
42EAPI extern int ECORE_SDL_EVENT_EXPOSE; 42EAPI extern int ECORE_SDL_EVENT_EXPOSE;
43 43
44typedef struct _Ecore_Sdl_Event_Video_Resize Ecore_Sdl_Event_Video_Resize;
45struct _Ecore_Sdl_Event_Video_Resize
46{
47 unsigned int windowID;
48 int w;
49 int h;
50};
51
52typedef struct _Ecore_Sdl_Event_Window Ecore_Sdl_Event_Window;
53struct _Ecore_Sdl_Event_Window
54{
55 unsigned int windowID;
56};
57
58EAPI int ecore_sdl_init(const char *name);
59EAPI int ecore_sdl_shutdown(void);
60EAPI void ecore_sdl_feed_events(void);
61
62 /* The following data structure have been deprecated since a long time */
63
44typedef struct _Ecore_Sdl_Event_Key_Down Ecore_Sdl_Event_Key_Down; 64typedef struct _Ecore_Sdl_Event_Key_Down Ecore_Sdl_Event_Key_Down;
45struct _Ecore_Sdl_Event_Key_Down /** SDL Key Down event */ 65struct _Ecore_Sdl_Event_Key_Down /** SDL Key Down event */
46{ 66{
@@ -96,17 +116,6 @@ struct _Ecore_Sdl_Event_Mouse_Wheel /** SDL Mouse Wheel event */
96 unsigned int time; 116 unsigned int time;
97}; 117};
98 118
99typedef struct _Ecore_Sdl_Event_Video_Resize Ecore_Sdl_Event_Video_Resize;
100struct _Ecore_Sdl_Event_Video_Resize
101{
102 int w;
103 int h;
104};
105
106EAPI int ecore_sdl_init(const char *name);
107EAPI int ecore_sdl_shutdown(void);
108EAPI void ecore_sdl_feed_events(void);
109
110#ifdef __cplusplus 119#ifdef __cplusplus
111} 120}
112#endif 121#endif