
\begin{DoxyCodeInclude}{0}
\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{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *win, *bx, *ck;}
\DoxyCodeLine{   \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{int} digedit;}
\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_gac75d7752662fab73d6420706ce5be996}{elm\_win\_util\_standard\_add}}(\textcolor{stringliteral}{"clock"}, \textcolor{stringliteral}{"Clock Example"});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Win_ga9a16a2f8c9fd5b6e9203ed9dcb53ea8b}{elm\_win\_autodel\_set}}(win, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{}
\DoxyCodeLine{   bx = \mbox{\hyperlink{group__Elm__Box_ga3d0998b60ada633bacfa8869a921cfd7}{elm\_box\_add}}(win);}
\DoxyCodeLine{   evas\_object\_size\_hint\_weight\_set(bx, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Win_ga505d6bd217e5ee01e82b548ec35986eb}{elm\_win\_resize\_object\_add}}(win, bx);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}}(bx);}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{comment}{/* pristine (no seconds, military time) */}}
\DoxyCodeLine{   ck = \mbox{\hyperlink{group__Elm__Clock_gaaa9f775111dedb6487a61f382aaab41b}{elm\_clock\_add}}(win);}
\DoxyCodeLine{   elm\_box\_pack\_end(bx, ck);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}}(ck);}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{comment}{/* am/pm */}}
\DoxyCodeLine{   ck = \mbox{\hyperlink{group__Elm__Clock_gaaa9f775111dedb6487a61f382aaab41b}{elm\_clock\_add}}(win);}
\DoxyCodeLine{   elm\_clock\_show\_am\_pm\_set(ck, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   elm\_box\_pack\_end(bx, ck);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}}(ck);}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{comment}{/* with seconds and custom time */}}
\DoxyCodeLine{   ck = \mbox{\hyperlink{group__Elm__Clock_gaaa9f775111dedb6487a61f382aaab41b}{elm\_clock\_add}}(win);}
\DoxyCodeLine{   elm\_clock\_show\_seconds\_set(ck, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   elm\_clock\_time\_set(ck, 10, 11, 12);}
\DoxyCodeLine{   elm\_box\_pack\_end(bx, ck);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}}(ck);}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{comment}{/* in edition mode, with seconds, custom time and am/pm set */}}
\DoxyCodeLine{   ck = \mbox{\hyperlink{group__Elm__Clock_gaaa9f775111dedb6487a61f382aaab41b}{elm\_clock\_add}}(win);}
\DoxyCodeLine{   elm\_clock\_edit\_set(ck, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   elm\_clock\_show\_seconds\_set(ck, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   elm\_clock\_show\_am\_pm\_set(ck, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   elm\_clock\_time\_set(ck, 10, 11, 12);}
\DoxyCodeLine{   elm\_box\_pack\_end(bx, ck);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}}(ck);}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{comment}{/* in edition mode, with seconds, but only some digits editable */}}
\DoxyCodeLine{   ck = \mbox{\hyperlink{group__Elm__Clock_gaaa9f775111dedb6487a61f382aaab41b}{elm\_clock\_add}}(win);}
\DoxyCodeLine{   elm\_clock\_show\_seconds\_set(ck, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   elm\_clock\_edit\_set(ck, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   digedit = \mbox{\hyperlink{group__Elm__Clock_gga8692bdbba88156f31daaa03b7b706330a151f368f2431aeaf97c5966223a063c8}{ELM\_CLOCK\_EDIT\_HOUR\_UNIT}} | \mbox{\hyperlink{group__Elm__Clock_gga8692bdbba88156f31daaa03b7b706330a560260121d58151943a51b50ba45c19b}{ELM\_CLOCK\_EDIT\_MIN\_UNIT}} | \mbox{\hyperlink{group__Elm__Clock_gga8692bdbba88156f31daaa03b7b706330a2e9d791d9d307f23b174f2983e7e63fb}{ELM\_CLOCK\_EDIT\_SEC\_UNIT}};}
\DoxyCodeLine{   elm\_clock\_edit\_mode\_set(ck, digedit);}
\DoxyCodeLine{   elm\_box\_pack\_end(bx, ck);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}}(ck);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{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}
 