\hypertarget{Ecore__Psl1ght_8h}{\section{Ecore\+\_\+\+Psl1ght.\+h File Reference}
\label{Ecore__Psl1ght_8h}\index{Ecore\+\_\+\+Psl1ght.\+h@{Ecore\+\_\+\+Psl1ght.\+h}}
}


Ecore P\+S\+L1\+G\+H\+T system functions.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Ecore__Psl1ght__Event__Key__Modifiers}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Key\+\_\+\+Modifiers}
\begin{DoxyCompactList}\small\item\em P\+S\+L1\+G\+H\+T Key Modifier event. \end{DoxyCompactList}\item 
struct \hyperlink{struct__Ecore__Psl1ght__Event__Key__Down}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Key\+\_\+\+Down}
\begin{DoxyCompactList}\small\item\em P\+S\+L1\+G\+H\+T Key Down event. \end{DoxyCompactList}\item 
struct \hyperlink{struct__Ecore__Psl1ght__Event__Key__Up}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Key\+\_\+\+Up}
\begin{DoxyCompactList}\small\item\em P\+S\+L1\+G\+H\+T Key Up event. \end{DoxyCompactList}\item 
struct \hyperlink{struct__Ecore__Psl1ght__Event__Mouse__Button__Down}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Down}
\begin{DoxyCompactList}\small\item\em P\+S\+L1\+G\+H\+T Mouse Down event. \end{DoxyCompactList}\item 
struct \hyperlink{struct__Ecore__Psl1ght__Event__Mouse__Button__Up}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Up}
\begin{DoxyCompactList}\small\item\em P\+S\+L1\+G\+H\+T Mouse Up event. \end{DoxyCompactList}\item 
struct \hyperlink{struct__Ecore__Psl1ght__Event__Mouse__Move}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Move}
\begin{DoxyCompactList}\small\item\em P\+S\+L1\+G\+H\+T Mouse Move event. \end{DoxyCompactList}\item 
struct \hyperlink{struct__Ecore__Psl1ght__Event__Mouse__Wheel}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Wheel}
\begin{DoxyCompactList}\small\item\em P\+S\+L1\+G\+H\+T Mouse Wheel event. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{Ecore__Psl1ght_8h_a5df2274ce8e05329722cd63d04c0c30c}{typedef struct \\*
\hyperlink{struct__Ecore__Psl1ght__Event__Key__Modifiers}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Key\+\_\+\+Modifiers} {\bfseries Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Key\+\_\+\+Modifiers}}\label{Ecore__Psl1ght_8h_a5df2274ce8e05329722cd63d04c0c30c}

\item 
\hypertarget{Ecore__Psl1ght_8h_abd7a5e2a759acd1de370d29e082d61c6}{typedef struct \\*
\hyperlink{struct__Ecore__Psl1ght__Event__Key__Down}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Key\+\_\+\+Down} {\bfseries Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Key\+\_\+\+Down}}\label{Ecore__Psl1ght_8h_abd7a5e2a759acd1de370d29e082d61c6}

\item 
\hypertarget{Ecore__Psl1ght_8h_a1aff3afdcd9d641ba78bd216ba414ffc}{typedef struct \\*
\hyperlink{struct__Ecore__Psl1ght__Event__Key__Up}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Key\+\_\+\+Up} {\bfseries Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Key\+\_\+\+Up}}\label{Ecore__Psl1ght_8h_a1aff3afdcd9d641ba78bd216ba414ffc}

\item 
\hypertarget{Ecore__Psl1ght_8h_ae112322b12df88077cc0d8693be48375}{typedef struct \\*
\hyperlink{struct__Ecore__Psl1ght__Event__Mouse__Button__Down}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Down} {\bfseries Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Down}}\label{Ecore__Psl1ght_8h_ae112322b12df88077cc0d8693be48375}

\item 
\hypertarget{Ecore__Psl1ght_8h_ac00a128365e68f2398fb801f5382d941}{typedef struct \\*
\hyperlink{struct__Ecore__Psl1ght__Event__Mouse__Button__Up}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Up} {\bfseries Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Button\+\_\+\+Up}}\label{Ecore__Psl1ght_8h_ac00a128365e68f2398fb801f5382d941}

\item 
\hypertarget{Ecore__Psl1ght_8h_aefc3dd3ba2a20fef66ff70ad667da0e4}{typedef struct \\*
\hyperlink{struct__Ecore__Psl1ght__Event__Mouse__Move}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Move} {\bfseries Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Move}}\label{Ecore__Psl1ght_8h_aefc3dd3ba2a20fef66ff70ad667da0e4}

\item 
\hypertarget{Ecore__Psl1ght_8h_a59f36ac934c883b5598cbf65d061b7db}{typedef struct \\*
\hyperlink{struct__Ecore__Psl1ght__Event__Mouse__Wheel}{\+\_\+\+Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Wheel} {\bfseries Ecore\+\_\+\+Psl1ght\+\_\+\+Event\+\_\+\+Mouse\+\_\+\+Wheel}}\label{Ecore__Psl1ght_8h_a59f36ac934c883b5598cbf65d061b7db}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{Ecore__Psl1ght_8h_ad36e144208bfcea485ff1eb1eea153a7}{ecore\+\_\+psl1ght\+\_\+init} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Sets up the Ecore\+\_\+\+Psl1ght library. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{Ecore__Psl1ght_8h_a5c9a6a993bb9bcbc472bfd6f8a2adb8c}{ecore\+\_\+psl1ght\+\_\+shutdown} (void)
\begin{DoxyCompactList}\small\item\em Shuts down the Ecore\+\_\+\+Psl1ght library. \end{DoxyCompactList}\item 
\hypertarget{Ecore__Psl1ght_8h_a8faf823226a6061c6ca7f9bdd00bffd2}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void {\bfseries ecore\+\_\+psl1ght\+\_\+resolution\+\_\+set} (int width, int height)}\label{Ecore__Psl1ght_8h_a8faf823226a6061c6ca7f9bdd00bffd2}

\item 
\hypertarget{Ecore__Psl1ght_8h_a0aa8c7686f196ded4c622bc71db13208}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void {\bfseries ecore\+\_\+psl1ght\+\_\+poll\+\_\+events} (void)}\label{Ecore__Psl1ght_8h_a0aa8c7686f196ded4c622bc71db13208}

\item 
\hypertarget{Ecore__Psl1ght_8h_aaae1019b86da33b1319eef239af528ca}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void {\bfseries ecore\+\_\+psl1ght\+\_\+screen\+\_\+resolution\+\_\+get} (int $\ast$w, int $\ast$h)}\label{Ecore__Psl1ght_8h_aaae1019b86da33b1319eef239af528ca}

\item 
\hypertarget{Ecore__Psl1ght_8h_a810964f1c75cd182d61025d70bef0384}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void {\bfseries ecore\+\_\+psl1ght\+\_\+optimal\+\_\+screen\+\_\+resolution\+\_\+get} (int $\ast$w, int $\ast$h)}\label{Ecore__Psl1ght_8h_a810964f1c75cd182d61025d70bef0384}

\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{Ecore__Psl1ght_8h_a3e53ada0c837fa7cca6019bee7fdb9fa}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+C\+O\+R\+E\+\_\+\+P\+S\+L1\+G\+H\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+K\+E\+Y\+\_\+\+M\+O\+D\+I\+F\+I\+E\+R\+S}}\label{Ecore__Psl1ght_8h_a3e53ada0c837fa7cca6019bee7fdb9fa}

\item 
\hypertarget{Ecore__Psl1ght_8h_a0e15342259dce57a17c714a370cae4d7}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+C\+O\+R\+E\+\_\+\+P\+S\+L1\+G\+H\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+G\+O\+T\+\_\+\+F\+O\+C\+U\+S}}\label{Ecore__Psl1ght_8h_a0e15342259dce57a17c714a370cae4d7}

\item 
\hypertarget{Ecore__Psl1ght_8h_ac820d353ccb023058953203a0c9e404d}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+C\+O\+R\+E\+\_\+\+P\+S\+L1\+G\+H\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+L\+O\+S\+T\+\_\+\+F\+O\+C\+U\+S}}\label{Ecore__Psl1ght_8h_ac820d353ccb023058953203a0c9e404d}

\item 
\hypertarget{Ecore__Psl1ght_8h_a5dcd026ce0dcadb1fb11ff3e5b05c68d}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+C\+O\+R\+E\+\_\+\+P\+S\+L1\+G\+H\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+X\+P\+O\+S\+E}}\label{Ecore__Psl1ght_8h_a5dcd026ce0dcadb1fb11ff3e5b05c68d}

\item 
\hypertarget{Ecore__Psl1ght_8h_af4f912df537eb0f9358c073b27961729}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+C\+O\+R\+E\+\_\+\+P\+S\+L1\+G\+H\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+Q\+U\+I\+T}}\label{Ecore__Psl1ght_8h_af4f912df537eb0f9358c073b27961729}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ecore P\+S\+L1\+G\+H\+T system functions. 



\subsection{Function Documentation}
\hypertarget{Ecore__Psl1ght_8h_ad36e144208bfcea485ff1eb1eea153a7}{\index{Ecore\+\_\+\+Psl1ght.\+h@{Ecore\+\_\+\+Psl1ght.\+h}!ecore\+\_\+psl1ght\+\_\+init@{ecore\+\_\+psl1ght\+\_\+init}}
\index{ecore\+\_\+psl1ght\+\_\+init@{ecore\+\_\+psl1ght\+\_\+init}!Ecore\+\_\+\+Psl1ght.\+h@{Ecore\+\_\+\+Psl1ght.\+h}}
\subsubsection[{ecore\+\_\+psl1ght\+\_\+init}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ecore\+\_\+psl1ght\+\_\+init (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}\label{Ecore__Psl1ght_8h_ad36e144208bfcea485ff1eb1eea153a7}


Sets up the Ecore\+\_\+\+Psl1ght 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 ecore\+\_\+event\+\_\+init(), ecore\+\_\+event\+\_\+shutdown(), ecore\+\_\+event\+\_\+type\+\_\+new(), eina\+\_\+log\+\_\+domain\+\_\+register(), eina\+\_\+log\+\_\+domain\+\_\+unregister(), and E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+E\+R\+R.

\hypertarget{Ecore__Psl1ght_8h_a5c9a6a993bb9bcbc472bfd6f8a2adb8c}{\index{Ecore\+\_\+\+Psl1ght.\+h@{Ecore\+\_\+\+Psl1ght.\+h}!ecore\+\_\+psl1ght\+\_\+shutdown@{ecore\+\_\+psl1ght\+\_\+shutdown}}
\index{ecore\+\_\+psl1ght\+\_\+shutdown@{ecore\+\_\+psl1ght\+\_\+shutdown}!Ecore\+\_\+\+Psl1ght.\+h@{Ecore\+\_\+\+Psl1ght.\+h}}
\subsubsection[{ecore\+\_\+psl1ght\+\_\+shutdown}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ecore\+\_\+psl1ght\+\_\+shutdown (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{Ecore__Psl1ght_8h_a5c9a6a993bb9bcbc472bfd6f8a2adb8c}


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

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


References ecore\+\_\+event\+\_\+shutdown(), and eina\+\_\+log\+\_\+domain\+\_\+unregister().

