forked from enlightenment/efl
evas_grid: size -> grid_size
this conflicted with efl_ui_base.size
This commit is contained in:
parent
2caaf09ea2
commit
f19da9b4a8
|
@ -4,18 +4,20 @@ class Evas.Grid (Efl.Canvas.Group)
|
|||
legacy_prefix: evas_object_grid;
|
||||
eo_prefix: evas_obj_grid;
|
||||
methods {
|
||||
@property size {
|
||||
@property grid_size {
|
||||
set {
|
||||
[[Set the virtual resolution for the grid
|
||||
|
||||
@since 1.1]]
|
||||
legacy: evas_object_grid_size_set;
|
||||
}
|
||||
get {
|
||||
[[Get the current virtual resolution
|
||||
|
||||
See also @.size.set
|
||||
See also @.grid_size.set
|
||||
|
||||
@since 1.1]]
|
||||
legacy: evas_object_grid_size_get;
|
||||
}
|
||||
values {
|
||||
w: int; [[The virtual horizontal size (resolution) in integer units.]]
|
||||
|
|
|
@ -302,7 +302,7 @@ _evas_grid_add_to(Eo *parent, Evas_Grid_Data *_pd EINA_UNUSED)
|
|||
}
|
||||
|
||||
EOLIAN static void
|
||||
_evas_grid_size_set(Eo *o, Evas_Grid_Data *priv, int w, int h)
|
||||
_evas_grid_grid_size_set(Eo *o, Evas_Grid_Data *priv, int w, int h)
|
||||
{
|
||||
if ((priv->size.w == w) && (priv->size.h == h)) return;
|
||||
priv->size.w = w;
|
||||
|
@ -311,7 +311,7 @@ _evas_grid_size_set(Eo *o, Evas_Grid_Data *priv, int w, int h)
|
|||
}
|
||||
|
||||
EOLIAN static void
|
||||
_evas_grid_size_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv, int *w, int *h)
|
||||
_evas_grid_grid_size_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv, int *w, int *h)
|
||||
{
|
||||
if (w) *w = priv->size.w;
|
||||
if (h) *h = priv->size.h;
|
||||
|
|
Loading…
Reference in New Issue