\hypertarget{struct__Page__Info}{}\section{\+\_\+\+Page\+\_\+\+Info Struct Reference}
\label{struct__Page__Info}\index{\+\_\+\+Page\+\_\+\+Info@{\+\_\+\+Page\+\_\+\+Info}}


This is a description on how scroll transition works.  


\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{struct__Page__Info_a4d7f5ac81e29dac931b3d40683d89d3a}\label{struct__Page__Info_a4d7f5ac81e29dac931b3d40683d89d3a}} 
Evas\+\_\+\+Map $\ast$ {\bfseries map}
\item 
\mbox{\Hypertarget{struct__Page__Info_a04a345d2ca08e2ca74af3c519fd9424f}\label{struct__Page__Info_a04a345d2ca08e2ca74af3c519fd9424f}} 
int {\bfseries id}
\item 
\mbox{\Hypertarget{struct__Page__Info_a8d13abf0af2245fd0793d6621dadfda5}\label{struct__Page__Info_a8d13abf0af2245fd0793d6621dadfda5}} 
int {\bfseries pos}
\item 
\mbox{\Hypertarget{struct__Page__Info_a746344b4ac1c34fa723285af9b921012}\label{struct__Page__Info_a746344b4ac1c34fa723285af9b921012}} 
int {\bfseries content\+\_\+num}
\item 
\mbox{\Hypertarget{struct__Page__Info_a1def7f28d50454199650b785f97b8b80}\label{struct__Page__Info_a1def7f28d50454199650b785f97b8b80}} 
\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$ {\bfseries obj}
\item 
\mbox{\Hypertarget{struct__Page__Info_af63eef38f23836477c0b002d89bd2b95}\label{struct__Page__Info_af63eef38f23836477c0b002d89bd2b95}} 
\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$ {\bfseries content}
\item 
\mbox{\Hypertarget{struct__Page__Info_ad1ee56adc64eb81688fd598169743faa}\label{struct__Page__Info_ad1ee56adc64eb81688fd598169743faa}} 
\mbox{\hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle}} {\bfseries geometry}
\item 
\mbox{\Hypertarget{struct__Page__Info_ad182000576c0d5a5f005ad350b77ea6a}\label{struct__Page__Info_ad182000576c0d5a5f005ad350b77ea6a}} 
\mbox{\hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle}} {\bfseries temp}
\item 
\mbox{\Hypertarget{struct__Page__Info_add35ad6f567aae694fa8dc9d93529161}\label{struct__Page__Info_add35ad6f567aae694fa8dc9d93529161}} 
struct \mbox{\hyperlink{struct__Page__Info}{\+\_\+\+Page\+\_\+\+Info}} $\ast$ {\bfseries prev}
\item 
\mbox{\Hypertarget{struct__Page__Info_a806c1cfd887e94361960d1229aac54ef}\label{struct__Page__Info_a806c1cfd887e94361960d1229aac54ef}} 
struct \mbox{\hyperlink{struct__Page__Info}{\+\_\+\+Page\+\_\+\+Info}} $\ast$ {\bfseries next}
\item 
\mbox{\Hypertarget{struct__Page__Info_ad7c3b85f32db3420e86b308647d90b80}\label{struct__Page__Info_ad7c3b85f32db3420e86b308647d90b80}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries visible}
\item 
\mbox{\Hypertarget{struct__Page__Info_ae4daf3b348c0a0ed754fc4b89dc0ba8f}\label{struct__Page__Info_ae4daf3b348c0a0ed754fc4b89dc0ba8f}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries vis\+\_\+page}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This is a description on how scroll transition works. 

Regardless of the number of pages, scroll transition maintains a fixed number of boxes which can contain pages. The boxes move along with scrolling and some of them are emptied or filled as they come in or out of screen area. When pager is scrolled left or right, each box takes the position of its previous or next box. Since the leftmost and rightmost boxes might move in reverse direction, they shouldn\textquotesingle{}t be visible. This is why there are dummy boxes at both ends.

Here is an example of box arrangement change by scrolling. The pager has 10 pages, numbered from 1 to 10. The current page is page5, and side\+\_\+page\+\_\+num equals 1. \begin{DoxyVerb}head          |----- screen area ----|          tail
\end{DoxyVerb}
 (dummy) $\vert$ $\vert$ (dummy) 

 \tabulinesep=1mm
\begin{longtabu} spread 0pt [c]{*{9}{|X[-1]}|}
\hline
\rowcolor{\tableheadbgcolor}\textbf{ B\+O\+X1  }&\textbf{ }&\textbf{ B\+O\+X2  }&\textbf{ }&\textbf{ B\+O\+X3  }&\textbf{ }&\textbf{ B\+O\+X4  }&\textbf{ }&\textbf{ B\+O\+X5   }\\\cline{1-9}
\endfirsthead
\hline
\endfoot
\hline
\rowcolor{\tableheadbgcolor}\textbf{ B\+O\+X1  }&\textbf{ }&\textbf{ B\+O\+X2  }&\textbf{ }&\textbf{ B\+O\+X3  }&\textbf{ }&\textbf{ B\+O\+X4  }&\textbf{ }&\textbf{ B\+O\+X5   }\\\cline{1-9}
\endhead
(empty)  &&page4  &&page5  &&page6  &&(empty)   \\\cline{1-9}
&&&&&&&&\\\cline{1-9}
&&&&&&&&\\\cline{1-9}
&&&&&&&&\\\cline{1-9}
\end{longtabu}


 $\vert$ $\vert$ $\vert$-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/---$\vert$

After scrolling left,
\begin{DoxyEnumerate}
\item each box takes the position of it\textquotesingle{}s previous box.
\item head and tail is changed.
\item The box moved to the end is emptied.
\item The box moved from the end is filled with content.

head tail 

 \tabulinesep=1mm
\begin{longtabu} spread 0pt [c]{*{9}{|X[-1]}|}
\hline
\rowcolor{\tableheadbgcolor}\textbf{ B\+O\+X2  }&\textbf{ }&\textbf{ B\+O\+X3  }&\textbf{ }&\textbf{ B\+O\+X4  }&\textbf{ }&\textbf{ B\+O\+X5  }&\textbf{ }&\textbf{ B\+O\+X1   }\\\cline{1-9}
\endfirsthead
\hline
\endfoot
\hline
\rowcolor{\tableheadbgcolor}\textbf{ B\+O\+X2  }&\textbf{ }&\textbf{ B\+O\+X3  }&\textbf{ }&\textbf{ B\+O\+X4  }&\textbf{ }&\textbf{ B\+O\+X5  }&\textbf{ }&\textbf{ B\+O\+X1   }\\\cline{1-9}
\endhead
(empty)  &&page5  &&page6  &&page7  &&(empty)   \\\cline{1-9}
$\ast$emptied  &&&&&&$\ast$filled  &&\\\cline{1-9}
&&&&&&&&\\\cline{1-9}
&&&&&&&&\\\cline{1-9}
\end{longtabu}


 
\end{DoxyEnumerate}