\hypertarget{Ecore__Sdl_8h}{}\doxysection{Ecore\+\_\+\+Sdl.\+h File Reference}
\label{Ecore__Sdl_8h}\index{Ecore\_Sdl.h@{Ecore\_Sdl.h}}


Ecore SDL system functions.  


\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Video__Resize}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Video\+\_\+\+Resize}}
\item 
struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Window}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Window}}
\item 
struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Key__Down}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Key\+\_\+\+Down}}
\begin{DoxyCompactList}\small\item\em SDL Key Down event. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Key__Up}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Key\+\_\+\+Up}}
\begin{DoxyCompactList}\small\item\em SDL Key Up event. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Mouse__Button__Down}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Down}}
\begin{DoxyCompactList}\small\item\em SDL Mouse Down event. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Mouse__Button__Up}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Up}}
\begin{DoxyCompactList}\small\item\em SDL Mouse Up event. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Mouse__Move}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Move}}
\begin{DoxyCompactList}\small\item\em SDL Mouse Move event. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Mouse__Wheel}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Wheel}}
\begin{DoxyCompactList}\small\item\em SDL Mouse Wheel event. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_a95adb192193b4ad53ac8478b45ef3858}\label{Ecore__Sdl_8h_a95adb192193b4ad53ac8478b45ef3858}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Video__Resize}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Video\+\_\+\+Resize}} {\bfseries Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Video\+\_\+\+Resize}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_ac8b7f2202f39c84795c84d7c77429971}\label{Ecore__Sdl_8h_ac8b7f2202f39c84795c84d7c77429971}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Window}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Window}} {\bfseries Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Window}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_aaa98deddd6b1aaae59280e3b47ff6c32}\label{Ecore__Sdl_8h_aaa98deddd6b1aaae59280e3b47ff6c32}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Key__Down}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Key\+\_\+\+Down}} {\bfseries Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Key\+\_\+\+Down}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_aa0b0b971451186f3bf3820bd5c4e7977}\label{Ecore__Sdl_8h_aa0b0b971451186f3bf3820bd5c4e7977}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Key__Up}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Key\+\_\+\+Up}} {\bfseries Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Key\+\_\+\+Up}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_a2c926d01a9ba0869d6e5660644bc322b}\label{Ecore__Sdl_8h_a2c926d01a9ba0869d6e5660644bc322b}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Mouse__Button__Down}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Down}} {\bfseries Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Down}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_a19e0e1c8f81423872202cf57dbe93820}\label{Ecore__Sdl_8h_a19e0e1c8f81423872202cf57dbe93820}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Mouse__Button__Up}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Up}} {\bfseries Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Up}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_ae5a1ea0247cc903702aab94a0d601d26}\label{Ecore__Sdl_8h_ae5a1ea0247cc903702aab94a0d601d26}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Mouse__Move}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Move}} {\bfseries Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Move}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_af37f948dbef261f645e9f14e01ce7133}\label{Ecore__Sdl_8h_af37f948dbef261f645e9f14e01ce7133}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Sdl__Event__Mouse__Wheel}{\+\_\+\+Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Wheel}} {\bfseries Ecore\+\_\+\+Sdl\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Wheel}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EAPI int \mbox{\hyperlink{Ecore__Sdl_8h_aee685db146c11d420fca59f450de2d5d}{ecore\+\_\+sdl\+\_\+init}} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Sets up the Ecore\+\_\+\+Sdl library. \end{DoxyCompactList}\item 
EAPI int \mbox{\hyperlink{Ecore__Sdl_8h_a6a31db6514bd146443a57ecbf0e5965f}{ecore\+\_\+sdl\+\_\+shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Shuts down the Ecore\+\_\+\+Sdl library. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_a02070a2ecd3d48bc86b3d9db410521ed}\label{Ecore__Sdl_8h_a02070a2ecd3d48bc86b3d9db410521ed}} 
EAPI void {\bfseries ecore\+\_\+sdl\+\_\+feed\+\_\+events} (void)
\begin{DoxyCompactList}\small\item\em Poll SDL for mouse, keyboard, and window events, and add corresponding events to ecore. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_a8ea0b314987cf424713ac99a72799273}\label{Ecore__Sdl_8h_a8ea0b314987cf424713ac99a72799273}} 
EAPI int {\bfseries ECORE\+\_\+\+SDL\+\_\+\+EVENT\+\_\+\+GOT\+\_\+\+FOCUS}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_a676583107b33db7ee6de12646f838cd6}\label{Ecore__Sdl_8h_a676583107b33db7ee6de12646f838cd6}} 
EAPI int {\bfseries ECORE\+\_\+\+SDL\+\_\+\+EVENT\+\_\+\+LOST\+\_\+\+FOCUS}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_adf2ff22d3b841dfce98979a3508c5435}\label{Ecore__Sdl_8h_adf2ff22d3b841dfce98979a3508c5435}} 
EAPI int {\bfseries ECORE\+\_\+\+SDL\+\_\+\+EVENT\+\_\+\+RESIZE}
\item 
\mbox{\Hypertarget{Ecore__Sdl_8h_a6d5c9f716071818b3ed11bbfcd09fea5}\label{Ecore__Sdl_8h_a6d5c9f716071818b3ed11bbfcd09fea5}} 
EAPI int {\bfseries ECORE\+\_\+\+SDL\+\_\+\+EVENT\+\_\+\+EXPOSE}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Ecore SDL system functions. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{Ecore__Sdl_8h_aee685db146c11d420fca59f450de2d5d}\label{Ecore__Sdl_8h_aee685db146c11d420fca59f450de2d5d}} 
\index{Ecore\_Sdl.h@{Ecore\_Sdl.h}!ecore\_sdl\_init@{ecore\_sdl\_init}}
\index{ecore\_sdl\_init@{ecore\_sdl\_init}!Ecore\_Sdl.h@{Ecore\_Sdl.h}}
\doxysubsubsection{\texorpdfstring{ecore\_sdl\_init()}{ecore\_sdl\_init()}}
{\footnotesize\ttfamily EAPI int ecore\+\_\+sdl\+\_\+init (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Sets up the Ecore\+\_\+\+Sdl library. 


\begin{DoxyParams}{Parameters}
{\em name} & device target name \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily 0} on failure. Otherwise, the number of times the library has been initialised without being shut down. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Ecore__Input__Group_gac7674e92b0aa4d30a9f6ebb7a7ce11d6}{ecore\+\_\+event\+\_\+init()}}, \mbox{\hyperlink{group__Ecore__Event__Group_ga3fad8d8bfe3776c69d33aff1f056ba89}{ecore\+\_\+event\+\_\+type\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga79d0a42ab10dd0e7760b33ae33a6aae0}{eina\+\_\+log\+\_\+domain\+\_\+register()}}, and \mbox{\hyperlink{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}{EINA\+\_\+\+LOG\+\_\+\+ERR}}.

