forked from enlightenment/efl
Manually migrate some eo_do for the migration script
The script doesn't handle a few corner cases well. Update the code manually so it doesn't have to deal with those.
This commit is contained in:
parent
daa42878ca
commit
8b45a1dc94
|
@ -452,8 +452,6 @@ _init_scene(Evas_Object *img)
|
||||||
evas_canvas3d_light_diffuse_set(1.0, 1.0, 1.0, 1.0),
|
evas_canvas3d_light_diffuse_set(1.0, 1.0, 1.0, 1.0),
|
||||||
evas_canvas3d_light_specular_set(1.0, 1.0, 1.0, 1.0),
|
evas_canvas3d_light_specular_set(1.0, 1.0, 1.0, 1.0),
|
||||||
evas_canvas3d_light_projection_perspective_set(globalGraphical.angle / 5, 1.0, 1.0, 1000.0),
|
evas_canvas3d_light_projection_perspective_set(globalGraphical.angle / 5, 1.0, 1.0, 1000.0),
|
||||||
/*evas_canvas3d_light_projection_perspective_set(value, ...) =>
|
|
||||||
evas_canvas3d_light_spot_cutoff_set(~(value / 3))*/
|
|
||||||
evas_canvas3d_light_spot_cutoff_set(globalGraphical.angle / 15));
|
evas_canvas3d_light_spot_cutoff_set(globalGraphical.angle / 15));
|
||||||
|
|
||||||
globalGraphical.light_node =
|
globalGraphical.light_node =
|
||||||
|
|
|
@ -67,8 +67,7 @@ static const Elm_Win_Trap *trap = NULL;
|
||||||
{ \
|
{ \
|
||||||
edje_object_signal_emit(cursd->edje, \
|
edje_object_signal_emit(cursd->edje, \
|
||||||
"elm,action,hide_blocker", "elm"); \
|
"elm,action,hide_blocker", "elm"); \
|
||||||
eo_do(cursd->main_menu, eo_event_callback_call \
|
eo_event_callback_call(cursd->main_menu, ELM_MENU_EVENT_ELM_ACTION_UNBLOCK_MENU, NULL); \
|
||||||
(ELM_MENU_EVENT_ELM_ACTION_UNBLOCK_MENU, NULL)); \
|
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,8 +83,7 @@ static const Elm_Win_Trap *trap = NULL;
|
||||||
{ \
|
{ \
|
||||||
edje_object_signal_emit(cursd->edje, \
|
edje_object_signal_emit(cursd->edje, \
|
||||||
"elm,action,show_blocker", "elm"); \
|
"elm,action,show_blocker", "elm"); \
|
||||||
eo_do(cursd->main_menu, eo_event_callback_call \
|
eo_event_callback_call(cursd->main_menu, ELM_WIN_EVENT_ELM_ACTION_BLOCK_MENU, NULL); \
|
||||||
(ELM_WIN_EVENT_ELM_ACTION_BLOCK_MENU, NULL)); \
|
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue