Ecore_Sdl.h(3)

NAME
Ecore_Sdl.h - Ecore SDL system functions.

SYNOPSIS

  Data Structures
struct _Ecore_Sdl_Event_Video_Resize
struct _Ecore_Sdl_Event_Window
struct _Ecore_Sdl_Event_Key_Down
SDL Key Down event.
struct _Ecore_Sdl_Event_Key_Up
SDL Key Up event.
struct _Ecore_Sdl_Event_Mouse_Button_Down
SDL Mouse Down event.
struct _Ecore_Sdl_Event_Mouse_Button_Up
SDL Mouse Up event.
struct _Ecore_Sdl_Event_Mouse_Move
SDL Mouse Move event.
struct _Ecore_Sdl_Event_Mouse_Wheel
SDL Mouse Wheel event.

  Typedefs
typedef struct _Ecore_Sdl_Event_Video_Resize Ecore_Sdl_Event_Video_Resize
typedef struct _Ecore_Sdl_Event_Window Ecore_Sdl_Event_Window
typedef struct _Ecore_Sdl_Event_Key_Down Ecore_Sdl_Event_Key_Down
typedef struct _Ecore_Sdl_Event_Key_Up Ecore_Sdl_Event_Key_Up
typedef struct _Ecore_Sdl_Event_Mouse_Button_Down Ecore_Sdl_Event_Mouse_Button_Down
typedef struct _Ecore_Sdl_Event_Mouse_Button_Up Ecore_Sdl_Event_Mouse_Button_Up
typedef struct _Ecore_Sdl_Event_Mouse_Move Ecore_Sdl_Event_Mouse_Move
typedef struct _Ecore_Sdl_Event_Mouse_Wheel Ecore_Sdl_Event_Mouse_Wheel

  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.
EAPI void ecore_sdl_feed_events (void)
Poll SDL for mouse, keyboard, and window events, and add corresponding events to ecore.

  Variables
EAPI int ECORE_SDL_EVENT_GOT_FOCUS
EAPI int ECORE_SDL_EVENT_LOST_FOCUS
EAPI int ECORE_SDL_EVENT_RESIZE
EAPI int ECORE_SDL_EVENT_EXPOSE

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_init(), eina_log_domain_register(), and EINA_LOG_ERR.

  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.

References ecore_event_type_flush.

Author

Generated automatically by Doxygen for EFL from the source code.