\mbox{\Hypertarget{Ecore__Sdl_8h_a6a31db6514bd146443a57ecbf0e5965f}\label{Ecore__Sdl_8h_a6a31db6514bd146443a57ecbf0e5965f}} 
\index{Ecore\_Sdl.h@{Ecore\_Sdl.h}!ecore\_sdl\_shutdown@{ecore\_sdl\_shutdown}}
\index{ecore\_sdl\_shutdown@{ecore\_sdl\_shutdown}!Ecore\_Sdl.h@{Ecore\_Sdl.h}}
\doxysubsubsection{\texorpdfstring{ecore\_sdl\_shutdown()}{ecore\_sdl\_shutdown()}}
{\footnotesize\ttfamily EAPI int ecore\+\_\+sdl\+\_\+shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shuts down the Ecore\+\_\+\+Sdl library. 

\begin{DoxyReturn}{Returns}
{\ttfamily The} number of times the system has been initialised without being shut down. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Ecore__Input__Group_gaaa308222199debcf043cea92a1b9211e}{ecore\+\_\+event\+\_\+shutdown()}}, \mbox{\hyperlink{group__Ecore__Event__Group_gab7200780b0a2b7fca55f36a90119f0ce}{ecore\+\_\+event\+\_\+type\+\_\+flush}}, and \mbox{\hyperlink{group__Eina__Log__Group_ga61776fa99e910e2d40f77c688c9bee5a}{eina\+\_\+log\+\_\+domain\+\_\+unregister()}}.

