forked from enlightenment/efl
example/evas3d: set the window name as other example codes.
__WIN__ is too distinguishable.
This commit is contained in:
parent
8d74e140c4
commit
2782c35fbc
|
@ -297,7 +297,7 @@ elm_main(int argc, char **argv)
|
|||
elm_config_preferred_engine_set("opengl_x11");
|
||||
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
|
||||
|
||||
win = elm_win_util_standard_add("__WIN__", " A button on the 3d object");
|
||||
win = elm_win_util_standard_add("evas3d-object-button", "A button on the 3d object");
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
evas_object_resize(win, WIDTH, HEIGHT);
|
||||
evas_object_show(win);
|
||||
|
|
|
@ -274,7 +274,7 @@ elm_main(int argc, char **argv)
|
|||
elm_config_preferred_engine_set("opengl_x11");
|
||||
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
|
||||
|
||||
win = elm_win_util_standard_add("__WIN__", "3d object on the button");
|
||||
win = elm_win_util_standard_add("evas3d-scene-button", "3d object on the button");
|
||||
if (!win) return 0;
|
||||
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
|
|
Loading…
Reference in New Issue