\doxysection{transit\+\_\+example\+\_\+02.\+c}
\hypertarget{transit_example_02_8c-example}{}\label{transit_example_02_8c-example}
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{\textcolor{comment}{//Compile\ with:}}
\DoxyCodeLine{\textcolor{comment}{//gcc\ -\/o\ transit\_example\_02\ transit\_example\_02.c\ \`{}pkg-\/config\ -\/-\/cflags\ -\/-\/libs\ elementary`}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{preprocessor}{\#include\ <Elementary.h>}}
\DoxyCodeLine{}
\DoxyCodeLine{EAPI\_MAIN\ \textcolor{keywordtype}{int}}
\DoxyCodeLine{elm\_main(\textcolor{keywordtype}{int}\ argc\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},\ \textcolor{keywordtype}{char}\ **argv\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ Evas\_Object\ *win,\ *bt,\ *bt2,\ *bt3,\ *bt4;}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_gafe0d442717e75c75819e59e0870b2278}{Elm\_Transit}}\ *trans,\ *trans2,\ *trans3,\ *trans4;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga7a05f37fd3a019da5e26c5fc91fcd937}{elm\_policy\_set}}(\mbox{\hyperlink{group__Elm__General_ggaa16f3378ecdbf660fa378402e3c5a0a9a02fadb6faada04b19d0fa42c11a8d32a}{ELM\_POLICY\_QUIT}},\ \mbox{\hyperlink{group__Elm__General_gga46af37e6ac2c406321060be827117196abbe0962d88ae12afe1a173da881f56cd}{ELM\_POLICY\_QUIT\_LAST\_WINDOW\_CLOSED}});}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ win\ =\ \mbox{\hyperlink{group__Elm__Win__Group_ga23d9d1ffa0a65a1a1dd482d570db1ba0}{elm\_win\_util\_standard\_add}}(\textcolor{stringliteral}{"{}transit9"{}},\ \textcolor{stringliteral}{"{}Transit\ 9"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Win__Group_ga9a16a2f8c9fd5b6e9203ed9dcb53ea8b}{elm\_win\_autodel\_set}}(win,\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ bt\ =\ \mbox{\hyperlink{group__Elm__Button_gaf5caf46d74c4e122a18da323935d25e4}{elm\_button\_add}}(win);}
\DoxyCodeLine{\ \ \ elm\_object\_text\_set(bt,\ \textcolor{stringliteral}{"{}Chain\ 1"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gacad94595f83580c18908cb3b69b08d1a}{evas\_object\_resize}}(bt,\ 100,\ 100);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga335c8ee6eaeaac9710656af4f8b0db91}{evas\_object\_move}}(bt,\ 0,\ 0);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(bt);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ bt2\ =\ \mbox{\hyperlink{group__Elm__Button_gaf5caf46d74c4e122a18da323935d25e4}{elm\_button\_add}}(win);}
\DoxyCodeLine{\ \ \ elm\_object\_text\_set(bt2,\ \textcolor{stringliteral}{"{}Chain\ 2"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gacad94595f83580c18908cb3b69b08d1a}{evas\_object\_resize}}(bt2,\ 100,\ 100);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga335c8ee6eaeaac9710656af4f8b0db91}{evas\_object\_move}}(bt2,\ 300,\ 0);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(bt2);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ bt3\ =\ \mbox{\hyperlink{group__Elm__Button_gaf5caf46d74c4e122a18da323935d25e4}{elm\_button\_add}}(win);}
\DoxyCodeLine{\ \ \ elm\_object\_text\_set(bt3,\ \textcolor{stringliteral}{"{}Chain\ 3"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gacad94595f83580c18908cb3b69b08d1a}{evas\_object\_resize}}(bt3,\ 100,\ 100);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga335c8ee6eaeaac9710656af4f8b0db91}{evas\_object\_move}}(bt3,\ 300,\ 300);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(bt3);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ bt4\ =\ \mbox{\hyperlink{group__Elm__Button_gaf5caf46d74c4e122a18da323935d25e4}{elm\_button\_add}}(win);}
\DoxyCodeLine{\ \ \ elm\_object\_text\_set(bt4,\ \textcolor{stringliteral}{"{}Chain\ 4"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gacad94595f83580c18908cb3b69b08d1a}{evas\_object\_resize}}(bt4,\ 100,\ 100);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga335c8ee6eaeaac9710656af4f8b0db91}{evas\_object\_move}}(bt4,\ 0,\ 300);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(bt4);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ trans\ =\ \mbox{\hyperlink{group__Elm__Transit_gaae9b4e656862c3e70b2946dc0d4642d7}{elm\_transit\_add}}();}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga14fe8effd24591d0f895d92ab920e72c}{elm\_transit\_tween\_mode\_set}}(trans,\ \mbox{\hyperlink{group__Elm__Transit_gga954ecd9ba6266a18a0bde0e5861ccc53a799a4fdf2c9e1bfcd6d102b57f22c040}{ELM\_TRANSIT\_TWEEN\_MODE\_ACCELERATE}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga1eb71832dee8bffffa88c7fb5b22df62}{elm\_transit\_effect\_translation\_add}}(trans,\ 0,\ 0,\ 300,\ 0);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_gab4e46606ff9cf54591289bffe193c03b}{elm\_transit\_object\_add}}(trans,\ bt);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga7e853e074b16f9a9473ad2456bee1f8d}{elm\_transit\_duration\_set}}(trans,\ 1);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga467a0a6cacc6aaee93e33f8a964ad944}{elm\_transit\_objects\_final\_state\_keep\_set}}(trans,\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga5d600d1d615b5136b99a180d256cb147}{elm\_transit\_go}}(trans);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ trans2\ =\ \mbox{\hyperlink{group__Elm__Transit_gaae9b4e656862c3e70b2946dc0d4642d7}{elm\_transit\_add}}();}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga14fe8effd24591d0f895d92ab920e72c}{elm\_transit\_tween\_mode\_set}}(trans2,\ \mbox{\hyperlink{group__Elm__Transit_gga954ecd9ba6266a18a0bde0e5861ccc53a799a4fdf2c9e1bfcd6d102b57f22c040}{ELM\_TRANSIT\_TWEEN\_MODE\_ACCELERATE}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga1eb71832dee8bffffa88c7fb5b22df62}{elm\_transit\_effect\_translation\_add}}(trans2,\ 0,\ 0,\ 0,\ 300);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_gab4e46606ff9cf54591289bffe193c03b}{elm\_transit\_object\_add}}(trans2,\ bt2);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga7e853e074b16f9a9473ad2456bee1f8d}{elm\_transit\_duration\_set}}(trans2,\ 1);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga467a0a6cacc6aaee93e33f8a964ad944}{elm\_transit\_objects\_final\_state\_keep\_set}}(trans2,\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga4e6f191c415b31c0f3a19505e144e390}{elm\_transit\_chain\_transit\_add}}(trans,\ trans2);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ trans3\ =\ \mbox{\hyperlink{group__Elm__Transit_gaae9b4e656862c3e70b2946dc0d4642d7}{elm\_transit\_add}}();}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga14fe8effd24591d0f895d92ab920e72c}{elm\_transit\_tween\_mode\_set}}(trans3,\ \mbox{\hyperlink{group__Elm__Transit_gga954ecd9ba6266a18a0bde0e5861ccc53a799a4fdf2c9e1bfcd6d102b57f22c040}{ELM\_TRANSIT\_TWEEN\_MODE\_ACCELERATE}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga1eb71832dee8bffffa88c7fb5b22df62}{elm\_transit\_effect\_translation\_add}}(trans3,\ 0,\ 0,\ -\/300,\ 0);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_gab4e46606ff9cf54591289bffe193c03b}{elm\_transit\_object\_add}}(trans3,\ bt3);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga7e853e074b16f9a9473ad2456bee1f8d}{elm\_transit\_duration\_set}}(trans3,\ 1);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga467a0a6cacc6aaee93e33f8a964ad944}{elm\_transit\_objects\_final\_state\_keep\_set}}(trans3,\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga4e6f191c415b31c0f3a19505e144e390}{elm\_transit\_chain\_transit\_add}}(trans2,\ trans3);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ trans4\ =\ \mbox{\hyperlink{group__Elm__Transit_gaae9b4e656862c3e70b2946dc0d4642d7}{elm\_transit\_add}}();}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga14fe8effd24591d0f895d92ab920e72c}{elm\_transit\_tween\_mode\_set}}(trans4,\ \mbox{\hyperlink{group__Elm__Transit_gga954ecd9ba6266a18a0bde0e5861ccc53a799a4fdf2c9e1bfcd6d102b57f22c040}{ELM\_TRANSIT\_TWEEN\_MODE\_ACCELERATE}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga1eb71832dee8bffffa88c7fb5b22df62}{elm\_transit\_effect\_translation\_add}}(trans4,\ 0,\ 0,\ 0,\ -\/300);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_gab4e46606ff9cf54591289bffe193c03b}{elm\_transit\_object\_add}}(trans4,\ bt4);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga7e853e074b16f9a9473ad2456bee1f8d}{elm\_transit\_duration\_set}}(trans4,\ 1);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga467a0a6cacc6aaee93e33f8a964ad944}{elm\_transit\_objects\_final\_state\_keep\_set}}(trans4,\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Transit_ga4e6f191c415b31c0f3a19505e144e390}{elm\_transit\_chain\_transit\_add}}(trans3,\ trans4);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gacad94595f83580c18908cb3b69b08d1a}{evas\_object\_resize}}(win,\ 400,\ 400);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(win);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_gadf2553f83e6b0b9c7fbe054019a664a1}{elm\_run}}();}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{return}\ 0;}
\DoxyCodeLine{\}}
\DoxyCodeLine{\mbox{\hyperlink{group__Elm__General_ga50fe52d513f7e89c9c770afd76de7ad9}{ELM\_MAIN}}()}

\end{DoxyCodeInclude}
 