forked from enlightenment/efl
clock test: modified clock test name, window title, and button name more descriptive.
This commit is contained in:
parent
827ffc74c1
commit
64a647a6fb
|
@ -37,9 +37,9 @@ void test_transit9(void *data, Evas_Object *obj, void *event_info);
|
||||||
void test_fileselector_button(void *data, Evas_Object *obj, void *event_info);
|
void test_fileselector_button(void *data, Evas_Object *obj, void *event_info);
|
||||||
void test_fileselector_entry(void *data, Evas_Object *obj, void *event_info);
|
void test_fileselector_entry(void *data, Evas_Object *obj, void *event_info);
|
||||||
void test_clock(void *data, Evas_Object *obj, void *event_info);
|
void test_clock(void *data, Evas_Object *obj, void *event_info);
|
||||||
void test_clock2(void *data, Evas_Object *obj, void *event_info);
|
void test_clock_edit(void *data, Evas_Object *obj, void *event_info);
|
||||||
void test_clock3(void *data, Evas_Object *obj, void *event_info);
|
void test_clock_edit2(void *data, Evas_Object *obj, void *event_info);
|
||||||
void test_clock4(void *data, Evas_Object *obj, void *event_info);
|
void test_clock_pause(void *data, Evas_Object *obj, void *event_info);
|
||||||
void test_check(void *data, Evas_Object *obj, void *event_info);
|
void test_check(void *data, Evas_Object *obj, void *event_info);
|
||||||
void test_check_toggle(void *data, Evas_Object *obj, void *event_info);
|
void test_check_toggle(void *data, Evas_Object *obj, void *event_info);
|
||||||
void test_radio(void *data, Evas_Object *obj, void *event_info);
|
void test_radio(void *data, Evas_Object *obj, void *event_info);
|
||||||
|
@ -739,9 +739,9 @@ add_tests:
|
||||||
ADD_TEST(NULL, "Times & Dates", "Calendar 2", test_calendar2);
|
ADD_TEST(NULL, "Times & Dates", "Calendar 2", test_calendar2);
|
||||||
ADD_TEST(NULL, "Times & Dates", "Calendar 3", test_calendar3);
|
ADD_TEST(NULL, "Times & Dates", "Calendar 3", test_calendar3);
|
||||||
ADD_TEST(NULL, "Times & Dates", "Clock", test_clock);
|
ADD_TEST(NULL, "Times & Dates", "Clock", test_clock);
|
||||||
ADD_TEST(NULL, "Times & Dates", "Clock 2", test_clock2);
|
ADD_TEST(NULL, "Times & Dates", "Clock Edit", test_clock_edit);
|
||||||
ADD_TEST(NULL, "Times & Dates", "Clock 3", test_clock3);
|
ADD_TEST(NULL, "Times & Dates", "Clock Edit 2", test_clock_edit2);
|
||||||
ADD_TEST(NULL, "Times & Dates", "Clock 4", test_clock4);
|
ADD_TEST(NULL, "Times & Dates", "Clock Pause", test_clock_pause);
|
||||||
ADD_TEST(NULL, "Times & Dates", "Datetime", test_datetime);
|
ADD_TEST(NULL, "Times & Dates", "Datetime", test_datetime);
|
||||||
|
|
||||||
//------------------------------//
|
//------------------------------//
|
||||||
|
|
|
@ -231,12 +231,12 @@ _pause_resume_bt_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNU
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
test_clock2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
test_clock_edit(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||||
{
|
{
|
||||||
Evas_Object *win, *bx, *hbx, *ck, *bt, *bxx;
|
Evas_Object *win, *bx, *hbx, *ck, *bt, *bxx;
|
||||||
api_data *api = calloc(1, sizeof(api_data));
|
api_data *api = calloc(1, sizeof(api_data));
|
||||||
|
|
||||||
win = elm_win_util_standard_add("clock2", "Clock 2");
|
win = elm_win_util_standard_add("clock-edit", "Clock Edit");
|
||||||
elm_win_autodel_set(win, EINA_TRUE);
|
elm_win_autodel_set(win, EINA_TRUE);
|
||||||
evas_object_event_callback_add(win, EVAS_CALLBACK_FREE, _cleanup_cb, api);
|
evas_object_event_callback_add(win, EVAS_CALLBACK_FREE, _cleanup_cb, api);
|
||||||
|
|
||||||
|
@ -289,11 +289,11 @@ test_clock2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
test_clock3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
test_clock_edit2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||||
{
|
{
|
||||||
Evas_Object *win, *bx, *ck, *lb;
|
Evas_Object *win, *bx, *ck, *lb;
|
||||||
|
|
||||||
win = elm_win_util_standard_add("clock3", "Clock 3");
|
win = elm_win_util_standard_add("clock-edit2", "Clock Edit 2");
|
||||||
elm_win_autodel_set(win, EINA_TRUE);
|
elm_win_autodel_set(win, EINA_TRUE);
|
||||||
|
|
||||||
bx = elm_box_add(win);
|
bx = elm_box_add(win);
|
||||||
|
@ -335,7 +335,7 @@ test_clock3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
test_clock4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
test_clock_pause(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||||
{
|
{
|
||||||
Evas_Object *win, *bx, *ck, *bt;
|
Evas_Object *win, *bx, *ck, *bt;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue