widget: refactoring. place internal function in the right place.

This commit is contained in:
Daniel Juyung Seo 2013-04-17 00:12:25 +09:00
parent 63bbb5a7e0
commit 0aa4ae1246
1 changed files with 18 additions and 18 deletions

View File

@ -286,24 +286,6 @@ _widget_clock_create(const char* style)
return o;
}
static Evas_Object *
_widget_entry_create(const char* style)
{
char buf[PATH_MAX];
Evas_Object *o;
o = elm_entry_add(win);
EXPAND(o); FILL(o);
elm_object_style_set(o, style);
snprintf(buf, sizeof(buf),
"This is an entry widget in this window that<br/>"
"uses markup <b>like this</> for styling and<br/>");
elm_object_text_set(o, buf);
evas_object_show(o);
return o;
}
static Evas_Object *
_widget_check_create(const char *style)
{
@ -343,6 +325,24 @@ _widget_colorselector_create(const char *style)
return o;
}
static Evas_Object *
_widget_entry_create(const char* style)
{
char buf[PATH_MAX];
Evas_Object *o;
o = elm_entry_add(win);
EXPAND(o); FILL(o);
elm_object_style_set(o, style);
snprintf(buf, sizeof(buf),
"This is an entry widget in this window that<br/>"
"uses markup <b>like this</> for styling and<br/>");
elm_object_text_set(o, buf);
evas_object_show(o);
return o;
}
Evas_Object *
_widget_ews_create(const char *orig_style)
{