forked from enlightenment/efl
evas: Add EO API to get clipper in smart object
It's not exposing anything that wasn't already accessible before (you could just add a member and get its clip, for instance). This will be used by Edje Object. This is a minor @feature
This commit is contained in:
parent
7ef714924a
commit
7e2382853e
|
@ -97,6 +97,20 @@ class Efl.Canvas.Group (Efl.Canvas.Object)
|
||||||
}
|
}
|
||||||
legacy: null;
|
legacy: null;
|
||||||
}
|
}
|
||||||
|
@property group_clipper @protected {
|
||||||
|
[[The internal clipper object used by this group.
|
||||||
|
|
||||||
|
This is the object clipping all the children objects. Do not
|
||||||
|
delete or otherwise modify this clipper!
|
||||||
|
]]
|
||||||
|
values {
|
||||||
|
clipper: const(Efl.Canvas.Object); [[A clipper rectangle.]]
|
||||||
|
}
|
||||||
|
get {
|
||||||
|
[[Get the internal clipper.]]
|
||||||
|
legacy: null;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
implements {
|
implements {
|
||||||
class.constructor;
|
class.constructor;
|
||||||
|
|
|
@ -1818,6 +1818,13 @@ _efl_canvas_group_efl_canvas_object_paragraph_direction_get(Eo *eo_obj EINA_UNUS
|
||||||
return o->paragraph_direction;
|
return o->paragraph_direction;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EOLIAN static const Eo *
|
||||||
|
_efl_canvas_group_group_clipper_get(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o)
|
||||||
|
{
|
||||||
|
// NOTE: This may be NULL until all EO smart objects are clipped!
|
||||||
|
return _smart_clipper_get(o);
|
||||||
|
}
|
||||||
|
|
||||||
/* Internal EO */
|
/* Internal EO */
|
||||||
static void
|
static void
|
||||||
_efl_canvas_group_group_clipped_set(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *sd, Eina_Bool clipped)
|
_efl_canvas_group_group_clipped_set(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *sd, Eina_Bool clipped)
|
||||||
|
|
Loading…
Reference in New Issue