\hypertarget{group__Elm__Fingers}{}\section{Fingers}
\label{group__Elm__Fingers}\index{Fingers@{Fingers}}


Elementary is designed to be finger-\/friendly for touchscreens, and so in addition to scaling for display resolution, it can also scale based on finger \char`\"{}resolution\char`\"{} (or size).  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} \mbox{\hyperlink{group__Elm__Fingers_ga5109aa355ff041c3e54210804aa620f4}{elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get the configured \char`\"{}finger size\char`\"{}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Fingers_gac22657c1e98628b4acde0461a0689577}{elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+set}} (\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} size)
\begin{DoxyCompactList}\small\item\em Set the configured finger size. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Fingers_ga8f3d184c70fc9c2eb18fb0a78cc9df93}{elm\+\_\+coords\+\_\+finger\+\_\+size\+\_\+adjust}} (int times\+\_\+w, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$w, int times\+\_\+h, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$h)
\begin{DoxyCompactList}\small\item\em Adjust size of an element for finger usage. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Elementary is designed to be finger-\/friendly for touchscreens, and so in addition to scaling for display resolution, it can also scale based on finger \char`\"{}resolution\char`\"{} (or size). 

You can then customize the granularity of the areas meant to receive clicks on touchscreens.

Different profiles may have pre-\/set values for finger sizes.

This example contemplates some of these functions. 

\subsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Fingers_ga5109aa355ff041c3e54210804aa620f4}\label{group__Elm__Fingers_ga5109aa355ff041c3e54210804aa620f4}} 
\index{Fingers@{Fingers}!elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+get@{elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+get}}
\index{elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+get@{elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+get}!Fingers@{Fingers}}
\subsubsection{\texorpdfstring{elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+get()}{elm\_config\_finger\_size\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the configured \char`\"{}finger size\char`\"{}. 

\begin{DoxyReturn}{Returns}
The finger size
\end{DoxyReturn}
This gets the globally configured finger size, {\bfseries in pixels} 

Referenced by elm\+\_\+coords\+\_\+finger\+\_\+size\+\_\+adjust().

\mbox{\Hypertarget{group__Elm__Fingers_gac22657c1e98628b4acde0461a0689577}\label{group__Elm__Fingers_gac22657c1e98628b4acde0461a0689577}} 
\index{Fingers@{Fingers}!elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+set@{elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+set}}
\index{elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+set@{elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+set}!Fingers@{Fingers}}
\subsubsection{\texorpdfstring{elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+set()}{elm\_config\_finger\_size\_set()}}
{\footnotesize\ttfamily void elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}}]{size }\end{DoxyParamCaption})}



Set the configured finger size. 

This sets the globally configured finger size in pixels


\begin{DoxyParams}{Parameters}
{\em size} & The finger size \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Elm__Fingers_ga8f3d184c70fc9c2eb18fb0a78cc9df93}\label{group__Elm__Fingers_ga8f3d184c70fc9c2eb18fb0a78cc9df93}} 
\index{Fingers@{Fingers}!elm\+\_\+coords\+\_\+finger\+\_\+size\+\_\+adjust@{elm\+\_\+coords\+\_\+finger\+\_\+size\+\_\+adjust}}
\index{elm\+\_\+coords\+\_\+finger\+\_\+size\+\_\+adjust@{elm\+\_\+coords\+\_\+finger\+\_\+size\+\_\+adjust}!Fingers@{Fingers}}
\subsubsection{\texorpdfstring{elm\+\_\+coords\+\_\+finger\+\_\+size\+\_\+adjust()}{elm\_coords\_finger\_size\_adjust()}}
{\footnotesize\ttfamily void elm\+\_\+coords\+\_\+finger\+\_\+size\+\_\+adjust (\begin{DoxyParamCaption}\item[{int}]{times\+\_\+w,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$}]{w,  }\item[{int}]{times\+\_\+h,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} $\ast$}]{h }\end{DoxyParamCaption})}



Adjust size of an element for finger usage. 


\begin{DoxyParams}{Parameters}
{\em times\+\_\+w} & How many fingers should fit horizontally \\
\hline
{\em w} & Pointer to the width size to adjust \\
\hline
{\em times\+\_\+h} & How many fingers should fit vertically \\
\hline
{\em h} & Pointer to the height size to adjust\\
\hline
\end{DoxyParams}
This takes width and height sizes (in pixels) as input and a size multiple (which is how many fingers you want to place within the area, being \char`\"{}finger\char`\"{} the size set by \mbox{\hyperlink{group__Elm__Fingers_gac22657c1e98628b4acde0461a0689577}{elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+set()}}), and adjusts the size to be large enough to accommodate the resulting size -- if it doesn\textquotesingle{}t already accommodate it. On return the {\ttfamily w} and {\ttfamily h} sizes pointed to by these parameters will be modified, on those conditions.

\begin{DoxyNote}{Note}
This is kind of low level Elementary call, most useful on size evaluation times for widgets. An external user wouldn\textquotesingle{}t be calling, most of the time. 
\end{DoxyNote}


References elm\+\_\+config\+\_\+finger\+\_\+size\+\_\+get().

