forked from enlightenment/efl
doc: Add EDC doc for desc.proxy, fix for desc.fill
This commit is contained in:
parent
be99d11662
commit
b52e9202cc
|
@ -94,12 +94,11 @@
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>@ref sec_collections_group_parts_description_relatives "Relatives (rel1/rel2)"</li>
|
* <li>@ref sec_collections_group_parts_description_relatives "Relatives (rel1/rel2)"</li>
|
||||||
* <li>@ref sec_collections_group_parts_description_image "Image"</li>
|
* <li>@ref sec_collections_group_parts_description_image "Image"</li>
|
||||||
|
* <li>@ref sec_collections_group_parts_description_proxy "Proxy"</li>
|
||||||
|
* <li>@ref sec_collections_group_parts_description_fill "Fill"</li>
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>@ref sec_collections_group_parts_description_image_fill "Fill"</li>
|
* <li>@ref sec_collections_group_parts_description_fill_origin "Origin"</li>
|
||||||
* <ul>
|
* <li>@ref sec_collections_group_parts_description_fill_size "Size"</li>
|
||||||
* <li>@ref sec_collections_group_parts_description_image_fill_origin "Origin"</li>
|
|
||||||
* <li>@ref sec_collections_group_parts_description_image_fill_size "Size"</li>
|
|
||||||
* </ul>
|
|
||||||
* </ul>
|
* </ul>
|
||||||
* <li>@ref sec_collections_group_parts_description_text "Text"</li>
|
* <li>@ref sec_collections_group_parts_description_text "Text"</li>
|
||||||
* <li>@ref sec_collections_group_parts_description_box "Box"</li>
|
* <li>@ref sec_collections_group_parts_description_box "Box"</li>
|
||||||
|
@ -8408,15 +8407,16 @@ st_collections_group_parts_part_description_image_scale_hint(void)
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @edcsubsection{collections_group_parts_description_image_fill,
|
/** @edcsubsection{collections_group_parts_description_fill,
|
||||||
* Group.Parts.Part.Description.Image.Fill} */
|
* Group.Parts.Part.Description.Fill} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
@block
|
@block
|
||||||
fill
|
fill
|
||||||
@context
|
@context
|
||||||
image {
|
part { type: IMAGE or PROXY;
|
||||||
|
description {
|
||||||
..
|
..
|
||||||
fill {
|
fill {
|
||||||
type: SCALE;
|
type: SCALE;
|
||||||
|
@ -8426,9 +8426,11 @@ st_collections_group_parts_part_description_image_scale_hint(void)
|
||||||
}
|
}
|
||||||
..
|
..
|
||||||
}
|
}
|
||||||
|
..
|
||||||
|
}
|
||||||
@description
|
@description
|
||||||
The fill method is an optional block that defines the way an IMAGE part
|
The fill method is an optional block that defines the way an IMAGE or
|
||||||
is going to be displayed inside its container.
|
PROXY part is going to be displayed inside its container.
|
||||||
It can be used for tiling (repeating the image) or displaying only
|
It can be used for tiling (repeating the image) or displaying only
|
||||||
part of an image. See @ref evas_object_image_fill_set() documentation
|
part of an image. See @ref evas_object_image_fill_set() documentation
|
||||||
for more details.
|
for more details.
|
||||||
|
@ -8592,8 +8594,8 @@ st_collections_group_parts_part_description_fill_type(void)
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @edcsubsection{collections_group_parts_description_image_fill_origin,
|
/** @edcsubsection{collections_group_parts_description_fill_origin,
|
||||||
* Group.Parts.Part.Description.Image.Fill.Origin} */
|
* Group.Parts.Part.Description.Fill.Origin} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -8716,8 +8718,8 @@ st_collections_group_parts_part_description_fill_origin_offset(void)
|
||||||
fill->pos_abs_y = parse_int(1);
|
fill->pos_abs_y = parse_int(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @edcsubsection{collections_group_parts_description_image_fill_size,
|
/** @edcsubsection{collections_group_parts_description_fill_size,
|
||||||
* Group.Parts.Part.Description.Image.Fill.Size} */
|
* Group.Parts.Part.Description.Fill.Size} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -9680,6 +9682,51 @@ static void st_collections_group_parts_part_description_table_padding(void)
|
||||||
ed->table.padding.y = parse_int_range(1, 0, 0x7fffffff);
|
ed->table.padding.y = parse_int_range(1, 0, 0x7fffffff);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
@edcsubsection{collections_group_parts_description_proxy, Proxy}
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
@page edcref
|
||||||
|
|
||||||
|
@block
|
||||||
|
proxy
|
||||||
|
@context
|
||||||
|
part { type: PROXY;
|
||||||
|
description {
|
||||||
|
..
|
||||||
|
proxy {
|
||||||
|
source_clip: 1;
|
||||||
|
source_visible: 1;
|
||||||
|
}
|
||||||
|
..
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@description
|
||||||
|
State flags used for proxy objects.
|
||||||
|
@endblock
|
||||||
|
|
||||||
|
@property
|
||||||
|
source_clip
|
||||||
|
@parameters
|
||||||
|
[0 or 1]
|
||||||
|
@effect
|
||||||
|
Sets the 'source_clip' property on this PROXY object. True by default,
|
||||||
|
this means the proxy will be clipped by its source clipper. False
|
||||||
|
means the source clipper is ignored when rendering the proxy.
|
||||||
|
@endproperty
|
||||||
|
|
||||||
|
@property
|
||||||
|
source_visible
|
||||||
|
@parameters
|
||||||
|
[0 or 1]
|
||||||
|
@effect
|
||||||
|
Sets the 'source_visible' property on this PROXY object. True by
|
||||||
|
default, meaning both the proxy and its source object will be visible.
|
||||||
|
If false, the source object will not be visible. False is equivalent
|
||||||
|
to setting the 'no_render' flag on the source object itself.
|
||||||
|
@endproperty
|
||||||
|
*/
|
||||||
static void
|
static void
|
||||||
st_collections_group_parts_part_description_proxy_source_clip(void)
|
st_collections_group_parts_part_description_proxy_source_clip(void)
|
||||||
{
|
{
|
||||||
|
@ -9698,6 +9745,24 @@ st_collections_group_parts_part_description_proxy_source_clip(void)
|
||||||
ed->proxy.source_clip = parse_bool(0);
|
ed->proxy.source_clip = parse_bool(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
st_collections_group_parts_part_description_proxy_source_visible(void)
|
||||||
|
{
|
||||||
|
Edje_Part_Description_Proxy *ed;
|
||||||
|
|
||||||
|
check_arg_count(1);
|
||||||
|
|
||||||
|
if (current_part->type != EDJE_PART_TYPE_PROXY)
|
||||||
|
{
|
||||||
|
ERR("parse error %s:%i. proxy attributes in non-PROXY part.",
|
||||||
|
file_in, line - 1);
|
||||||
|
exit(-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
ed = (Edje_Part_Description_Proxy*) current_desc;
|
||||||
|
ed->proxy.source_visible = parse_bool(0);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@edcsubsection{collections_group_parts_description_positon,Position}
|
@edcsubsection{collections_group_parts_description_positon,Position}
|
||||||
*/
|
*/
|
||||||
|
@ -10825,24 +10890,6 @@ st_collections_group_parts_part_description_mesh_geometry(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
st_collections_group_parts_part_description_proxy_source_visible(void)
|
|
||||||
{
|
|
||||||
Edje_Part_Description_Proxy *ed;
|
|
||||||
|
|
||||||
check_arg_count(1);
|
|
||||||
|
|
||||||
if (current_part->type != EDJE_PART_TYPE_PROXY)
|
|
||||||
{
|
|
||||||
ERR("parse error %s:%i. proxy attributes in non-PROXY part.",
|
|
||||||
file_in, line - 1);
|
|
||||||
exit(-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
ed = (Edje_Part_Description_Proxy*) current_desc;
|
|
||||||
ed->proxy.source_visible = parse_bool(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
st_collections_group_parts_part_description_table_min(void)
|
st_collections_group_parts_part_description_table_min(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue