\section{Fingers}
\label{group__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 
Evas\-\_\-\-Coord \hyperlink{group__Fingers_ga5109aa355ff041c3e54210804aa620f4}{elm\-\_\-config\-\_\-finger\-\_\-size\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get the configured \char`\"{}finger size\char`\"{}. \end{DoxyCompactList}\item 
void \hyperlink{group__Fingers_gac22657c1e98628b4acde0461a0689577}{elm\-\_\-config\-\_\-finger\-\_\-size\-\_\-set} (Evas\-\_\-\-Coord size)
\begin{DoxyCompactList}\small\item\em Set the configured finger size. \end{DoxyCompactList}\item 
void \hyperlink{group__Fingers_ga8f3d184c70fc9c2eb18fb0a78cc9df93}{elm\-\_\-coords\-\_\-finger\-\_\-size\-\_\-adjust} (int times\-\_\-w, Evas\-\_\-\-Coord $\ast$w, int times\-\_\-h, 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.

\hyperlink{general_functions_example_page}{This} example contemplates some of these functions. 

\subsection{Function Documentation}
\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[{elm\-\_\-config\-\_\-finger\-\_\-size\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Evas\-\_\-\-Coord elm\-\_\-config\-\_\-finger\-\_\-size\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Fingers_ga5109aa355ff041c3e54210804aa620f4}


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().

\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[{elm\-\_\-config\-\_\-finger\-\_\-size\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-finger\-\_\-size\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Coord}]{size}
\end{DoxyParamCaption}
)}\label{group__Fingers_gac22657c1e98628b4acde0461a0689577}


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}
\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[{elm\-\_\-coords\-\_\-finger\-\_\-size\-\_\-adjust}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-coords\-\_\-finger\-\_\-size\-\_\-adjust (
\begin{DoxyParamCaption}
\item[{int}]{times\-\_\-w, }
\item[{Evas\-\_\-\-Coord $\ast$}]{w, }
\item[{int}]{times\-\_\-h, }
\item[{Evas\-\_\-\-Coord $\ast$}]{h}
\end{DoxyParamCaption}
)}\label{group__Fingers_ga8f3d184c70fc9c2eb18fb0a78cc9df93}


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 \hyperlink{group__Fingers_gac22657c1e98628b4acde0461a0689577}{elm\-\_\-config\-\_\-finger\-\_\-size\-\_\-set()}), and adjusts the size to be large enough to accommodate the resulting size -- if it doesn'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't be calling, most of the time. 
\end{DoxyNote}


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

