seoz pushed a commit to branch master. http://git.enlightenment.org/tools/elm-theme-viewer.git/commit/?id=f62cd368ff3f2debddbf91a6837edd28b379841d
commit f62cd368ff3f2debddbf91a6837edd28b379841d Author: Daniel Juyung Seo <juyung....@samsung.com> Date: Sun Dec 7 18:57:01 2014 +0900 widget: Add calendar support. --- src/bin/widget.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/bin/widget.c b/src/bin/widget.c index cabb63a..536b284 100644 --- a/src/bin/widget.c +++ b/src/bin/widget.c @@ -265,6 +265,21 @@ _widget_button_create(Evas_Object *parent, const char* style) return o; } +// caclendar +static Evas_Object * +_widget_calendar_create(Evas_Object *parent, const char *style) +{ + Evas_Object *o = NULL; + + o = elm_calendar_add(parent); + EXPAND(o); FILL(o); + evas_object_show(o); + + elm_object_style_set(o, style); + + return o; +} + // check static Evas_Object * _widget_check_create(Evas_Object *parent, const char *style) @@ -2185,6 +2200,7 @@ widget_create(Evas_Object *parent, Widget_Type widget, const char *orig_style) ADD_WIDGET(border, ETV_ID_BORDER, style); ADD_WIDGET(bubble, ETV_ID_BUBBLE, orig_style); ADD_WIDGET(button, ETV_ID_BUTTON, orig_style); + ADD_WIDGET(calendar, ETV_ID_CALENDAR, style); ADD_WIDGET(check, ETV_ID_CHECK, style); ADD_WIDGET(clock, ETV_ID_CLOCK, style); ADD_WIDGET(colorselector, ETV_ID_COLORSELECTOR, style); --