glview: Mark draw_request as eo-only

This is a rename of changed_set, not a new function.

@fix
This commit is contained in:
Jean-Philippe Andre 2016-08-16 17:06:19 +09:00
parent 30ec592638
commit c916e518d9
2 changed files with 5 additions and 4 deletions

View File

@ -79,7 +79,7 @@ _glview_update_surface(Evas_Object *obj)
sd->config->options_bits = opt;
evas_gl_native_surface_get(sd->evasgl, sd->surface, &ns);
evas_object_image_native_surface_set(wd->resize_obj, &ns);
elm_glview_draw_request(obj);
elm_obj_glview_draw_request(obj);
// fake a resize event so that clients can reconfigure their viewport
sd->resized = EINA_TRUE;
@ -474,7 +474,7 @@ _elm_glview_resize_policy_set(Eo *obj, Elm_Glview_Data *sd, Elm_GLView_Resize_Po
case ELM_GLVIEW_RESIZE_POLICY_SCALE:
sd->scale_policy = policy;
_glview_update_surface(obj);
elm_glview_draw_request(obj);
elm_obj_glview_draw_request(obj);
return EINA_TRUE;
default:
@ -513,7 +513,7 @@ _elm_glview_efl_gfx_view_view_size_set(Eo *obj, Elm_Glview_Data *sd, int w, int
sd->h = h;
_glview_update_surface(obj);
elm_glview_draw_request(obj);
elm_obj_glview_draw_request(obj);
}
EOLIAN static void
@ -562,7 +562,7 @@ elm_glview_changed_set(Evas_Object *obj)
{
ELM_GLVIEW_CHECK(obj);
elm_glview_draw_request(obj);
elm_obj_glview_draw_request(obj);
}
EAPI void

View File

@ -182,6 +182,7 @@ class Elm.Glview (Elm.Widget, Efl.Gfx.View)
@since 1.18
]]
legacy: null;
}
}
implements {