\hypertarget{group__Evas__Pointer__Group}{\section{Pointer (Mouse) Functions}
\label{group__Evas__Pointer__Group}\index{Pointer (\-Mouse) Functions@{Pointer (\-Mouse) Functions}}
}


Functions that deal with the status of the pointer (mouse cursor).  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__Evas__Pointer__Group_gae8331dbdf66004e428b34da83d8ad066}{evas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get} (const \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e, int $\ast$x, int $\ast$y)
\begin{DoxyCompactList}\small\item\em This function returns the current known pointer co-\/ordinates. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Pointer__Group_gaeeae2ebda02e453dea6e46113bfbbab1}{evas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get} (const \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e, Evas\-\_\-\-Coord $\ast$x, Evas\-\_\-\-Coord $\ast$y)
\begin{DoxyCompactList}\small\item\em This function returns the current known pointer co-\/ordinates. \end{DoxyCompactList}\item 
int \hyperlink{group__Evas__Pointer__Group_gac2dd35be3649dbbc48416e477f629dc8}{evas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get} (const \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e)
\begin{DoxyCompactList}\small\item\em Returns a bitmask with the mouse buttons currently pressed, set to 1. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Evas__Pointer__Group_gacd7417cb20b1ebde3c7b7e3eaa8e0513}{evas\-\_\-pointer\-\_\-inside\-\_\-get} (const \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e)
\begin{DoxyCompactList}\small\item\em Returns whether the mouse pointer is logically inside the canvas. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Evas__Pointer__Group_ga148f6a53c9df80f3f2087c93d7fc7da8}{evas\-\_\-canvas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get}(x, y)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-E\-R\-\_\-\-O\-U\-T\-P\-U\-T\-\_\-\-X\-Y\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, y)
\item 
\#define \hyperlink{group__Evas__Pointer__Group_gab03ba7c865d7af059b9e533a40d15fb5}{evas\-\_\-canvas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get}(x, y)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-E\-R\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-X\-Y\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, y)
\item 
\#define \hyperlink{group__Evas__Pointer__Group_gafff9a9629d32cec6a010df5cc4a865f9}{evas\-\_\-canvas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get}(ret)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-E\-R\-\_\-\-B\-U\-T\-T\-O\-N\-\_\-\-D\-O\-W\-N\-\_\-\-M\-A\-S\-K\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, ret)
\item 
\#define \hyperlink{group__Evas__Pointer__Group_ga20f26ca17d1cca8157230f5c58f99860}{evas\-\_\-canvas\-\_\-pointer\-\_\-inside\-\_\-get}(ret)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-E\-R\-\_\-\-I\-N\-S\-I\-D\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} $\ast$, ret)
\item 
\#define \hyperlink{group__Evas__Pointer__Group_ga0f13c2a04182dfa6d6cd85f7dc8d2960}{evas\-\_\-canvas\-\_\-sync}()~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-Y\-N\-C)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that deal with the status of the pointer (mouse cursor). 

\subsection{Macro Definition Documentation}
\hypertarget{group__Evas__Pointer__Group_ga148f6a53c9df80f3f2087c93d7fc7da8}{\index{Pointer (\-Mouse) Functions@{Pointer (\-Mouse) Functions}!evas\-\_\-canvas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get@{evas\-\_\-canvas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get}}
\index{evas\-\_\-canvas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get@{evas\-\_\-canvas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get}!Pointer (Mouse) Functions@{Pointer (\-Mouse) Functions}}
\subsubsection[{evas\-\_\-canvas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-canvas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{x, }
\item[{}]{y}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-E\-R\-\_\-\-O\-U\-T\-P\-U\-T\-\_\-\-X\-Y\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, y)}}\label{group__Evas__Pointer__Group_ga148f6a53c9df80f3f2087c93d7fc7da8}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
This function returns the current known pointer co-\/ordinates


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em x} & \\
\hline
\mbox{\tt out}  & {\em y} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Pointer__Group_gae8331dbdf66004e428b34da83d8ad066}{evas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get().

\hypertarget{group__Evas__Pointer__Group_gab03ba7c865d7af059b9e533a40d15fb5}{\index{Pointer (\-Mouse) Functions@{Pointer (\-Mouse) Functions}!evas\-\_\-canvas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get@{evas\-\_\-canvas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get}}
\index{evas\-\_\-canvas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get@{evas\-\_\-canvas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get}!Pointer (Mouse) Functions@{Pointer (\-Mouse) Functions}}
\subsubsection[{evas\-\_\-canvas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-canvas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{x, }
\item[{}]{y}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-E\-R\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-X\-Y\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, y)}}\label{group__Evas__Pointer__Group_gab03ba7c865d7af059b9e533a40d15fb5}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
This function returns the current known pointer co-\/ordinates


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em x} & \\
\hline
\mbox{\tt out}  & {\em y} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Pointer__Group_gaeeae2ebda02e453dea6e46113bfbbab1}{evas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get().

\hypertarget{group__Evas__Pointer__Group_gafff9a9629d32cec6a010df5cc4a865f9}{\index{Pointer (\-Mouse) Functions@{Pointer (\-Mouse) Functions}!evas\-\_\-canvas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get@{evas\-\_\-canvas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get}}
\index{evas\-\_\-canvas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get@{evas\-\_\-canvas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get}!Pointer (Mouse) Functions@{Pointer (\-Mouse) Functions}}
\subsubsection[{evas\-\_\-canvas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-canvas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-E\-R\-\_\-\-B\-U\-T\-T\-O\-N\-\_\-\-D\-O\-W\-N\-\_\-\-M\-A\-S\-K\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, ret)}}\label{group__Evas__Pointer__Group_gafff9a9629d32cec6a010df5cc4a865f9}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Returns a bitmask with the mouse buttons currently pressed, set to 1


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Pointer__Group_gac2dd35be3649dbbc48416e477f629dc8}{evas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get().

\hypertarget{group__Evas__Pointer__Group_ga20f26ca17d1cca8157230f5c58f99860}{\index{Pointer (\-Mouse) Functions@{Pointer (\-Mouse) Functions}!evas\-\_\-canvas\-\_\-pointer\-\_\-inside\-\_\-get@{evas\-\_\-canvas\-\_\-pointer\-\_\-inside\-\_\-get}}
\index{evas\-\_\-canvas\-\_\-pointer\-\_\-inside\-\_\-get@{evas\-\_\-canvas\-\_\-pointer\-\_\-inside\-\_\-get}!Pointer (Mouse) Functions@{Pointer (\-Mouse) Functions}}
\subsubsection[{evas\-\_\-canvas\-\_\-pointer\-\_\-inside\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-canvas\-\_\-pointer\-\_\-inside\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-E\-R\-\_\-\-I\-N\-S\-I\-D\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Eina\-\_\-\-Bool} $\ast$, ret)}}\label{group__Evas__Pointer__Group_ga20f26ca17d1cca8157230f5c58f99860}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Returns whether the mouse pointer is logically inside the canvas


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Pointer__Group_gacd7417cb20b1ebde3c7b7e3eaa8e0513}{evas\-\_\-pointer\-\_\-inside\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-pointer\-\_\-inside\-\_\-get().

\hypertarget{group__Evas__Pointer__Group_ga0f13c2a04182dfa6d6cd85f7dc8d2960}{\index{Pointer (\-Mouse) Functions@{Pointer (\-Mouse) Functions}!evas\-\_\-canvas\-\_\-sync@{evas\-\_\-canvas\-\_\-sync}}
\index{evas\-\_\-canvas\-\_\-sync@{evas\-\_\-canvas\-\_\-sync}!Pointer (Mouse) Functions@{Pointer (\-Mouse) Functions}}
\subsubsection[{evas\-\_\-canvas\-\_\-sync}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-canvas\-\_\-sync(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-Y\-N\-C)}}\label{group__Evas__Pointer__Group_ga0f13c2a04182dfa6d6cd85f7dc8d2960}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
No description supplied by the E\-A\-P\-I. 

\subsection{Function Documentation}
\hypertarget{group__Evas__Pointer__Group_gae8331dbdf66004e428b34da83d8ad066}{\index{Pointer (\-Mouse) Functions@{Pointer (\-Mouse) Functions}!evas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get@{evas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get}}
\index{evas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get@{evas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get}!Pointer (Mouse) Functions@{Pointer (\-Mouse) Functions}}
\subsubsection[{evas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas} $\ast$}]{e, }
\item[{int $\ast$}]{x, }
\item[{int $\ast$}]{y}
\end{DoxyParamCaption}
)}}\label{group__Evas__Pointer__Group_gae8331dbdf66004e428b34da83d8ad066}


This function returns the current known pointer co-\/ordinates. 


