forked from enlightenment/efl
Edcref: try to give sections titles more context
Also fixed some incorrect @context Changed the @edcsubsection tags so they live in first line of the doccomment, this way you can read them when the file is folded-closed, improving the code readability.
This commit is contained in:
parent
c00875818b
commit
cb84a5f994
|
@ -42,6 +42,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @page edcref Edje Data Collection reference
|
* @page edcref Edje Data Collection reference
|
||||||
|
*
|
||||||
* An Edje Data Collection, it's a plain text file (normally identified with the
|
* An Edje Data Collection, it's a plain text file (normally identified with the
|
||||||
* .edc extension), consisting of instructions for the Edje Compiler.
|
* .edc extension), consisting of instructions for the Edje Compiler.
|
||||||
*
|
*
|
||||||
|
@ -131,6 +132,7 @@
|
||||||
* </ul>
|
* </ul>
|
||||||
* <li>@ref sec_lazedc "LazEDC"</li>
|
* <li>@ref sec_lazedc "LazEDC"</li>
|
||||||
* <ul>
|
* <ul>
|
||||||
|
* <li>@ref sec_lazedc_intro "Intro"</li>
|
||||||
* <li>@ref sec_lazedc_synonyms "Synonyms"</li>
|
* <li>@ref sec_lazedc_synonyms "Synonyms"</li>
|
||||||
* <li>@ref sec_lazedc_shorthand "Shorthand"</li>
|
* <li>@ref sec_lazedc_shorthand "Shorthand"</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
|
@ -759,13 +761,11 @@ New_Statement_Handler statement_handlers[] =
|
||||||
PROGRAM_STATEMENTS("collections.group")
|
PROGRAM_STATEMENTS("collections.group")
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/** @edcsection{lazedc,
|
||||||
@edcsection{lazedc,LazEDC}
|
* LazEDC} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{lazedc_intro,
|
||||||
@edcsubsection{lazedc,LazEDC}
|
* LazEDC Intro} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -823,9 +823,8 @@ New_Statement_Handler statement_handlers[] =
|
||||||
@endblock
|
@endblock
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{lazedc_synonyms,
|
||||||
@edcsubsection{lazedc_synonyms,Synonyms}
|
* LazEDC Synonyms} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -862,9 +861,8 @@ New_Statement_Handler statement_handlers_short[] =
|
||||||
{"collections.group.parts.part.clip", st_collections_group_parts_part_clip_to_id},
|
{"collections.group.parts.part.clip", st_collections_group_parts_part_clip_to_id},
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{lazedc_shorthand,
|
||||||
@edcsubsection{lazedc_shorthand,Shorthand}
|
* LazEDC Shorthand} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -1060,9 +1058,8 @@ New_Object_Handler object_handlers[] =
|
||||||
PROGRAM_OBJECTS("collections.group")
|
PROGRAM_OBJECTS("collections.group")
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{lazedc_blocks,
|
||||||
@edcsubsection{lazedc_blocks,Blocks}
|
* LazEDC Blocks} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -1479,13 +1476,10 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2)
|
||||||
|
|
||||||
/*****/
|
/*****/
|
||||||
|
|
||||||
/**
|
/** @edcsection{toplevel,Top-Level blocks} */
|
||||||
@edcsection{toplevel,Top-Level blocks}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{toplevel_externals,
|
||||||
@edcsubsection{toplevel_externals,Externals}
|
* Externals} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -1557,9 +1551,8 @@ st_externals_external(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{toplevel_images,
|
||||||
@edcsubsection{toplevel_images,Images}
|
* Images} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -1690,9 +1683,8 @@ st_images_image(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{toplevel_images_set,
|
||||||
@edcsubsection{toplevel_images_set,Set}
|
* Images.Set} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -1700,31 +1692,21 @@ st_images_image(void)
|
||||||
@block
|
@block
|
||||||
set
|
set
|
||||||
@context
|
@context
|
||||||
set {
|
images {
|
||||||
name: "image_name_used";
|
..
|
||||||
image {
|
set {
|
||||||
image: "filename3.ext" LOSSY 90;
|
name: "image_name_used";
|
||||||
size: 201 201 500 500;
|
image { }
|
||||||
}
|
image { }
|
||||||
image {
|
...
|
||||||
image: "filename4.ext" COMP;
|
}
|
||||||
size: 51 51 200 200;
|
}
|
||||||
}
|
|
||||||
image {
|
|
||||||
image: "filename5.ext" COMP;
|
|
||||||
size: 11 11 50 50;
|
|
||||||
}
|
|
||||||
image {
|
|
||||||
image: "filename6.ext" RAW;
|
|
||||||
size: 0 0 10 10;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@description
|
@description
|
||||||
The "set" block is used to define an image with different content depending on their size.
|
The "set" block is used to define an image with different content
|
||||||
Besides the document's root, additional "set" blocks can be
|
depending on their size. Besides the document's root, additional
|
||||||
included inside other blocks, normally "collections", "group" and
|
"set" blocks can be included inside other blocks, normally
|
||||||
"part", easing maintenance of the file list when the theme is split
|
"collections", "group" and "part", easing maintenance of the file
|
||||||
among multiple files.
|
list when the theme is split among multiple files.
|
||||||
@endblock
|
@endblock
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
|
@ -1769,9 +1751,8 @@ st_images_set_name(void)
|
||||||
edje_file->image_dir->sets[edje_file->image_dir->sets_count - 1].name = parse_str(0);
|
edje_file->image_dir->sets[edje_file->image_dir->sets_count - 1].name = parse_str(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{toplevel_images_set_image,
|
||||||
@edcsubsection{toplevel_images_set_image,Image}
|
* Images.Set.Image} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -1779,12 +1760,19 @@ st_images_set_name(void)
|
||||||
@block
|
@block
|
||||||
image
|
image
|
||||||
@context
|
@context
|
||||||
image {
|
images {
|
||||||
image: "filename4.ext" COMP;
|
..
|
||||||
size: 51 51 200 200;
|
set {
|
||||||
border: 0 0 0 0;
|
..
|
||||||
border_scale_by: 0.0;
|
image {
|
||||||
}
|
image: "filename4.ext" COMP;
|
||||||
|
size: 51 51 200 200;
|
||||||
|
border: 0 0 0 0;
|
||||||
|
border_scale_by: 0.0;
|
||||||
|
}
|
||||||
|
..
|
||||||
|
}
|
||||||
|
}
|
||||||
@description
|
@description
|
||||||
The "image" block inside a "set" block define the characteristic of an image.
|
The "image" block inside a "set" block define the characteristic of an image.
|
||||||
Every block will describe one image and the size rule to use it.
|
Every block will describe one image and the size rule to use it.
|
||||||
|
@ -1947,9 +1935,8 @@ st_images_set_image_border_scale_by(void)
|
||||||
ed->image.border.scale_by = FROM_DOUBLE(parse_float_range(0, 0.0, 999999999.0));
|
ed->image.border.scale_by = FROM_DOUBLE(parse_float_range(0, 0.0, 999999999.0));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{toplevel_fonts,
|
||||||
@edcsubsection{toplevel_fonts,Fonts}
|
* Fonts} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -2002,9 +1989,8 @@ st_fonts_font(void)
|
||||||
eina_hash_direct_add(edje_file->fonts, fn->name, fn);
|
eina_hash_direct_add(edje_file->fonts, fn->name, fn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{toplevel_data,
|
||||||
@edcsubsection{toplevel_data,Data}
|
* Data} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -2151,9 +2137,8 @@ st_data_file(void)
|
||||||
free(filename);
|
free(filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{toplevel_color_classes,
|
||||||
@edcsubsection{toplevel_color_classes,Color Classes}
|
* Color Classes} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -2301,9 +2286,8 @@ st_color_class_color3(void)
|
||||||
cc->a3 = parse_int_range(3, 0, 255);
|
cc->a3 = parse_int_range(3, 0, 255);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{toplevel_styles,
|
||||||
@edcsubsection{toplevel_styles,Styles}
|
* Styles} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -2427,13 +2411,10 @@ st_styles_style_tag(void)
|
||||||
stl->tags = eina_list_append(stl->tags, tag);
|
stl->tags = eina_list_append(stl->tags, tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsection{collections,Collections Blocks} */
|
||||||
@edcsection{collections,Collections Blocks}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections,
|
||||||
@edcsubsection{collections,Collections Blocks}
|
* Collections Blocks} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -2493,9 +2474,8 @@ st_collections_base_scale(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_sounds,
|
||||||
@edcsubsection{collections_sounds,Sounds}
|
* Sounds} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -2503,47 +2483,99 @@ st_collections_base_scale(void)
|
||||||
sounds
|
sounds
|
||||||
@context
|
@context
|
||||||
sounds {
|
sounds {
|
||||||
sample {
|
tone: "tone-1" 2300;
|
||||||
name: "sound_file1" COMP;
|
tone: "tone-2" 2300;
|
||||||
source: "sound_file1.wav";
|
sample { }
|
||||||
}
|
sample { }
|
||||||
sample {
|
..
|
||||||
name: "sound_file2" LOSSY 0.4;
|
|
||||||
source: "sound_file2.wav";
|
|
||||||
}
|
|
||||||
tone: "tone-1" 2300;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@description
|
@description
|
||||||
The "sounds" block contains a list of one or more sound sample and tones items.
|
The "sounds" block contains a list of one or more sound sample and tones items.
|
||||||
@endblock
|
@endblock
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@edcsubsection{collections_sounds_sample,Sample}
|
@page edcref
|
||||||
|
@property
|
||||||
|
tone
|
||||||
|
@parameters
|
||||||
|
[tone name] [frequency]
|
||||||
|
@effect
|
||||||
|
sound of specific frequency
|
||||||
|
@since 1.1
|
||||||
|
@endproperty
|
||||||
*/
|
*/
|
||||||
|
static void
|
||||||
|
st_collections_group_sound_tone(void)
|
||||||
|
{
|
||||||
|
Edje_Sound_Tone *tone;
|
||||||
|
const char *tmp;
|
||||||
|
unsigned int i;
|
||||||
|
int value;
|
||||||
|
|
||||||
|
check_arg_count(2);
|
||||||
|
|
||||||
|
if (!edje_file->sound_dir)
|
||||||
|
edje_file->sound_dir = mem_alloc(SZ(Edje_Sound_Directory));
|
||||||
|
|
||||||
|
tmp = parse_str(0);
|
||||||
|
/* Audible range 20 to 20KHz */
|
||||||
|
value = parse_int_range(1, 20, 20000);
|
||||||
|
|
||||||
|
/* Check for Tone duplication */
|
||||||
|
for (i = 0; i < edje_file->sound_dir->tones_count; i++)
|
||||||
|
{
|
||||||
|
if (!strcmp(edje_file->sound_dir->tones[i].name, tmp))
|
||||||
|
{
|
||||||
|
ERR("Tone name: %s already exist.", tmp);
|
||||||
|
free((char *)tmp);
|
||||||
|
exit(-1);
|
||||||
|
}
|
||||||
|
if (edje_file->sound_dir->tones[i].value == value)
|
||||||
|
{
|
||||||
|
ERR("Tone name %s with same frequency %d exist.",
|
||||||
|
edje_file->sound_dir->tones[i].name, value);
|
||||||
|
exit(-1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
edje_file->sound_dir->tones_count++;
|
||||||
|
tone = realloc(edje_file->sound_dir->tones,
|
||||||
|
sizeof (Edje_Sound_Tone) *
|
||||||
|
edje_file->sound_dir->tones_count);
|
||||||
|
if (!tone)
|
||||||
|
{
|
||||||
|
ERR("No enough memory.");
|
||||||
|
exit(-1);
|
||||||
|
}
|
||||||
|
edje_file->sound_dir->tones = tone;
|
||||||
|
|
||||||
|
tone = edje_file->sound_dir->tones + edje_file->sound_dir->tones_count - 1;
|
||||||
|
memset(tone, 0, sizeof (Edje_Sound_Tone));
|
||||||
|
|
||||||
|
tone->name = tmp;
|
||||||
|
tone->value = value;
|
||||||
|
tone->id = edje_file->sound_dir->tones_count - 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @edcsubsection{collections_sounds_sample,
|
||||||
|
* Sounds.Sample} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
@block
|
@block
|
||||||
sample
|
sample
|
||||||
@context
|
@context
|
||||||
sample {
|
sounds {
|
||||||
name: "sound_file1" RAW;
|
..
|
||||||
source: "sound_file1.wav";
|
sample {
|
||||||
}
|
name: "sound_file1" RAW;
|
||||||
sample {
|
source: "sound_file1.wav";
|
||||||
name: "sound_file2" LOSSY 0.5;
|
}
|
||||||
source: "sound_file2.wav";
|
sample {
|
||||||
}
|
name: "sound_file2" LOSSY 0.5;
|
||||||
sample {
|
source: "sound_file2.wav";
|
||||||
name: "sound_file3" COMP;
|
}
|
||||||
source: "sound_file3.wav";
|
}
|
||||||
}
|
|
||||||
sample {
|
|
||||||
name: "sound_file4" AS_IS;
|
|
||||||
source: "sound_file1.wav";
|
|
||||||
}
|
|
||||||
@description
|
@description
|
||||||
The sample block defines the sound sample.
|
The sample block defines the sound sample.
|
||||||
@endblock
|
@endblock
|
||||||
|
@ -2648,72 +2680,9 @@ st_collections_group_sound_sample_source(void)
|
||||||
check_arg_count(1);
|
check_arg_count(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
@page edcref
|
|
||||||
@property
|
|
||||||
tone
|
|
||||||
@parameters
|
|
||||||
[tone name] [frequency]
|
|
||||||
@effect
|
|
||||||
sound of specific frequency
|
|
||||||
@since 1.1
|
|
||||||
@endproperty
|
|
||||||
*/
|
|
||||||
static void
|
|
||||||
st_collections_group_sound_tone(void)
|
|
||||||
{
|
|
||||||
Edje_Sound_Tone *tone;
|
|
||||||
const char *tmp;
|
|
||||||
unsigned int i;
|
|
||||||
int value;
|
|
||||||
|
|
||||||
check_arg_count(2);
|
/** @edcsubsection{collections_vibrations,
|
||||||
|
* Vibrations} */
|
||||||
if (!edje_file->sound_dir)
|
|
||||||
edje_file->sound_dir = mem_alloc(SZ(Edje_Sound_Directory));
|
|
||||||
|
|
||||||
tmp = parse_str(0);
|
|
||||||
/* Audible range 20 to 20KHz */
|
|
||||||
value = parse_int_range(1, 20, 20000);
|
|
||||||
|
|
||||||
/* Check for Tone duplication */
|
|
||||||
for (i = 0; i < edje_file->sound_dir->tones_count; i++)
|
|
||||||
{
|
|
||||||
if (!strcmp(edje_file->sound_dir->tones[i].name, tmp))
|
|
||||||
{
|
|
||||||
ERR("Tone name: %s already exist.", tmp);
|
|
||||||
free((char *)tmp);
|
|
||||||
exit(-1);
|
|
||||||
}
|
|
||||||
if (edje_file->sound_dir->tones[i].value == value)
|
|
||||||
{
|
|
||||||
ERR("Tone name %s with same frequency %d exist.",
|
|
||||||
edje_file->sound_dir->tones[i].name, value);
|
|
||||||
exit(-1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
edje_file->sound_dir->tones_count++;
|
|
||||||
tone = realloc(edje_file->sound_dir->tones,
|
|
||||||
sizeof (Edje_Sound_Tone) *
|
|
||||||
edje_file->sound_dir->tones_count);
|
|
||||||
if (!tone)
|
|
||||||
{
|
|
||||||
ERR("No enough memory.");
|
|
||||||
exit(-1);
|
|
||||||
}
|
|
||||||
edje_file->sound_dir->tones = tone;
|
|
||||||
|
|
||||||
tone = edje_file->sound_dir->tones + edje_file->sound_dir->tones_count - 1;
|
|
||||||
memset(tone, 0, sizeof (Edje_Sound_Tone));
|
|
||||||
|
|
||||||
tone->name = tmp;
|
|
||||||
tone->value = value;
|
|
||||||
tone->id = edje_file->sound_dir->tones_count - 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@edcsubsection{collections_vibrations,Vibrations}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -2721,10 +2690,9 @@ st_collections_group_sound_tone(void)
|
||||||
vibrations
|
vibrations
|
||||||
@context
|
@context
|
||||||
vibrations {
|
vibrations {
|
||||||
sample {
|
sample { }
|
||||||
name: "vibration_file1";
|
sample { }
|
||||||
source: "vibration_file1.xxx";
|
..
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@description
|
@description
|
||||||
|
@ -2733,19 +2701,21 @@ st_collections_group_sound_tone(void)
|
||||||
@endblock
|
@endblock
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_vibrations_sample,
|
||||||
@edcsubsection{collections_vibrations_sample,Sample}
|
* Vibrations.Sample} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
@block
|
@block
|
||||||
sample
|
sample
|
||||||
@context
|
@context
|
||||||
sample {
|
vibrations {
|
||||||
name: "vibration_file1";
|
sample {
|
||||||
source: "vibration_file1.xxx";
|
name: "vibration_file1";
|
||||||
}
|
source: "vibration_file1.xxx";
|
||||||
|
}
|
||||||
|
..
|
||||||
|
}
|
||||||
@description
|
@description
|
||||||
The sample block defines the vibration sample.
|
The sample block defines the vibration sample.
|
||||||
@endblock
|
@endblock
|
||||||
|
@ -2893,9 +2863,8 @@ _link_combine(void)
|
||||||
current_program = NULL;
|
current_program = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group,
|
||||||
@edcsubsection{collections_group,Group}
|
* Group} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -3775,9 +3744,8 @@ st_collections_group_program_source(void)
|
||||||
pcp->default_source = parse_str(0);
|
pcp->default_source = parse_str(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_script,
|
||||||
@edcsubsection{collections_group_script,Script}
|
* Group.Script} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -3893,9 +3861,8 @@ st_collections_group_data_item(void)
|
||||||
eina_hash_direct_add(pc->data, key, es);
|
eina_hash_direct_add(pc->data, key, es);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_limits,
|
||||||
@edcsubsection{collections_group_limits,Limits}
|
* Group.Limits} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -3997,9 +3964,8 @@ st_collections_group_limits_horizontal(void)
|
||||||
el->value = parse_int_range(1, 1, 0xffff);
|
el->value = parse_int_range(1, 1, 0xffff);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts,
|
||||||
@edcsubsection{collections_group_parts,Parts}
|
* Group.Parts} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -4041,9 +4007,8 @@ st_collections_group_parts_alias(void)
|
||||||
eina_hash_add(pc->aliased, aliased, alias);
|
eina_hash_add(pc->aliased, aliased, alias);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_part,
|
||||||
@edcsubsection{collections_group_parts_part,Part}
|
* Group.Parts.Part} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -5294,9 +5259,8 @@ st_collections_group_parts_part_access(void)
|
||||||
current_part->access = parse_bool(0);
|
current_part->access = parse_bool(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_dragable,
|
||||||
@edcsubsection{collections_group_parts_dragable,Dragable}
|
* Group.Parts.Part.Dragable} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -5458,9 +5422,8 @@ st_collections_group_parts_part_dragable_events(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_items,
|
||||||
@edcsubsection{collections_group_parts_items,Items}
|
* Group.Parts.Part.Box/Table.Items} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -5956,9 +5919,8 @@ _copied_map_colors_get(Edje_Part_Description_Common *parent)
|
||||||
return colors;
|
return colors;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description,
|
||||||
@edcsubsection{collections_group_parts_description,Description}
|
* Group.Parts.Part.Description} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -6873,9 +6835,8 @@ st_collections_group_parts_part_description_color3(void)
|
||||||
ed->text.color3.a = parse_int_range(3, 0, 255);
|
ed->text.color3.a = parse_int_range(3, 0, 255);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_relatives,
|
||||||
@edcsubsection{collections_group_parts_description_relatives,Relatives (rel1/rel2)}
|
* Group.Parts.Part.Description.Relatives (rel1/rel2)} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -7109,9 +7070,8 @@ st_collections_group_parts_part_description_rel2_to_y(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_image,
|
||||||
@edcsubsection{collections_group_parts_description_image,Image}
|
* Group.Parts.Part.Description.Image} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -7391,28 +7351,21 @@ st_collections_group_parts_part_description_image_scale_hint(void)
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_image_fill,
|
||||||
@edcsubsection{collections_group_parts_description_image_fill,Fill}
|
* Group.Parts.Part.Description.Image.Fill} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
@block
|
@block
|
||||||
fill
|
fill
|
||||||
@context
|
@context
|
||||||
description {
|
image {
|
||||||
..
|
..
|
||||||
fill {
|
fill {
|
||||||
type: SCALE;
|
type: SCALE;
|
||||||
smooth: 0-1;
|
smooth: 0-1;
|
||||||
origin {
|
origin { }
|
||||||
relative: X-axis Y-axis;
|
size { }
|
||||||
offset: X-axis Y-axis;
|
|
||||||
}
|
|
||||||
size {
|
|
||||||
relative: width height;
|
|
||||||
offset: width height;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
..
|
..
|
||||||
}
|
}
|
||||||
|
@ -7576,16 +7529,15 @@ st_collections_group_parts_part_description_fill_type(void)
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_image_fill_origin,
|
||||||
@edcsubsection{collections_group_parts_description_image_fill_origin,Origin}
|
* Group.Parts.Part.Description.Image.Fill.Origin} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
@block
|
@block
|
||||||
origin
|
origin
|
||||||
@context
|
@context
|
||||||
description {
|
image {
|
||||||
..
|
..
|
||||||
fill {
|
fill {
|
||||||
..
|
..
|
||||||
|
@ -7701,16 +7653,15 @@ 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_image_fill_size,Size}
|
* Group.Parts.Part.Description.Image.Fill.Size} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
@block
|
@block
|
||||||
size
|
size
|
||||||
@context
|
@context
|
||||||
description {
|
image {
|
||||||
..
|
..
|
||||||
fill {
|
fill {
|
||||||
..
|
..
|
||||||
|
@ -7829,9 +7780,8 @@ st_collections_group_parts_part_description_fill_size_offset(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_text,
|
||||||
@edcsubsection{collections_group_parts_description_text,Text}
|
* Group.Parts.Part.Description.Text} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -8462,9 +8412,8 @@ st_collections_group_parts_part_description_text_filter(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_box,
|
||||||
@edcsubsection{collections_group_parts_description_box,Box}
|
* Group.Parts.Part.Description.Box} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -8617,9 +8566,8 @@ st_collections_group_parts_part_description_box_min(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_table,
|
||||||
@edcsubsection{collections_group_parts_description_table,Table}
|
* Group.Parts.Part.Description.Table} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -8799,9 +8747,8 @@ st_collections_group_parts_part_description_table_min(void)
|
||||||
ed->table.min.v = parse_bool(1);
|
ed->table.min.v = parse_bool(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_physics,
|
||||||
@edcsubsection{collections_group_parts_description_physics,Physics}
|
* Group.Parts.Part.Description.Physics} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -8823,12 +8770,8 @@ st_collections_group_parts_part_description_table_min(void)
|
||||||
light_on: 1;
|
light_on: 1;
|
||||||
z: -15;
|
z: -15;
|
||||||
depth: 30;
|
depth: 30;
|
||||||
movement_freedom {
|
movement_freedom { }
|
||||||
..
|
faces { }
|
||||||
}
|
|
||||||
faces {
|
|
||||||
..
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
..
|
..
|
||||||
}
|
}
|
||||||
|
@ -9189,17 +9132,14 @@ st_collections_group_parts_part_description_physics_backface_cull(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_physics_movement_freedom,
|
||||||
@edcsubsection{collections_group_parts_description_physics_movement_freedom,Movement Freedom}
|
* Group.Parts.Part.Description.Physics.Movement Freedom} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
@block
|
@block
|
||||||
movement_freedom
|
movement_freedom
|
||||||
@context
|
@context
|
||||||
description {
|
|
||||||
..
|
|
||||||
physics {
|
physics {
|
||||||
...
|
...
|
||||||
movement_freedom {
|
movement_freedom {
|
||||||
|
@ -9208,8 +9148,6 @@ st_collections_group_parts_part_description_physics_backface_cull(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
..
|
..
|
||||||
}
|
|
||||||
|
|
||||||
@description
|
@description
|
||||||
The "movement_freedom" block consists of two blocks to describe all
|
The "movement_freedom" block consists of two blocks to describe all
|
||||||
the allowed movements for a body.
|
the allowed movements for a body.
|
||||||
|
@ -9265,19 +9203,22 @@ st_collections_group_parts_part_description_physics_movement_freedom_angular(voi
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_physics_faces,
|
||||||
@edcsubsection{collections_group_parts_description_physics_faces,Faces}
|
* Group.Parts.Part.Description.Physics.Faces} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
@block
|
@block
|
||||||
faces
|
faces
|
||||||
@context
|
@context
|
||||||
faces {
|
physics {
|
||||||
face {
|
...
|
||||||
type: BOX_FRONT;
|
faces {
|
||||||
source: "groupname";
|
face {
|
||||||
|
type: BOX_FRONT;
|
||||||
|
source: "groupname";
|
||||||
|
}
|
||||||
|
..
|
||||||
}
|
}
|
||||||
..
|
..
|
||||||
}
|
}
|
||||||
|
@ -9397,9 +9338,8 @@ st_collections_group_parts_part_description_physics_face_source(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_map,
|
||||||
@edcsubsection{collections_group_parts_description_map,Map}
|
* Group.Parts.Part.Description.Map} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -9655,9 +9595,8 @@ st_collections_group_parts_part_description_map_color(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_map_rotation,
|
||||||
@edcsubsection{collections_group_parts_description_map_rotation,Rotation}
|
* Group.Parts.Part.Description.Map.Rotation} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -9721,7 +9660,7 @@ st_collections_group_parts_part_description_map_rotation_center(void)
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
st_collections_group_parts_part_description_map_rotation_x(void)
|
st_collections_group_parts_part_description_map_rotation_x(void)
|
||||||
{
|
|
||||||
check_arg_count(1);
|
check_arg_count(1);
|
||||||
|
|
||||||
current_desc->map.rot.x = FROM_DOUBLE(parse_float(0));
|
current_desc->map.rot.x = FROM_DOUBLE(parse_float(0));
|
||||||
|
@ -9765,9 +9704,8 @@ st_collections_group_parts_part_description_map_rotation_z(void)
|
||||||
current_desc->map.rot.z = FROM_DOUBLE(parse_float(0));
|
current_desc->map.rot.z = FROM_DOUBLE(parse_float(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_perspective,
|
||||||
@edcsubsection{collections_group_parts_description_perspective,Perspective}
|
* Group.Parts.Part.Description.Perspective} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -9825,9 +9763,8 @@ st_collections_group_parts_part_description_perspective_focal(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_descriptions_params,
|
||||||
@edcsubsection{collections_group_parts_descriptions_params,Params}
|
* Group.Parts.Part.Description.Params} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -10000,16 +9937,15 @@ st_collections_group_parts_part_description_params_choice(void)
|
||||||
_st_collections_group_parts_part_description_params(EDJE_EXTERNAL_PARAM_TYPE_CHOICE);
|
_st_collections_group_parts_part_description_params(EDJE_EXTERNAL_PARAM_TYPE_CHOICE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_parts_description_links,
|
||||||
@edcsubsection{collections_group_parts_description_links,Links}
|
* Group.Parts.Part.Description.Links} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
@block
|
@block
|
||||||
link
|
link
|
||||||
@context
|
@context
|
||||||
desc { "default";
|
description {
|
||||||
..
|
..
|
||||||
link {
|
link {
|
||||||
base: "edje,signal" "edje";
|
base: "edje,signal" "edje";
|
||||||
|
@ -10111,7 +10047,27 @@ st_collections_group_parts_part_description_link_base(void)
|
||||||
eina_hash_list_append(pcp->link_hash, buf, el);
|
eina_hash_list_append(pcp->link_hash, buf, el);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @edcsubsection{collections_group_programs,
|
||||||
|
* Group.Programs} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
@page edcref
|
||||||
|
@block
|
||||||
|
programs
|
||||||
|
@context
|
||||||
|
group {
|
||||||
|
programs {
|
||||||
|
..
|
||||||
|
program { }
|
||||||
|
program { }
|
||||||
|
program { }
|
||||||
|
..
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@description
|
||||||
|
The programs group contain one ore more program.
|
||||||
|
@endblock
|
||||||
|
*/
|
||||||
static void
|
static void
|
||||||
_program_sequence_check(void)
|
_program_sequence_check(void)
|
||||||
{
|
{
|
||||||
|
@ -10164,33 +10120,30 @@ _program_sequence_new(void)
|
||||||
return current_program = ep;
|
return current_program = ep;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_programs_program,
|
||||||
@edcsubsection{collections_group_programs,Programs}
|
* Group.Programs.Program} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
@block
|
@block
|
||||||
programs
|
program
|
||||||
@context
|
@context
|
||||||
group {
|
programs {
|
||||||
programs {
|
..
|
||||||
..
|
program {
|
||||||
program {
|
name: "programname";
|
||||||
name: "programname";
|
signal: "signalname";
|
||||||
signal: "signalname";
|
source: "partname";
|
||||||
source: "partname";
|
filter: "partname" "statename";
|
||||||
filter: "partname" "statename";
|
in: 0.3 0.0;
|
||||||
in: 0.3 0.0;
|
action: STATE_SET "statename" state_value;
|
||||||
action: STATE_SET "statename" state_value;
|
transition: LINEAR 0.5;
|
||||||
transition: LINEAR 0.5;
|
target: "partname";
|
||||||
target: "partname";
|
target: "anotherpart";
|
||||||
target: "anotherpart";
|
after: "programname";
|
||||||
after: "programname";
|
after: "anotherprogram";
|
||||||
after: "anotherprogram";
|
|
||||||
}
|
|
||||||
..
|
|
||||||
}
|
}
|
||||||
|
..
|
||||||
}
|
}
|
||||||
@description
|
@description
|
||||||
Programs define how your interface reacts to events.
|
Programs define how your interface reacts to events.
|
||||||
|
@ -11004,9 +10957,8 @@ st_collections_group_programs_program_api(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_program_sequence,
|
||||||
@edcsubsection{collections_group_program_sequence,Sequence}
|
* Group.Programs.Program.Sequence} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -11139,9 +11091,8 @@ ob_collections_group_programs_program_script(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_physics,
|
||||||
@edcsubsection{collections_group_physics,Physics}
|
* Group.Physics} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
@ -11163,9 +11114,8 @@ ob_collections_group_programs_program_script(void)
|
||||||
@endblock
|
@endblock
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/** @edcsubsection{collections_group_physics_world,
|
||||||
@edcsubsection{collections_group_physics_world,World}
|
* Group.Physics.World} */
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@page edcref
|
@page edcref
|
||||||
|
|
Loading…
Reference in New Issue