Ecore_Sdl.h File Reference
Ecore SDL system functions. More...
Data Structures | |
struct | _Ecore_Sdl_Event_Key_Down |
SDL Key Down event. More... | |
struct | _Ecore_Sdl_Event_Key_Up |
SDL Key Up event. More... | |
struct | _Ecore_Sdl_Event_Mouse_Button_Down |
SDL Mouse Down event. More... | |
struct | _Ecore_Sdl_Event_Mouse_Button_Up |
SDL Mouse Up event. More... | |
struct | _Ecore_Sdl_Event_Mouse_Move |
SDL Mouse Move event. More... | |
struct | _Ecore_Sdl_Event_Mouse_Wheel |
SDL Mouse Wheel event. More... | |
Functions | |
EAPI int | ecore_sdl_init (const char *name) |
Sets up the Ecore_Sdl library. | |
EAPI int | ecore_sdl_shutdown (void) |
Shuts down the Ecore_Sdl library. |
Detailed Description
Ecore SDL system functions.
Function Documentation
EAPI int ecore_sdl_init | ( | const char * | name | ) |
Sets up the Ecore_Sdl library.
- Parameters:
-
name device target name
- Returns:
0
on failure. Otherwise, the number of times the library has been initialised without being shut down.
References ecore_event_type_new().
EAPI int ecore_sdl_shutdown | ( | void | ) |
Shuts down the Ecore_Sdl library.
- Returns:
The
number of times the system has been initialised without being shut down.