\begin{DoxyParams}{Parameters}
{\em e} & The pointer to the Evas Canvas \\
\hline
{\em x} & The pointer to an integer to be filled in \\
\hline
{\em y} & The pointer to an integer to be filled in\\
\hline
\end{DoxyParams}
This function returns the current known screen/output co-\/ordinates of the mouse pointer and sets the contents of the integers pointed to by {\ttfamily x} and {\ttfamily y} to contain these co-\/ordinates. If {\ttfamily e} is not a valid canvas the results of this function are undefined.

Example\-: 
\begin{DoxyCode}
\textcolor{keyword}{extern} \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} *evas;
\textcolor{keywordtype}{int} mouse\_x, mouse\_y;

\hyperlink{group__Evas__Pointer__Group_gae8331dbdf66004e428b34da83d8ad066}{evas\_pointer\_output\_xy\_get}(evas, &mouse\_x, &mouse\_y);
printf(\textcolor{stringliteral}{"Mouse is at screen position %i, %i\(\backslash\)n"}, mouse\_x, mouse\_y);
\end{DoxyCode}
 

References evas\-\_\-canvas\-\_\-pointer\-\_\-output\-\_\-xy\-\_\-get.

\hypertarget{group__Evas__Pointer__Group_gaeeae2ebda02e453dea6e46113bfbbab1}{\index{Pointer (\-Mouse) Functions@{Pointer (\-Mouse) Functions}!evas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get@{evas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get}}
\index{evas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get@{evas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get}!Pointer (Mouse) Functions@{Pointer (\-Mouse) Functions}}
\subsubsection[{evas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas} $\ast$}]{e, }
\item[{Evas\-\_\-\-Coord $\ast$}]{x, }
\item[{Evas\-\_\-\-Coord $\ast$}]{y}
\end{DoxyParamCaption}
)}}\label{group__Evas__Pointer__Group_gaeeae2ebda02e453dea6e46113bfbbab1}


This function returns the current known pointer co-\/ordinates. 


\begin{DoxyParams}{Parameters}
{\em e} & The pointer to the Evas Canvas \\
\hline
{\em x} & The pointer to a Evas\-\_\-\-Coord to be filled in \\
\hline
{\em y} & The pointer to a Evas\-\_\-\-Coord to be filled in\\
\hline
\end{DoxyParams}
This function returns the current known canvas unit co-\/ordinates of the mouse pointer and sets the contents of the Evas\-\_\-\-Coords pointed to by {\ttfamily x} and {\ttfamily y} to contain these co-\/ordinates. If {\ttfamily e} is not a valid canvas the results of this function are undefined.

Example\-: 
\begin{DoxyCode}
\textcolor{keyword}{extern} \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} *evas;
Evas\_Coord mouse\_x, mouse\_y;

\hyperlink{group__Evas__Pointer__Group_gae8331dbdf66004e428b34da83d8ad066}{evas\_pointer\_output\_xy\_get}(evas, &mouse\_x, &mouse\_y);
printf(\textcolor{stringliteral}{"Mouse is at canvas position %d, %d\(\backslash\)n"}, mouse\_x, mouse\_y);
\end{DoxyCode}
 

References evas\-\_\-canvas\-\_\-pointer\-\_\-canvas\-\_\-xy\-\_\-get.

\hypertarget{group__Evas__Pointer__Group_gac2dd35be3649dbbc48416e477f629dc8}{\index{Pointer (\-Mouse) Functions@{Pointer (\-Mouse) Functions}!evas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get@{evas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get}}
\index{evas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get@{evas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get}!Pointer (Mouse) Functions@{Pointer (\-Mouse) Functions}}
\subsubsection[{evas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}int evas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas} $\ast$}]{e}
\end{DoxyParamCaption}
)}}\label{group__Evas__Pointer__Group_gac2dd35be3649dbbc48416e477f629dc8}


Returns a bitmask with the mouse buttons currently pressed, set to 1. 


\begin{DoxyParams}{Parameters}
{\em e} & The pointer to the Evas Canvas \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A bitmask of the currently depressed buttons on the canvas
\end{DoxyReturn}
Calling this function will return a 32-\/bit integer with the appropriate bits set to 1 that correspond to a mouse button being depressed. This limits Evas to a mouse devices with a maximum of 32 buttons, but that is generally in excess of any host system's pointing device abilities.

A canvas by default begins with no mouse buttons being pressed and only calls to \hyperlink{group__Evas__Event__Feeding__Group_ga346d0b3da606d411b6acfa5ee0b8c94d}{evas\-\_\-event\-\_\-feed\-\_\-mouse\-\_\-down()}, evas\-\_\-event\-\_\-feed\-\_\-mouse\-\_\-down\-\_\-data(), \hyperlink{group__Evas__Event__Feeding__Group_ga0d54778a707f79dd5b8ecf039ecde92e}{evas\-\_\-event\-\_\-feed\-\_\-mouse\-\_\-up()} and evas\-\_\-event\-\_\-feed\-\_\-mouse\-\_\-up\-\_\-data() will alter that.

The least significant bit corresponds to the first mouse button (button 1) and the most significant bit corresponds to the last mouse button (button 32).

If {\ttfamily e} is not a valid canvas, the return value is undefined.

Example\-: 
\begin{DoxyCode}
\textcolor{keyword}{extern} \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} *evas;
\textcolor{keywordtype}{int} button\_mask, i;

button\_mask = \hyperlink{group__Evas__Pointer__Group_gac2dd35be3649dbbc48416e477f629dc8}{evas\_pointer\_button\_down\_mask\_get}(evas);
printf(\textcolor{stringliteral}{"Buttons currently pressed:\(\backslash\)n"});
\textcolor{keywordflow}{for} (i = 0; i < 32; i++)
  \{
    \textcolor{keywordflow}{if} ((button\_mask & (1 << i)) != 0) printf(\textcolor{stringliteral}{"Button %i\(\backslash\)n"}, i + 1);
  \}
\end{DoxyCode}
 

References evas\-\_\-canvas\-\_\-pointer\-\_\-button\-\_\-down\-\_\-mask\-\_\-get.

\hypertarget{group__Evas__Pointer__Group_gacd7417cb20b1ebde3c7b7e3eaa8e0513}{\index{Pointer (\-Mouse) Functions@{Pointer (\-Mouse) Functions}!evas\-\_\-pointer\-\_\-inside\-\_\-get@{evas\-\_\-pointer\-\_\-inside\-\_\-get}}
\index{evas\-\_\-pointer\-\_\-inside\-\_\-get@{evas\-\_\-pointer\-\_\-inside\-\_\-get}!Pointer (Mouse) Functions@{Pointer (\-Mouse) Functions}}
\subsubsection[{evas\-\_\-pointer\-\_\-inside\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Bool} evas\-\_\-pointer\-\_\-inside\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas} $\ast$}]{e}
\end{DoxyParamCaption}
)}}\label{group__Evas__Pointer__Group_gacd7417cb20b1ebde3c7b7e3eaa8e0513}


Returns whether the mouse pointer is logically inside the canvas. 


\begin{DoxyParams}{Parameters}
{\em e} & The pointer to the Evas Canvas \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An integer that is 1 if the mouse is inside the canvas, 0 otherwise
\end{DoxyReturn}
When this function is called it will return a value of either 0 or 1, depending on if \hyperlink{group__Evas__Event__Feeding__Group_gaab96617e1f8ccdbd461d4462e0836b19}{evas\-\_\-event\-\_\-feed\-\_\-mouse\-\_\-in()}, evas\-\_\-event\-\_\-feed\-\_\-mouse\-\_\-in\-\_\-data(), or \hyperlink{group__Evas__Event__Feeding__Group_gab18d3f5f56e75d463ee567220a25c06d}{evas\-\_\-event\-\_\-feed\-\_\-mouse\-\_\-out()}, evas\-\_\-event\-\_\-feed\-\_\-mouse\-\_\-out\-\_\-data() have been called to feed in a mouse enter event into the canvas.

A return value of 1 indicates the mouse is logically inside the canvas, and 0 implies it is logically outside the canvas.

A canvas begins with the mouse being assumed outside (0).

If {\ttfamily e} is not a valid canvas, the return value is undefined.

Example\-: 
\begin{DoxyCode}
\textcolor{keyword}{extern} \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} *evas;

\textcolor{keywordflow}{if} (\hyperlink{group__Evas__Pointer__Group_gacd7417cb20b1ebde3c7b7e3eaa8e0513}{evas\_pointer\_inside\_get}(evas)) printf(\textcolor{stringliteral}{"Mouse is in!\(\backslash\)n"});
\textcolor{keywordflow}{else} printf(\textcolor{stringliteral}{"Mouse is out!\(\backslash\)n"});
\end{DoxyCode}
 

References E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E, and evas\-\_\-canvas\-\_\-pointer\-\_\-inside\-\_\-get.

