summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-26 16:15:30 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-26 16:15:30 -0500
commit3e376bdc5f1663dc62d4980832a43048c692cbf3 (patch)
treed239a056a95e3060c4dd5feaca93531d73bc680d
parente62ac0f10b5e3b00b681292c6cd5fb34f25ee3d4 (diff)
edje: reformat bin/ c files
a lot of this was unreadable due to mixed tabs/spaces or just random formatting
-rw-r--r--src/bin/edje/edje_cc.c328
-rw-r--r--src/bin/edje/edje_cc_handlers.c6339
-rw-r--r--src/bin/edje/edje_cc_mem.c1
-rw-r--r--src/bin/edje/edje_cc_out.c1237
-rw-r--r--src/bin/edje/edje_cc_parse.c263
-rw-r--r--src/bin/edje/edje_cc_script.c103
-rw-r--r--src/bin/edje/edje_cc_sources.c191
-rw-r--r--src/bin/edje/edje_codegen.c1084
-rw-r--r--src/bin/edje/edje_convert.c397
-rw-r--r--src/bin/edje/edje_convert_main.c105
-rw-r--r--src/bin/edje/edje_data_convert.c45
-rw-r--r--src/bin/edje/edje_decc.c544
-rw-r--r--src/bin/edje/edje_external_inspector.c322
-rw-r--r--src/bin/edje/edje_inspector.c649
-rw-r--r--src/bin/edje/edje_multisense_convert.c32
-rw-r--r--src/bin/edje/edje_pick.c897
-rw-r--r--src/bin/edje/edje_player.c5
-rw-r--r--src/bin/edje/edje_watch.c7
18 files changed, 6446 insertions, 6103 deletions
diff --git a/src/bin/edje/edje_cc.c b/src/bin/edje/edje_cc.c
index 428eacba0b..52d2e28af1 100644
--- a/src/bin/edje/edje_cc.c
+++ b/src/bin/edje/edje_cc.c
@@ -16,7 +16,7 @@
16int _edje_cc_log_dom = -1; 16int _edje_cc_log_dom = -1;
17static void main_help(void); 17static void main_help(void);
18 18
19Eina_Prefix *pfx = NULL; 19Eina_Prefix *pfx = NULL;
20Eina_List *snd_dirs = NULL; 20Eina_List *snd_dirs = NULL;
21Eina_List *mo_dirs = NULL; 21Eina_List *mo_dirs = NULL;
22Eina_List *vibration_dirs = NULL; 22Eina_List *vibration_dirs = NULL;
@@ -25,29 +25,29 @@ Eina_List *model_dirs = NULL;
25Eina_List *fnt_dirs = NULL; 25Eina_List *fnt_dirs = NULL;
26Eina_List *data_dirs = NULL; 26Eina_List *data_dirs = NULL;
27Eina_List *defines = NULL; 27Eina_List *defines = NULL;
28char *file_in = NULL; 28char *file_in = NULL;
29char *tmp_dir = NULL; 29char *tmp_dir = NULL;
30char *file_out = NULL; 30char *file_out = NULL;
31char *watchfile = NULL; 31char *watchfile = NULL;
32char *depfile = NULL; 32char *depfile = NULL;
33char *authors = NULL; 33char *authors = NULL;
34char *license = NULL; 34char *license = NULL;
35Eina_List *licenses = NULL; 35Eina_List *licenses = NULL;
36 36
37static const char *progname = NULL; 37static const char *progname = NULL;
38 38
39int no_lossy = 0; 39int no_lossy = 0;
40int no_comp = 0; 40int no_comp = 0;
41int no_raw = 0; 41int no_raw = 0;
42int no_save = 0; 42int no_save = 0;
43int min_quality = 0; 43int min_quality = 0;
44int max_quality = 100; 44int max_quality = 100;
45int compress_mode = EET_COMPRESSION_HI; 45int compress_mode = EET_COMPRESSION_HI;
46int threads = 0; 46int threads = 0;
47int annotate = 0; 47int annotate = 0;
48int no_etc1 = 0; 48int no_etc1 = 0;
49int no_etc2 = 0; 49int no_etc2 = 0;
50int beta = 0; 50int beta = 0;
51 51
52unsigned int max_open_files; 52unsigned int max_open_files;
53 53
@@ -70,16 +70,19 @@ _edje_cc_log_cb(const Eina_Log_Domain *d,
70 switch (level) 70 switch (level)
71 { 71 {
72 case EINA_LOG_LEVEL_CRITICAL: 72 case EINA_LOG_LEVEL_CRITICAL:
73 prefix = "Critical. "; 73 prefix = "Critical. ";
74 break; 74 break;
75
75 case EINA_LOG_LEVEL_ERR: 76 case EINA_LOG_LEVEL_ERR:
76 prefix = "Error. "; 77 prefix = "Error. ";
77 break; 78 break;
79
78 case EINA_LOG_LEVEL_WARN: 80 case EINA_LOG_LEVEL_WARN:
79 prefix = "Warning. "; 81 prefix = "Warning. ";
80 break; 82 break;
83
81 default: 84 default:
82 prefix = ""; 85 prefix = "";
83 } 86 }
84 fprintf(stderr, "%s: %s", progname, prefix); 87 fprintf(stderr, "%s: %s", progname, prefix);
85 eina_log_console_color_set(stderr, EINA_COLOR_RESET); 88 eina_log_console_color_set(stderr, EINA_COLOR_RESET);
@@ -127,7 +130,7 @@ main_help(void)
127 "-threads Compile the edje file using multiple parallel threads (by default)\n" 130 "-threads Compile the edje file using multiple parallel threads (by default)\n"
128 "-nothreads Compile the edje file using only the main loop\n" 131 "-nothreads Compile the edje file using only the main loop\n"
129 "-V [--version] show program version\n" 132 "-V [--version] show program version\n"
130 ,progname); 133 , progname);
131} 134}
132 135
133int 136int
@@ -147,11 +150,11 @@ main(int argc, char **argv)
147 return -1; 150 return -1;
148 151
149 _edje_cc_log_dom = eina_log_domain_register 152 _edje_cc_log_dom = eina_log_domain_register
150 ("edje_cc", EDJE_CC_DEFAULT_LOG_COLOR); 153 ("edje_cc", EDJE_CC_DEFAULT_LOG_COLOR);
151 if (_edje_cc_log_dom < 0) 154 if (_edje_cc_log_dom < 0)
152 { 155 {
153 EINA_LOG_ERR("Enable to create a log domain."); 156 EINA_LOG_ERR("Enable to create a log domain.");
154 exit(-1); 157 exit(-1);
155 } 158 }
156 if (!eina_log_domain_level_check(_edje_cc_log_dom, EINA_LOG_LEVEL_WARN)) 159 if (!eina_log_domain_level_check(_edje_cc_log_dom, EINA_LOG_LEVEL_WARN))
157 eina_log_domain_level_set("edje_cc", EINA_LOG_LEVEL_WARN); 160 eina_log_domain_level_set("edje_cc", EINA_LOG_LEVEL_WARN);
@@ -170,27 +173,27 @@ main(int argc, char **argv)
170 173
171 for (i = 1; i < argc; i++) 174 for (i = 1; i < argc; i++)
172 { 175 {
173 if (!strcmp(argv[i], "-h")) 176 if (!strcmp(argv[i], "-h"))
174 { 177 {
175 main_help(); 178 main_help();
176 exit(0); 179 exit(0);
177 } 180 }
178 else if ((!strcmp(argv[i], "-V")) || (!strcmp(argv[i], "--version"))) 181 else if ((!strcmp(argv[i], "-V")) || (!strcmp(argv[i], "--version")))
179 { 182 {
180 printf("Version: %s\n", PACKAGE_VERSION); 183 printf("Version: %s\n", PACKAGE_VERSION);
181 exit(0); 184 exit(0);
182 } 185 }
183 else if (!strcmp(argv[i], "-v")) 186 else if (!strcmp(argv[i], "-v"))
184 { 187 {
185 eina_log_domain_level_set("edje_cc", EINA_LOG_LEVEL_INFO); 188 eina_log_domain_level_set("edje_cc", EINA_LOG_LEVEL_INFO);
186 } 189 }
187 else if (!strcmp(argv[i], "-no-lossy")) 190 else if (!strcmp(argv[i], "-no-lossy"))
188 { 191 {
189 no_lossy = 1; 192 no_lossy = 1;
190 } 193 }
191 else if (!strcmp(argv[i], "-no-comp")) 194 else if (!strcmp(argv[i], "-no-comp"))
192 { 195 {
193 no_comp = 1; 196 no_comp = 1;
194 } 197 }
195 else if (!strcmp(argv[i], "-no-raw")) 198 else if (!strcmp(argv[i], "-no-raw"))
196 { 199 {
@@ -204,25 +207,25 @@ main(int argc, char **argv)
204 { 207 {
205 no_etc2 = 1; 208 no_etc2 = 1;
206 } 209 }
207 else if (!strcmp(argv[i], "-no-save")) 210 else if (!strcmp(argv[i], "-no-save"))
208 { 211 {
209 no_save = 1; 212 no_save = 1;
210 } 213 }
211 else if ((!strcmp(argv[i], "-id") || !strcmp(argv[i], "--image_dir")) && (i < (argc - 1))) 214 else if ((!strcmp(argv[i], "-id") || !strcmp(argv[i], "--image_dir")) && (i < (argc - 1)))
212 { 215 {
213 i++; 216 i++;
214 img_dirs = eina_list_append(img_dirs, argv[i]); 217 img_dirs = eina_list_append(img_dirs, argv[i]);
215 } 218 }
216 else if ((!strcmp(argv[i], "-mod") || !strcmp(argv[i], "--model_dir")) && (i < (argc - 1))) 219 else if ((!strcmp(argv[i], "-mod") || !strcmp(argv[i], "--model_dir")) && (i < (argc - 1)))
217 { 220 {
218 i++; 221 i++;
219 model_dirs = eina_list_append(model_dirs, argv[i]); 222 model_dirs = eina_list_append(model_dirs, argv[i]);
220 } 223 }
221 else if ((!strcmp(argv[i], "-fd") || !strcmp(argv[i], "--font_dir")) && (i < (argc - 1))) 224 else if ((!strcmp(argv[i], "-fd") || !strcmp(argv[i], "--font_dir")) && (i < (argc - 1)))
222 { 225 {
223 i++; 226 i++;
224 fnt_dirs = eina_list_append(fnt_dirs, argv[i]); 227 fnt_dirs = eina_list_append(fnt_dirs, argv[i]);
225 } 228 }
226 else if ((!strcmp(argv[i], "-sd") || !strcmp(argv[i], "--sound_dir")) && (i < (argc - 1))) 229 else if ((!strcmp(argv[i], "-sd") || !strcmp(argv[i], "--sound_dir")) && (i < (argc - 1)))
227 { 230 {
228 i++; 231 i++;
@@ -243,12 +246,12 @@ main(int argc, char **argv)
243 i++; 246 i++;
244 data_dirs = eina_list_append(data_dirs, argv[i]); 247 data_dirs = eina_list_append(data_dirs, argv[i]);
245 } 248 }
246 else if ((!strcmp(argv[i], "-td") || !strcmp(argv[i], "--tmp_dir")) && (i < (argc - 1))) 249 else if ((!strcmp(argv[i], "-td") || !strcmp(argv[i], "--tmp_dir")) && (i < (argc - 1)))
247 { 250 {
248 i++; 251 i++;
249 if (!tmp_dir) 252 if (!tmp_dir)
250 tmp_dir = argv[i]; 253 tmp_dir = argv[i];
251 } 254 }
252 else if ((!strcmp(argv[i], "-l") || !strcmp(argv[i], "--license")) && (i < (argc - 1))) 255 else if ((!strcmp(argv[i], "-l") || !strcmp(argv[i], "--license")) && (i < (argc - 1)))
253 { 256 {
254 i++; 257 i++;
@@ -263,88 +266,88 @@ main(int argc, char **argv)
263 if (!authors) 266 if (!authors)
264 authors = argv[i]; 267 authors = argv[i];
265 } 268 }
266 else if ((!strcmp(argv[i], "-min-quality")) && (i < (argc - 1))) 269 else if ((!strcmp(argv[i], "-min-quality")) && (i < (argc - 1)))
267 { 270 {
268 i++; 271 i++;
269 min_quality = atoi(argv[i]); 272 min_quality = atoi(argv[i]);
270 if (min_quality < 0) min_quality = 0; 273 if (min_quality < 0) min_quality = 0;
271 if (min_quality > 100) min_quality = 100; 274 if (min_quality > 100) min_quality = 100;
272 } 275 }
273 else if ((!strcmp(argv[i], "-max-quality")) && (i < (argc - 1))) 276 else if ((!strcmp(argv[i], "-max-quality")) && (i < (argc - 1)))
274 { 277 {
275 i++; 278 i++;
276 max_quality = atoi(argv[i]); 279 max_quality = atoi(argv[i]);
277 if (max_quality < 0) max_quality = 0; 280 if (max_quality < 0) max_quality = 0;
278 if (max_quality > 100) max_quality = 100; 281 if (max_quality > 100) max_quality = 100;
279 } 282 }
280 else if (!strcmp(argv[i], "-fastcomp")) 283 else if (!strcmp(argv[i], "-fastcomp"))
281 { 284 {
282 compress_mode = EET_COMPRESSION_SUPERFAST; 285 compress_mode = EET_COMPRESSION_SUPERFAST;
283 } 286 }
284 else if (!strcmp(argv[i], "-fastdecomp")) 287 else if (!strcmp(argv[i], "-fastdecomp"))
285 { 288 {
286 compress_mode = EET_COMPRESSION_VERYFAST; 289 compress_mode = EET_COMPRESSION_VERYFAST;
287 } 290 }
288 else if (!strcmp(argv[i], "-threads")) 291 else if (!strcmp(argv[i], "-threads"))
289 { 292 {
290 threads = 1; 293 threads = 1;
291 } 294 }
292 else if (!strcmp(argv[i], "-nothreads")) 295 else if (!strcmp(argv[i], "-nothreads"))
293 { 296 {
294 threads = 0; 297 threads = 0;
295 } 298 }
296 else if (!strncmp(argv[i], "-D", 2)) 299 else if (!strncmp(argv[i], "-D", 2))
297 { 300 {
298 defines = eina_list_append(defines, mem_strdup(argv[i])); 301 defines = eina_list_append(defines, mem_strdup(argv[i]));
299 } 302 }
300 else if ((!strcmp(argv[i], "-o")) && (i < (argc - 1))) 303 else if ((!strcmp(argv[i], "-o")) && (i < (argc - 1)))
301 { 304 {
302 i++; 305 i++;
303 file_out = argv[i]; 306 file_out = argv[i];
304 } 307 }
305 else if ((!strcmp(argv[i], "-w")) && (i < (argc - 1))) 308 else if ((!strcmp(argv[i], "-w")) && (i < (argc - 1)))
306 { 309 {
307 i++; 310 i++;
308 watchfile = argv[i]; 311 watchfile = argv[i];
309 unlink(watchfile); 312 unlink(watchfile);
310 } 313 }
311 else if (!strcmp(argv[i], "-annotate")) 314 else if (!strcmp(argv[i], "-annotate"))
312 { 315 {
313 annotate = 1; 316 annotate = 1;
314 } 317 }
315 else if ((!strcmp(argv[i], "-deps")) && (i < (argc - 1))) 318 else if ((!strcmp(argv[i], "-deps")) && (i < (argc - 1)))
316 { 319 {
317 i++; 320 i++;
318 depfile = argv[i]; 321 depfile = argv[i];
319 unlink(depfile); 322 unlink(depfile);
320 } 323 }
321 else if (!strcmp(argv[i], "-beta")) 324 else if (!strcmp(argv[i], "-beta"))
322 { 325 {
323 beta = 1; 326 beta = 1;
324 } 327 }
325 else if (!file_in) 328 else if (!file_in)
326 file_in = argv[i]; 329 file_in = argv[i];
327 else if (!file_out) 330 else if (!file_out)
328 file_out = argv[i]; 331 file_out = argv[i];
329 } 332 }
330 333
331 if (!file_in) 334 if (!file_in)
332 { 335 {
333 ERR("no input file specified."); 336 ERR("no input file specified.");
334 main_help(); 337 main_help();
335 exit(-1); 338 exit(-1);
336 } 339 }
337 340
338 pfx = eina_prefix_new(argv[0], /* argv[0] value (optional) */ 341 pfx = eina_prefix_new(argv[0], /* argv[0] value (optional) */
339 main, /* an optional symbol to check path of */ 342 main, /* an optional symbol to check path of */
340 "EDJE", /* env var prefix to use (XXX_PREFIX, XXX_BIN_DIR etc. */ 343 "EDJE", /* env var prefix to use (XXX_PREFIX, XXX_BIN_DIR etc. */
341 "edje", /* dir to add after "share" (PREFIX/share/DIRNAME) */ 344 "edje", /* dir to add after "share" (PREFIX/share/DIRNAME) */
342 "include/edje.inc", /* a magic file to check for in PREFIX/share/DIRNAME for success */ 345 "include/edje.inc", /* a magic file to check for in PREFIX/share/DIRNAME for success */
343 PACKAGE_BIN_DIR, /* package bin dir @ compile time */ 346 PACKAGE_BIN_DIR, /* package bin dir @ compile time */
344 PACKAGE_LIB_DIR, /* package lib dir @ compile time */ 347 PACKAGE_LIB_DIR, /* package lib dir @ compile time */
345 PACKAGE_DATA_DIR, /* package data dir @ compile time */ 348 PACKAGE_DATA_DIR, /* package data dir @ compile time */
346 PACKAGE_DATA_DIR /* if locale needed use LOCALE_DIR */ 349 PACKAGE_DATA_DIR /* if locale needed use LOCALE_DIR */
347 ); 350 );
348 351
349 /* check whether file_in exists */ 352 /* check whether file_in exists */
350#ifdef HAVE_REALPATH 353#ifdef HAVE_REALPATH
@@ -353,41 +356,41 @@ main(int argc, char **argv)
353 if (stat(file_in, &st) || !S_ISREG(st.st_mode)) 356 if (stat(file_in, &st) || !S_ISREG(st.st_mode))
354#endif 357#endif
355 { 358 {
356 ERR("file not found: %s.", file_in); 359 ERR("file not found: %s.", file_in);
357 main_help(); 360 main_help();
358 exit(-1); 361 exit(-1);
359 } 362 }
360 363
361 if (!file_out) 364 if (!file_out)
362 { 365 {
363 char *suffix; 366 char *suffix;
364 367
365 if ((suffix = strstr(file_in,".edc")) && (suffix[4] == 0)) 368 if ((suffix = strstr(file_in, ".edc")) && (suffix[4] == 0))
366 { 369 {
367 file_out = strdup(file_in); 370 file_out = strdup(file_in);
368 if (file_out) 371 if (file_out)
369 { 372 {
370 suffix = strstr(file_out,".edc"); 373 suffix = strstr(file_out, ".edc");
371 strcpy(suffix,".edj"); 374 strcpy(suffix, ".edj");
372 } 375 }
373 } 376 }
374 } 377 }
375 if (!file_out) 378 if (!file_out)
376 { 379 {
377 ERR("no output file specified."); 380 ERR("no output file specified.");
378 main_help(); 381 main_help();
379 exit(-1); 382 exit(-1);
380 } 383 }
381 384
382#ifdef HAVE_REALPATH 385#ifdef HAVE_REALPATH
383 if (realpath(file_out, rpath2) && !strcmp (rpath, rpath2)) 386 if (realpath(file_out, rpath2) && !strcmp(rpath, rpath2))
384#else 387#else
385 if (!strcmp (file_in, file_out)) 388 if (!strcmp(file_in, file_out))
386#endif 389#endif
387 { 390 {
388 ERR("input file equals output file."); 391 ERR("input file equals output file.");
389 main_help(); 392 main_help();
390 exit(-1); 393 exit(-1);
391 } 394 }
392 395
393 using_file(file_in, 'E'); 396 using_file(file_in, 'E');
@@ -401,10 +404,10 @@ main(int argc, char **argv)
401 edje_file->version = EDJE_FILE_VERSION; 404 edje_file->version = EDJE_FILE_VERSION;
402 edje_file->minor = EDJE_FILE_MINOR; 405 edje_file->minor = EDJE_FILE_MINOR;
403 edje_file->feature_ver = 1; /* increment this every time we add a field 406 edje_file->feature_ver = 1; /* increment this every time we add a field
404 * or feature to the edje file format that 407 * or feature to the edje file format that
405 * does not load nicely as a NULL or 0 value 408 * does not load nicely as a NULL or 0 value
406 * and needs a special fallback initialization 409 * and needs a special fallback initialization
407 */ 410 */
408 /* efl_version is used for specify efl's version 411 /* efl_version is used for specify efl's version
409 * which was used for developing a edje file. 412 * which was used for developing a edje file.
410 * It is useful if Edje(or other EFL libs) need to keep 413 * It is useful if Edje(or other EFL libs) need to keep
@@ -441,10 +444,11 @@ main(int argc, char **argv)
441 444
442 eina_prefix_free(pfx); 445 eina_prefix_free(pfx);
443 pfx = NULL; 446 pfx = NULL;
444 447
445 edje_shutdown(); 448 edje_shutdown();
446 eina_log_domain_unregister(_edje_cc_log_dom); 449 eina_log_domain_unregister(_edje_cc_log_dom);
447 eina_shutdown(); 450 eina_shutdown();
448 451
449 return 0; 452 return 0;
450} 453}
454
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 1c5cfcd88f..6786104269 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -7,24 +7,24 @@
7 this means that missing one or changing the order most certainly cause 7 this means that missing one or changing the order most certainly cause
8 formatting errors. 8 formatting errors.
9 9
10 \@block 10 \@block
11 block name 11 block name
12 \@context 12 \@context
13 code sample of the block 13 code sample of the block
14 \@description 14 \@description
15 the block's description 15 the block's description
16 \@since X.X 16 \@since X.X
17 \@endblock 17 \@endblock
18 18
19 \@property 19 \@property
20 property name 20 property name
21 \@parameters 21 \@parameters
22 property's parameter list 22 property's parameter list
23 \@effect 23 \@effect
24 the property description (lol) 24 the property description (lol)
25 \@since X.X 25 \@since X.X
26 \@endproperty 26 \@endproperty
27*/ 27 */
28 28
29#ifdef HAVE_CONFIG_H 29#ifdef HAVE_CONFIG_H
30# include "config.h" 30# include "config.h"
@@ -174,856 +174,883 @@ Eina_List *po_files;
174 174
175static Eina_Hash *desc_hash = NULL; 175static Eina_Hash *desc_hash = NULL;
176 176
177struct _Edje_Cc_Handlers_Hierarchy_Info 177struct _Edje_Cc_Handlers_Hierarchy_Info /* Struct that keeps globals value to impl hierarchy */
178{ /* Struct that keeps globals value to impl hierarchy */ 178{
179 Edje_Part_Collection_Directory_Entry *current_de; 179 Edje_Part_Collection_Directory_Entry *current_de;
180 Edje_Part *current_part; 180 Edje_Part *current_part;
181 Edje_Pack_Element *current_item; 181 Edje_Pack_Element *current_item;
182 Edje_Part_Description_Common *current_desc; 182 Edje_Part_Description_Common *current_desc;
183 Edje_Part_Description_Common *parent_desc; 183 Edje_Part_Description_Common *parent_desc;
184 Edje_Program *current_program; 184 Edje_Program *current_program;
185 Edje_Part *ep; 185 Edje_Part *ep;
186}; 186};
187typedef struct _Edje_Cc_Handlers_Hierarchy_Info Edje_Cc_Handlers_Hierarchy_Info; 187typedef struct _Edje_Cc_Handlers_Hierarchy_Info Edje_Cc_Handlers_Hierarchy_Info;
188 188
189static Eina_Array *part_hierarchy = NULL; /* stack parts,support nested parts */ 189static Eina_Array *part_hierarchy = NULL; /* stack parts,support nested parts */
190static void edje_cc_handlers_hierarchy_set(Edje_Part *src); 190static void edje_cc_handlers_hierarchy_set(Edje_Part *src);
191static Edje_Part *edje_cc_handlers_hierarchy_parent_get(void); 191static Edje_Part *edje_cc_handlers_hierarchy_parent_get(void);
192static void edje_cc_handlers_hierarchy_push(Edje_Part *ep, Edje_Part *cp); 192static void edje_cc_handlers_hierarchy_push(Edje_Part *ep, Edje_Part *cp);
193static void edje_cc_handlers_hierarchy_rename(Edje_Part *old, Edje_Part *new); 193static void edje_cc_handlers_hierarchy_rename(Edje_Part *old, Edje_Part *new);
194static void edje_cc_handlers_hierarchy_pop(void); 194static void edje_cc_handlers_hierarchy_pop(void);
195 195
196static void _program_target_add(char *name); 196static void _program_target_add(char *name);
197static void _program_after(const char *name); 197static void _program_after(const char *name);
198static void _program_free(Edje_Program *pr); 198static void _program_free(Edje_Program *pr);
199static Eina_Bool _program_remove(const char *name, Edje_Program **pgrms, unsigned int count); 199static Eina_Bool _program_remove(const char *name, Edje_Program **pgrms, unsigned int count);
200 200
201static void * _part_free(Edje_Part_Collection *pc, Edje_Part *ep); 201static void *_part_free(Edje_Part_Collection *pc, Edje_Part *ep);
202 202
203static void check_has_anchors(void); 203static void check_has_anchors(void);
204 204
205static void st_efl_version(void); 205static void st_efl_version(void);
206static void st_externals_external(void); 206static void st_externals_external(void);
207 207
208static void st_images_image(void); 208static void st_images_image(void);
209static void ob_images_set(void); 209static void ob_images_set(void);
210static void st_images_set_name(void); 210static void st_images_set_name(void);
211static void ob_images_set_image(void); 211static void ob_images_set_image(void);
212static void st_images_set_image_image(void); 212static void st_images_set_image_image(void);
213static void st_images_set_image_size(void); 213static void st_images_set_image_size(void);
214static void st_images_set_image_border(void); 214static void st_images_set_image_border(void);
215static void st_images_set_image_border_scale_by(void); 215static void st_images_set_image_border_scale_by(void);
216 216
217static void st_models_model(void); 217static void st_models_model(void);
218 218
219static void st_fonts_font(void); 219static void st_fonts_font(void);
220 220
221static void st_data_item(void); 221static void st_data_item(void);
222static void st_data_file(void); 222static void st_data_file(void);
223 223
224static void ob_styles_style(void); 224static void ob_styles_style(void);
225static void st_styles_style_name(void); 225static void st_styles_style_name(void);
226static void st_styles_style_base(void); 226static void st_styles_style_base(void);
227static void st_styles_style_tag(void); 227static void st_styles_style_tag(void);
228 228
229static void ob_color_tree(void); 229static void ob_color_tree(void);
230 230
231static void ob_color_class(void); 231static void ob_color_class(void);
232static void st_color_class_name(void); 232static void st_color_class_name(void);
233static void st_color_class_color(void); 233static void st_color_class_color(void);
234static void st_color_class_color2(void); 234static void st_color_class_color2(void);
235static void st_color_class_color3(void); 235static void st_color_class_color3(void);
236static void st_color_class_desc(void); 236static void st_color_class_desc(void);
237 237
238static void ob_text_class(void); 238static void ob_text_class(void);
239static void st_text_class_name(void); 239static void st_text_class_name(void);
240static void st_text_class_font(void); 240static void st_text_class_font(void);
241static void st_text_class_size(void); 241static void st_text_class_size(void);
242 242
243static void ob_size_class(void); 243static void ob_size_class(void);
244static void st_size_class_name(void); 244static void st_size_class_name(void);
245static void st_size_class_min(void); 245static void st_size_class_min(void);
246static void st_size_class_max(void); 246static void st_size_class_max(void);
247 247
248static void ob_filters_filter(void); 248static void ob_filters_filter(void);
249static void ob_filters_filter_script(void); 249static void ob_filters_filter_script(void);
250static void st_filters_filter_file(void); 250static void st_filters_filter_file(void);
251static void st_filters_filter_name(void); 251static void st_filters_filter_name(void);
252 252
253static void ob_collections(void); 253static void ob_collections(void);
254static void st_collections_base_scale(void); 254static void st_collections_base_scale(void);
255 255
256static void ob_collections_group(void); 256static void ob_collections_group(void);
257static void st_collections_group_name(void); 257static void st_collections_group_name(void);
258static void st_collections_group_inherit_only(void); 258static void st_collections_group_inherit_only(void);
259static void st_collections_group_inherit(void); 259static void st_collections_group_inherit(void);
260static void st_collections_group_program_source(void); 260static void st_collections_group_program_source(void);
261static void st_collections_group_part_remove(void); 261static void st_collections_group_part_remove(void);
262static void st_collections_group_program_remove(void); 262static void st_collections_group_program_remove(void);
263static void st_collections_group_lua_script_only(void); 263static void st_collections_group_lua_script_only(void);
264static void st_collections_group_script_recursion(void); 264static void st_collections_group_script_recursion(void);
265static void st_collections_group_alias(void); 265static void st_collections_group_alias(void);
266static void st_collections_group_min(void); 266static void st_collections_group_min(void);
267static void st_collections_group_max(void); 267static void st_collections_group_max(void);
268static void st_collections_group_scene_size(void); 268static void st_collections_group_scene_size(void);
269static void st_collections_group_broadcast_signal(void); 269static void st_collections_group_broadcast_signal(void);
270static void st_collections_group_data_item(void); 270static void st_collections_group_data_item(void);
271static void st_collections_group_orientation(void); 271static void st_collections_group_orientation(void);
272static void st_collections_group_mouse_events(void); 272static void st_collections_group_mouse_events(void);
273static void st_collections_group_use_custom_seat_names(void); 273static void st_collections_group_use_custom_seat_names(void);
274static void st_collections_group_inherit_script(void); 274static void st_collections_group_inherit_script(void);
275 275
276static void st_collections_group_limits_vertical(void); 276static void st_collections_group_limits_vertical(void);
277static void st_collections_group_limits_horizontal(void); 277static void st_collections_group_limits_horizontal(void);
278 278
279static void ob_collections_group_script(void); 279static void ob_collections_group_script(void);
280static void ob_collections_group_lua_script(void); 280static void ob_collections_group_lua_script(void);
281 281
282static void st_collections_group_parts_alias(void); 282static void st_collections_group_parts_alias(void);
283 283
284static Edje_Part *edje_cc_handlers_part_make(int); 284static Edje_Part *edje_cc_handlers_part_make(int);
285static void ob_collections_group_parts_part(void); 285static void ob_collections_group_parts_part(void);
286static void st_collections_group_parts_part_name(void); 286static void st_collections_group_parts_part_name(void);
287static void st_collections_group_parts_part_inherit(void); 287static void st_collections_group_parts_part_inherit(void);
288static void st_collections_group_parts_part_type(void); 288static void st_collections_group_parts_part_type(void);
289#ifdef HAVE_EPHYSICS 289#ifdef HAVE_EPHYSICS
290static void st_collections_group_parts_part_physics_body(void); 290static void st_collections_group_parts_part_physics_body(void);
291#endif 291#endif
292static void st_collections_group_parts_part_insert_before(void); 292static void st_collections_group_parts_part_insert_before(void);
293static void st_collections_group_parts_part_insert_after(void); 293static void st_collections_group_parts_part_insert_after(void);
294static void st_collections_group_parts_part_effect(void); 294static void st_collections_group_parts_part_effect(void);
295static void st_collections_group_parts_part_mouse_events(void); 295static void st_collections_group_parts_part_mouse_events(void);
296static void st_collections_group_parts_part_anti_alias(void); 296static void st_collections_group_parts_part_anti_alias(void);
297static void st_collections_group_parts_part_repeat_events(void); 297static void st_collections_group_parts_part_repeat_events(void);
298static void st_collections_group_parts_part_ignore_flags(void); 298static void st_collections_group_parts_part_ignore_flags(void);
299static void st_collections_group_parts_part_mask_flags(void); 299static void st_collections_group_parts_part_mask_flags(void);
300static void st_collections_group_parts_part_scale(void); 300static void st_collections_group_parts_part_scale(void);
301static void st_collections_group_parts_part_pointer_mode(void); 301static void st_collections_group_parts_part_pointer_mode(void);
302static void st_collections_group_parts_part_precise_is_inside(void); 302static void st_collections_group_parts_part_precise_is_inside(void);
303static void st_collections_group_parts_part_use_alternate_font_metrics(void); 303static void st_collections_group_parts_part_use_alternate_font_metrics(void);
304static void st_collections_group_parts_part_clip_to_id(void); 304static void st_collections_group_parts_part_clip_to_id(void);
305static void st_collections_group_parts_part_render(void); 305static void st_collections_group_parts_part_render(void);
306static void st_collections_group_parts_part_no_render(void); 306static void st_collections_group_parts_part_no_render(void);
307static void st_collections_group_parts_part_required(void); 307static void st_collections_group_parts_part_required(void);
308static void st_collections_group_parts_part_norequired(void); 308static void st_collections_group_parts_part_norequired(void);
309static void st_collections_group_parts_part_source(void); 309static void st_collections_group_parts_part_source(void);
310static void st_collections_group_parts_part_source2(void); 310static void st_collections_group_parts_part_source2(void);
311static void st_collections_group_parts_part_source3(void); 311static void st_collections_group_parts_part_source3(void);
312static void st_collections_group_parts_part_source4(void); 312static void st_collections_group_parts_part_source4(void);
313static void st_collections_group_parts_part_source5(void); 313static void st_collections_group_parts_part_source5(void);
314static void st_collections_group_parts_part_source6(void); 314static void st_collections_group_parts_part_source6(void);
315static void st_collections_group_parts_part_entry_mode(void); 315static void st_collections_group_parts_part_entry_mode(void);
316static void st_collections_group_parts_part_select_mode(void); 316static void st_collections_group_parts_part_select_mode(void);
317static void st_collections_group_parts_part_cursor_mode(void); 317static void st_collections_group_parts_part_cursor_mode(void);
318static void st_collections_group_parts_part_multiline(void); 318static void st_collections_group_parts_part_multiline(void);
319static void st_collections_group_parts_part_access(void); 319static void st_collections_group_parts_part_access(void);
320static void st_collections_group_parts_part_dragable_x(void); 320static void st_collections_group_parts_part_dragable_x(void);
321static void st_collections_group_parts_part_dragable_y(void); 321static void st_collections_group_parts_part_dragable_y(void);
322static void st_collections_group_parts_part_dragable_confine(void); 322static void st_collections_group_parts_part_dragable_confine(void);
323static void st_collections_group_parts_part_dragable_threshold(void); 323static void st_collections_group_parts_part_dragable_threshold(void);
324static void st_collections_group_parts_part_dragable_events(void); 324static void st_collections_group_parts_part_dragable_events(void);
325static void st_collections_group_parts_part_allowed_seats(void); 325static void st_collections_group_parts_part_allowed_seats(void);
326 326
327/* box and table items share these */ 327/* box and table items share these */
328static void ob_collections_group_parts_part_box_items_item(void); 328static void ob_collections_group_parts_part_box_items_item(void);
329static void st_collections_group_parts_part_box_items_item_type(void); 329static void st_collections_group_parts_part_box_items_item_type(void);
330static void st_collections_group_parts_part_box_items_item_name(void); 330static void st_collections_group_parts_part_box_items_item_name(void);
331static void st_collections_group_parts_part_box_items_item_source(void); 331static void st_collections_group_parts_part_box_items_item_source(void);
332static void st_collections_group_parts_part_box_items_item_min(void); 332static void st_collections_group_parts_part_box_items_item_min(void);
333static void st_collections_group_parts_part_box_items_item_spread(void); 333static void st_collections_group_parts_part_box_items_item_spread(void);
334static void st_collections_group_parts_part_box_items_item_prefer(void); 334static void st_collections_group_parts_part_box_items_item_prefer(void);
335static void st_collections_group_parts_part_box_items_item_max(void); 335static void st_collections_group_parts_part_box_items_item_max(void);
336static void st_collections_group_parts_part_box_items_item_padding(void); 336static void st_collections_group_parts_part_box_items_item_padding(void);
337static void st_collections_group_parts_part_box_items_item_align(void); 337static void st_collections_group_parts_part_box_items_item_align(void);
338static void st_collections_group_parts_part_box_items_item_weight(void); 338static void st_collections_group_parts_part_box_items_item_weight(void);
339static void st_collections_group_parts_part_box_items_item_aspect(void); 339static void st_collections_group_parts_part_box_items_item_aspect(void);
340static void st_collections_group_parts_part_box_items_item_aspect_mode(void); 340static void st_collections_group_parts_part_box_items_item_aspect_mode(void);
341static void st_collections_group_parts_part_box_items_item_options(void); 341static void st_collections_group_parts_part_box_items_item_options(void);
342/* but these are only for table */ 342/* but these are only for table */
343static void st_collections_group_parts_part_table_items_item_position(void); 343static void st_collections_group_parts_part_table_items_item_position(void);
344static void st_collections_group_parts_part_table_items_item_span(void); 344static void st_collections_group_parts_part_table_items_item_span(void);
345 345
346static void ob_collections_group_parts_part_description(void); 346static void ob_collections_group_parts_part_description(void);
347static void ob_collections_group_parts_part_desc(void); 347static void ob_collections_group_parts_part_desc(void);
348static void st_collections_group_parts_part_description_inherit(void); 348static void st_collections_group_parts_part_description_inherit(void);
349static void ob_collections_group_parts_part_description_link(void); 349static void ob_collections_group_parts_part_description_link(void);
350static void st_collections_group_parts_part_description_link_base(void); 350static void st_collections_group_parts_part_description_link_base(void);
351static void st_collections_group_parts_part_description_source(void); 351static void st_collections_group_parts_part_description_source(void);
352static void st_collections_group_parts_part_description_state(void); 352static void st_collections_group_parts_part_description_state(void);
353static void st_collections_group_parts_part_description_visible(void); 353static void st_collections_group_parts_part_description_visible(void);
354static void st_collections_group_parts_part_description_no_render(void); 354static void st_collections_group_parts_part_description_no_render(void);
355static void st_collections_group_parts_part_description_limit(void); 355static void st_collections_group_parts_part_description_limit(void);
356static void st_collections_group_parts_part_description_align(void); 356static void st_collections_group_parts_part_description_align(void);
357static void st_collections_group_parts_part_description_fixed(void); 357static void st_collections_group_parts_part_description_fixed(void);
358static void st_collections_group_parts_part_description_min(void); 358static void st_collections_group_parts_part_description_min(void);
359static void st_collections_group_parts_part_description_minmul(void); 359static void st_collections_group_parts_part_description_minmul(void);
360static void st_collections_group_parts_part_description_max(void); 360static void st_collections_group_parts_part_description_max(void);
361static void st_collections_group_parts_part_description_step(void); 361static void st_collections_group_parts_part_description_step(void);
362static void st_collections_group_parts_part_description_aspect(void); 362static void st_collections_group_parts_part_description_aspect(void);
363static void st_collections_group_parts_part_description_aspect_preference(void); 363static void st_collections_group_parts_part_description_aspect_preference(void);
364static void st_collections_group_parts_part_description_rel_to(void); 364static void st_collections_group_parts_part_description_rel_to(void);
365static void st_collections_group_parts_part_description_rel_to_x(void); 365static void st_collections_group_parts_part_description_rel_to_x(void);
366static void st_collections_group_parts_part_description_rel_to_y(void); 366static void st_collections_group_parts_part_description_rel_to_y(void);
367static void st_collections_group_parts_part_description_rel1_relative(void); 367static void st_collections_group_parts_part_description_rel1_relative(void);
368static void st_collections_group_parts_part_description_rel1_offset(void); 368static void st_collections_group_parts_part_description_rel1_offset(void);
369static void st_collections_group_parts_part_description_rel1_to_set(const char *name); 369static void st_collections_group_parts_part_description_rel1_to_set(const char *name);
370static void st_collections_group_parts_part_description_rel1_to(void); 370static void st_collections_group_parts_part_description_rel1_to(void);
371static void st_collections_group_parts_part_description_rel1_to_x(void); 371static void st_collections_group_parts_part_description_rel1_to_x(void);
372static void st_collections_group_parts_part_description_rel1_to_y(void); 372static void st_collections_group_parts_part_description_rel1_to_y(void);
373static void st_collections_group_parts_part_description_rel2_relative(void); 373static void st_collections_group_parts_part_description_rel2_relative(void);
374static void st_collections_group_parts_part_description_rel2_offset(void); 374static void st_collections_group_parts_part_description_rel2_offset(void);
375static void st_collections_group_parts_part_description_rel2_to_set(const char *name); 375static void st_collections_group_parts_part_description_rel2_to_set(const char *name);
376static void st_collections_group_parts_part_description_rel2_to(void); 376static void st_collections_group_parts_part_description_rel2_to(void);
377static void st_collections_group_parts_part_description_rel2_to_x(void); 377static void st_collections_group_parts_part_description_rel2_to_x(void);
378static void st_collections_group_parts_part_description_rel2_to_y(void); 378static void st_collections_group_parts_part_description_rel2_to_y(void);
379static void st_collections_group_parts_part_description_anchors_top(void); 379static void st_collections_group_parts_part_description_anchors_top(void);
380static void st_collections_group_parts_part_description_anchors_bottom(void); 380static void st_collections_group_parts_part_description_anchors_bottom(void);
381static void st_collections_group_parts_part_description_anchors_left(void); 381static void st_collections_group_parts_part_description_anchors_left(void);
382static void st_collections_group_parts_part_description_anchors_right(void); 382static void st_collections_group_parts_part_description_anchors_right(void);
383static void st_collections_group_parts_part_description_anchors_vertical_center(void); 383static void st_collections_group_parts_part_description_anchors_vertical_center(void);
384static void st_collections_group_parts_part_description_anchors_horizontal_center(void); 384static void st_collections_group_parts_part_description_anchors_horizontal_center(void);
385static void st_collections_group_parts_part_description_anchors_fill(void); 385static void st_collections_group_parts_part_description_anchors_fill(void);
386static void st_collections_group_parts_part_description_anchors_margin(void); 386static void st_collections_group_parts_part_description_anchors_margin(void);
387static void st_collections_group_parts_part_description_clip_to_id(void); 387static void st_collections_group_parts_part_description_clip_to_id(void);
388static void st_collections_group_parts_part_description_size_class(void); 388static void st_collections_group_parts_part_description_size_class(void);
389static void st_collections_group_parts_part_description_image_normal(void); 389static void st_collections_group_parts_part_description_image_normal(void);
390static void st_collections_group_parts_part_description_image_tween(void); 390static void st_collections_group_parts_part_description_image_tween(void);
391static void st_collections_group_parts_part_description_image_border(void); 391static void st_collections_group_parts_part_description_image_border(void);
392static void st_collections_group_parts_part_description_image_middle(void); 392static void st_collections_group_parts_part_description_image_middle(void);
393static void st_collections_group_parts_part_description_image_border_scale(void); 393static void st_collections_group_parts_part_description_image_border_scale(void);
394static void st_collections_group_parts_part_description_image_border_scale_by(void); 394static void st_collections_group_parts_part_description_image_border_scale_by(void);
395static void st_collections_group_parts_part_description_image_scale_hint(void); 395static void st_collections_group_parts_part_description_image_scale_hint(void);
396static void st_collections_group_parts_part_description_fill_smooth(void); 396static void st_collections_group_parts_part_description_fill_smooth(void);
397static void st_collections_group_parts_part_description_fill_origin_relative(void); 397static void st_collections_group_parts_part_description_fill_origin_relative(void);
398static void st_collections_group_parts_part_description_fill_origin_offset(void); 398static void st_collections_group_parts_part_description_fill_origin_offset(void);
399static void st_collections_group_parts_part_description_fill_size_relative(void); 399static void st_collections_group_parts_part_description_fill_size_relative(void);
400static void st_collections_group_parts_part_description_fill_size_offset(void); 400static void st_collections_group_parts_part_description_fill_size_offset(void);
401static void st_collections_group_parts_part_description_fill_type(void); 401static void st_collections_group_parts_part_description_fill_type(void);
402static void st_collections_group_parts_part_description_color_class(void); 402static void st_collections_group_parts_part_description_color_class(void);
403static void st_collections_group_parts_part_description_color(void); 403static void st_collections_group_parts_part_description_color(void);
404static void st_collections_group_parts_part_description_color2(void); 404static void st_collections_group_parts_part_description_color2(void);
405static void st_collections_group_parts_part_description_color3(void); 405static void st_collections_group_parts_part_description_color3(void);
406static void st_collections_group_parts_part_description_text_text(void); 406static void st_collections_group_parts_part_description_text_text(void);
407static void st_collections_group_parts_part_description_text_domain(void); 407static void st_collections_group_parts_part_description_text_domain(void);
408static void st_collections_group_parts_part_description_text_text_class(void); 408static void st_collections_group_parts_part_description_text_text_class(void);
409static void st_collections_group_parts_part_description_text_font(void); 409static void st_collections_group_parts_part_description_text_font(void);
410static void st_collections_group_parts_part_description_text_style(void); 410static void st_collections_group_parts_part_description_text_style(void);
411static void st_collections_group_parts_part_description_text_repch(void); 411static void st_collections_group_parts_part_description_text_repch(void);
412static void st_collections_group_parts_part_description_text_size(void); 412static void st_collections_group_parts_part_description_text_size(void);
413static void st_collections_group_parts_part_description_text_size_range(void); 413static void st_collections_group_parts_part_description_text_size_range(void);
414static void st_collections_group_parts_part_description_text_fit(void); 414static void st_collections_group_parts_part_description_text_fit(void);
415static void st_collections_group_parts_part_description_text_min(void); 415static void st_collections_group_parts_part_description_text_min(void);
416static void st_collections_group_parts_part_description_text_max(void); 416static void st_collections_group_parts_part_description_text_max(void);
417static void st_collections_group_parts_part_description_text_align(void); 417static void st_collections_group_parts_part_description_text_align(void);
418static void st_collections_group_parts_part_description_text_source(void); 418static void st_collections_group_parts_part_description_text_source(void);
419static void st_collections_group_parts_part_description_text_text_source(void); 419static void st_collections_group_parts_part_description_text_text_source(void);
420static void st_collections_group_parts_part_description_text_ellipsis(void); 420static void st_collections_group_parts_part_description_text_ellipsis(void);
421static void st_collections_group_parts_part_description_box_layout(void); 421static void st_collections_group_parts_part_description_box_layout(void);
422static void st_collections_group_parts_part_description_box_align(void); 422static void st_collections_group_parts_part_description_box_align(void);
423static void st_collections_group_parts_part_description_box_padding(void); 423static void st_collections_group_parts_part_description_box_padding(void);
424static void st_collections_group_parts_part_description_box_min(void); 424static void st_collections_group_parts_part_description_box_min(void);
425static void st_collections_group_parts_part_description_table_homogeneous(void); 425static void st_collections_group_parts_part_description_table_homogeneous(void);
426static void st_collections_group_parts_part_description_table_align(void); 426static void st_collections_group_parts_part_description_table_align(void);
427static void st_collections_group_parts_part_description_table_padding(void); 427static void st_collections_group_parts_part_description_table_padding(void);
428static void st_collections_group_parts_part_description_table_min(void); 428static void st_collections_group_parts_part_description_table_min(void);
429static void st_collections_group_parts_part_description_proxy_source_visible(void); 429static void st_collections_group_parts_part_description_proxy_source_visible(void);
430static void st_collections_group_parts_part_description_proxy_source_clip(void); 430static void st_collections_group_parts_part_description_proxy_source_clip(void);
431static void st_collections_group_parts_part_description_position_point(void); 431static void st_collections_group_parts_part_description_position_point(void);
432static void st_collections_group_parts_part_description_position_space(void); 432static void st_collections_group_parts_part_description_position_space(void);
433static void st_collections_group_parts_part_description_camera_properties(void); 433static void st_collections_group_parts_part_description_camera_properties(void);
434static void st_collections_group_parts_part_description_properties_ambient(void); 434static void st_collections_group_parts_part_description_properties_ambient(void);
435static void st_collections_group_parts_part_description_properties_diffuse(void); 435static void st_collections_group_parts_part_description_properties_diffuse(void);
436static void st_collections_group_parts_part_description_properties_specular(void); 436static void st_collections_group_parts_part_description_properties_specular(void);
437static void st_collections_group_parts_part_description_properties_material(void); 437static void st_collections_group_parts_part_description_properties_material(void);
438static void st_collections_group_parts_part_description_properties_normal(void); 438static void st_collections_group_parts_part_description_properties_normal(void);
439static void st_collections_group_parts_part_description_properties_shininess(void); 439static void st_collections_group_parts_part_description_properties_shininess(void);
440static void st_collections_group_parts_part_description_properties_shade(void); 440static void st_collections_group_parts_part_description_properties_shade(void);
441static void st_collections_group_parts_part_description_orientation_angle_axis(void); 441static void st_collections_group_parts_part_description_orientation_angle_axis(void);
442static void st_collections_group_parts_part_description_orientation_look1(void); 442static void st_collections_group_parts_part_description_orientation_look1(void);
443static void st_collections_group_parts_part_description_orientation_look2(void); 443static void st_collections_group_parts_part_description_orientation_look2(void);
444static void st_collections_group_parts_part_description_orientation_look_to(void); 444static void st_collections_group_parts_part_description_orientation_look_to(void);
445static void st_collections_group_parts_part_description_orientation_angle_axis(void); 445static void st_collections_group_parts_part_description_orientation_angle_axis(void);
446static void st_collections_group_parts_part_description_orientation_quaternion(void); 446static void st_collections_group_parts_part_description_orientation_quaternion(void);
447static void st_collections_group_parts_part_description_scale(void); 447static void st_collections_group_parts_part_description_scale(void);
448static void st_collections_group_parts_part_description_offset_scale(void); 448static void st_collections_group_parts_part_description_offset_scale(void);
449static void st_collections_group_parts_part_description_mesh_primitive(void); 449static void st_collections_group_parts_part_description_mesh_primitive(void);
450static void ob_collections_group_parts_part_description_texture(void); 450static void ob_collections_group_parts_part_description_texture(void);
451static void st_collections_group_parts_part_description_texture_image(void); 451static void st_collections_group_parts_part_description_texture_image(void);
452static void st_collections_group_parts_part_description_texture_wrap1(void); 452static void st_collections_group_parts_part_description_texture_wrap1(void);
453static void st_collections_group_parts_part_description_texture_wrap2(void); 453static void st_collections_group_parts_part_description_texture_wrap2(void);
454static void st_collections_group_parts_part_description_texture_filter1(void); 454static void st_collections_group_parts_part_description_texture_filter1(void);
455static void st_collections_group_parts_part_description_texture_filter2(void); 455static void st_collections_group_parts_part_description_texture_filter2(void);
456static void st_collections_group_parts_part_description_mesh_assembly(void); 456static void st_collections_group_parts_part_description_mesh_assembly(void);
457static void st_collections_group_parts_part_description_mesh_geometry(void); 457static void st_collections_group_parts_part_description_mesh_geometry(void);
458static void st_collections_group_parts_part_description_mesh_frame(void); 458static void st_collections_group_parts_part_description_mesh_frame(void);
459static void st_collections_group_parts_part_description_filter_code(void); 459static void st_collections_group_parts_part_description_filter_code(void);
460static void st_collections_group_parts_part_description_filter_source(void); 460static void st_collections_group_parts_part_description_filter_source(void);
461static void st_collections_group_parts_part_description_filter_data(void); 461static void st_collections_group_parts_part_description_filter_data(void);
462 462
463#ifdef HAVE_EPHYSICS 463#ifdef HAVE_EPHYSICS
464static void st_collections_group_parts_part_description_physics_mass(void); 464static void st_collections_group_parts_part_description_physics_mass(void);
465static void st_collections_group_parts_part_description_physics_restitution(void); 465static void st_collections_group_parts_part_description_physics_restitution(void);
466static void st_collections_group_parts_part_description_physics_friction(void); 466static void st_collections_group_parts_part_description_physics_friction(void);
467static void st_collections_group_parts_part_description_physics_damping(void); 467static void st_collections_group_parts_part_description_physics_damping(void);
468static void st_collections_group_parts_part_description_physics_sleep(void); 468static void st_collections_group_parts_part_description_physics_sleep(void);
469static void st_collections_group_parts_part_description_physics_material(void); 469static void st_collections_group_parts_part_description_physics_material(void);
470static void st_collections_group_parts_part_description_physics_density(void); 470static void st_collections_group_parts_part_description_physics_density(void);
471static void st_collections_group_parts_part_description_physics_hardness(void); 471static void st_collections_group_parts_part_description_physics_hardness(void);
472static void st_collections_group_parts_part_description_physics_ignore_part_pos(void); 472static void st_collections_group_parts_part_description_physics_ignore_part_pos(void);
473static void st_collections_group_parts_part_description_physics_light_on(void); 473static void st_collections_group_parts_part_description_physics_light_on(void);
474static void st_collections_group_parts_part_description_physics_z(void); 474static void st_collections_group_parts_part_description_physics_z(void);
475static void st_collections_group_parts_part_description_physics_depth(void); 475static void st_collections_group_parts_part_description_physics_depth(void);
476static void st_collections_group_parts_part_description_physics_movement_freedom_linear(void); 476static void st_collections_group_parts_part_description_physics_movement_freedom_linear(void);
477static void st_collections_group_parts_part_description_physics_movement_freedom_angular(void); 477static void st_collections_group_parts_part_description_physics_movement_freedom_angular(void);
478static void st_collections_group_parts_part_description_physics_backface_cull(void); 478static void st_collections_group_parts_part_description_physics_backface_cull(void);
479static void st_collections_group_parts_part_description_physics_face(void); 479static void st_collections_group_parts_part_description_physics_face(void);
480static void st_collections_group_parts_part_description_physics_face_type(void); 480static void st_collections_group_parts_part_description_physics_face_type(void);
481static void st_collections_group_parts_part_description_physics_face_source(void); 481static void st_collections_group_parts_part_description_physics_face_source(void);
482#endif 482#endif
483static void st_collections_group_parts_part_description_map_perspective(void); 483static void st_collections_group_parts_part_description_map_perspective(void);
484static void st_collections_group_parts_part_description_map_light(void); 484static void st_collections_group_parts_part_description_map_light(void);
485static void st_collections_group_parts_part_description_map_rotation_center(void); 485static void st_collections_group_parts_part_description_map_rotation_center(void);
486static void st_collections_group_parts_part_description_map_rotation_x(void); 486static void st_collections_group_parts_part_description_map_rotation_x(void);
487static void st_collections_group_parts_part_description_map_rotation_y(void); 487static void st_collections_group_parts_part_description_map_rotation_y(void);
488static void st_collections_group_parts_part_description_map_rotation_z(void); 488static void st_collections_group_parts_part_description_map_rotation_z(void);
489static void st_collections_group_parts_part_description_map_on(void); 489static void st_collections_group_parts_part_description_map_on(void);
490static void st_collections_group_parts_part_description_map_smooth(void); 490static void st_collections_group_parts_part_description_map_smooth(void);
491static void st_collections_group_parts_part_description_map_alpha(void); 491static void st_collections_group_parts_part_description_map_alpha(void);
492static void st_collections_group_parts_part_description_map_backface_cull(void); 492static void st_collections_group_parts_part_description_map_backface_cull(void);
493static void st_collections_group_parts_part_description_map_perspective_on(void); 493static void st_collections_group_parts_part_description_map_perspective_on(void);
494static void st_collections_group_parts_part_description_map_color(void); 494static void st_collections_group_parts_part_description_map_color(void);
495static void st_collections_group_parts_part_description_map_zoom_x(void); 495static void st_collections_group_parts_part_description_map_zoom_x(void);
496static void st_collections_group_parts_part_description_map_zoom_y(void); 496static void st_collections_group_parts_part_description_map_zoom_y(void);
497static void st_collections_group_parts_part_description_perspective_zplane(void); 497static void st_collections_group_parts_part_description_perspective_zplane(void);
498static void st_collections_group_parts_part_description_perspective_focal(void); 498static void st_collections_group_parts_part_description_perspective_focal(void);
499static void st_collections_group_parts_part_api(void); 499static void st_collections_group_parts_part_api(void);
500 500
501/* external part parameters */ 501/* external part parameters */
502static void st_collections_group_parts_part_description_params_int(void); 502static void st_collections_group_parts_part_description_params_int(void);
503static void st_collections_group_parts_part_description_params_double(void); 503static void st_collections_group_parts_part_description_params_double(void);
504static void st_collections_group_parts_part_description_params_string(void); 504static void st_collections_group_parts_part_description_params_string(void);
505static void st_collections_group_parts_part_description_params_bool(void); 505static void st_collections_group_parts_part_description_params_bool(void);
506static void st_collections_group_parts_part_description_params_choice(void); 506static void st_collections_group_parts_part_description_params_choice(void);
507static void st_collections_group_parts_part_description_params_smart(void); 507static void st_collections_group_parts_part_description_params_smart(void);
508 508
509static void ob_collections_group_programs_program(void); 509static void ob_collections_group_programs_program(void);
510static void st_collections_group_programs_program_name(void); 510static void st_collections_group_programs_program_name(void);
511static void st_collections_group_programs_program_signal(void); 511static void st_collections_group_programs_program_signal(void);
512static void st_collections_group_programs_program_source(void); 512static void st_collections_group_programs_program_source(void);
513static void st_collections_group_programs_program_filter(void); 513static void st_collections_group_programs_program_filter(void);
514static void st_collections_group_programs_program_in(void); 514static void st_collections_group_programs_program_in(void);
515static void st_collections_group_programs_program_action(void); 515static void st_collections_group_programs_program_action(void);
516static void st_collections_group_programs_program_transition(void); 516static void st_collections_group_programs_program_transition(void);
517static void st_collections_group_programs_program_target(void); 517static void st_collections_group_programs_program_target(void);
518static void st_collections_group_programs_program_targets(void); 518static void st_collections_group_programs_program_targets(void);
519static void st_collections_group_programs_program_target_groups(void); 519static void st_collections_group_programs_program_target_groups(void);
520static void st_collections_group_programs_program_after(void); 520static void st_collections_group_programs_program_after(void);
521static void st_collections_group_programs_program_api(void); 521static void st_collections_group_programs_program_api(void);
522static void st_collections_group_target_group(void); 522static void st_collections_group_target_group(void);
523 523
524static void ob_collections_group_programs_program_sequence(void); 524static void ob_collections_group_programs_program_sequence(void);
525 525
526static void ob_collections_group_programs_program_script(void); 526static void ob_collections_group_programs_program_script(void);
527static void st_collections_group_sound_sample_name(void); 527static void st_collections_group_sound_sample_name(void);
528static void st_collections_group_sound_sample_source(void); 528static void st_collections_group_sound_sample_source(void);
529static void st_collections_group_sound_tone(void); 529static void st_collections_group_sound_tone(void);
530static void st_collections_group_vibration_sample_name(void); 530static void st_collections_group_vibration_sample_name(void);
531static void st_collections_group_vibration_sample_source(void); 531static void st_collections_group_vibration_sample_source(void);
532 532
533static void st_collections_group_translation_file_locale(void); 533static void st_collections_group_translation_file_locale(void);
534static void st_collections_group_translation_file_source(void); 534static void st_collections_group_translation_file_source(void);
535#ifdef HAVE_EPHYSICS 535#ifdef HAVE_EPHYSICS
536static void st_collections_group_physics_world_gravity(void); 536static void st_collections_group_physics_world_gravity(void);
537static void st_collections_group_physics_world_rate(void); 537static void st_collections_group_physics_world_rate(void);
538static void st_collections_group_physics_world_z(void); 538static void st_collections_group_physics_world_z(void);
539static void st_collections_group_physics_world_depth(void); 539static void st_collections_group_physics_world_depth(void);
540#endif 540#endif
541 541
542/* short */ 542/* short */
543static void st_collections_group_parts_part_noscale(void); 543static void st_collections_group_parts_part_noscale(void);
544static void st_collections_group_parts_part_precise(void); 544static void st_collections_group_parts_part_precise(void);
545static void st_collections_group_parts_part_noprecise(void); 545static void st_collections_group_parts_part_noprecise(void);
546static void st_collections_group_parts_part_mouse(void); 546static void st_collections_group_parts_part_mouse(void);
547static void st_collections_group_parts_part_nomouse(void); 547static void st_collections_group_parts_part_nomouse(void);
548static void st_collections_group_parts_part_repeat(void); 548static void st_collections_group_parts_part_repeat(void);
549static void st_collections_group_parts_part_norepeat(void); 549static void st_collections_group_parts_part_norepeat(void);
550static void st_collections_group_parts_part_description_vis(void); 550static void st_collections_group_parts_part_description_vis(void);
551static void st_collections_group_parts_part_description_hid(void); 551static void st_collections_group_parts_part_description_hid(void);
552static void ob_collections_group_parts_part_short(void); 552static void ob_collections_group_parts_part_short(void);
553 553
554static void st_collections_group_mouse(void); 554static void st_collections_group_mouse(void);
555static void st_collections_group_nomouse(void); 555static void st_collections_group_nomouse(void);
556static void st_collections_group_broadcast(void); 556static void st_collections_group_broadcast(void);
557static void st_collections_group_nobroadcast(void); 557static void st_collections_group_nobroadcast(void);
558static void st_collections_group_noinherit_script(void); 558static void st_collections_group_noinherit_script(void);
559 559
560static void st_images_vector(void); 560static void st_images_vector(void);
561static void _handle_vector_image(void); 561static void _handle_vector_image(void);
562 562
563/*****/ 563/*****/
564 564
565#define STRDUP(x) eina_strdup(x) 565#define STRDUP(x) eina_strdup(x)
566 566
567#define IMAGE_STATEMENTS(PREFIX) \ 567#define IMAGE_STATEMENTS(PREFIX) \
568 {PREFIX"images.image", st_images_image}, \ 568 {PREFIX "images.image", st_images_image}, \
569 {PREFIX"images.vector", st_images_vector}, \ 569 {PREFIX "images.vector", st_images_vector}, \
570 {PREFIX"images.set.name", st_images_set_name}, \ 570 {PREFIX "images.set.name", st_images_set_name}, \
571 {PREFIX"images.set.image.image", st_images_set_image_image}, \ 571 {PREFIX "images.set.image.image", st_images_set_image_image}, \
572 {PREFIX"images.set.image.size", st_images_set_image_size}, \ 572 {PREFIX "images.set.image.size", st_images_set_image_size}, \
573 {PREFIX"images.set.image.border", st_images_set_image_border}, \ 573 {PREFIX "images.set.image.border", st_images_set_image_border}, \
574 {PREFIX"images.set.image.scale_by", st_images_set_image_border_scale_by}, 574 {PREFIX "images.set.image.scale_by", st_images_set_image_border_scale_by},
575 575
576#define IMAGE_SET_STATEMENTS(PREFIX) \ 576#define IMAGE_SET_STATEMENTS(PREFIX) \
577 {PREFIX".image", st_images_image}, /* dup */ \ 577 {PREFIX ".image", st_images_image}, /* dup */ \
578 {PREFIX".set.name", st_images_set_name}, /* dup */ \ 578 {PREFIX ".set.name", st_images_set_name}, /* dup */ \
579 {PREFIX".set.image.image", st_images_set_image_image}, /* dup */ \ 579 {PREFIX ".set.image.image", st_images_set_image_image}, /* dup */ \
580 {PREFIX".set.image.size", st_images_set_image_size}, /* dup */ \ 580 {PREFIX ".set.image.size", st_images_set_image_size}, /* dup */ \
581 {PREFIX".set.image.border", st_images_set_image_border}, /* dup */ \ 581 {PREFIX ".set.image.border", st_images_set_image_border}, /* dup */ \
582 {PREFIX".set.image.scale_by", st_images_set_image_border_scale_by}, /* dup */ 582 {PREFIX ".set.image.scale_by", st_images_set_image_border_scale_by}, /* dup */
583 583
584#define FONT_STYLE_CC_STATEMENTS(PREFIX) \ 584#define FONT_STYLE_CC_STATEMENTS(PREFIX) \
585 {PREFIX"fonts.font", st_fonts_font}, /* dup */ \ 585 {PREFIX "fonts.font", st_fonts_font}, /* dup */ \
586 {PREFIX"styles.style.name", st_styles_style_name}, /* dup */ \ 586 {PREFIX "styles.style.name", st_styles_style_name}, /* dup */ \
587 {PREFIX"styles.style.base", st_styles_style_base}, /* dup */ \ 587 {PREFIX "styles.style.base", st_styles_style_base}, /* dup */ \
588 {PREFIX"styles.style.tag", st_styles_style_tag}, /* dup */ \ 588 {PREFIX "styles.style.tag", st_styles_style_tag}, /* dup */ \
589 {PREFIX"color_classes.color_class.name", st_color_class_name}, /* dup */ \ 589 {PREFIX "color_classes.color_class.name", st_color_class_name}, /* dup */ \
590 {PREFIX"color_classes.color_class.color", st_color_class_color}, /* dup */ \ 590 {PREFIX "color_classes.color_class.color", st_color_class_color}, /* dup */ \
591 {PREFIX"color_classes.color_class.color2", st_color_class_color2}, /* dup */ \ 591 {PREFIX "color_classes.color_class.color2", st_color_class_color2}, /* dup */ \
592 {PREFIX"color_classes.color_class.color3", st_color_class_color3}, /* dup */ \ 592 {PREFIX "color_classes.color_class.color3", st_color_class_color3}, /* dup */ \
593 {PREFIX"color_classes.color_class.description", st_color_class_desc}, /* dup */ \ 593 {PREFIX "color_classes.color_class.description", st_color_class_desc}, /* dup */ \
594 {PREFIX"color_classes.color_class.desc", st_color_class_desc}, /* dup */ 594 {PREFIX "color_classes.color_class.desc", st_color_class_desc}, /* dup */
595 595
596#define TEXT_CLASS_STATEMENTS(PREFIX) \ 596#define TEXT_CLASS_STATEMENTS(PREFIX) \
597 {PREFIX"text_classes.text_class.name", st_text_class_name}, /* dup */ \ 597 {PREFIX "text_classes.text_class.name", st_text_class_name}, /* dup */ \
598 {PREFIX"text_classes.text_class.font", st_text_class_font}, /* dup */ \ 598 {PREFIX "text_classes.text_class.font", st_text_class_font}, /* dup */ \
599 {PREFIX"text_classes.text_class.size", st_text_class_size}, /* dup */ 599 {PREFIX "text_classes.text_class.size", st_text_class_size}, /* dup */
600 600
601#define SIZE_CLASS_STATEMENTS(PREFIX) \ 601#define SIZE_CLASS_STATEMENTS(PREFIX) \
602 {PREFIX"size_classes.size_class.name", st_size_class_name}, /* dup */ \ 602 {PREFIX "size_classes.size_class.name", st_size_class_name}, /* dup */ \
603 {PREFIX"size_classes.size_class.min", st_size_class_min}, /* dup */ \ 603 {PREFIX "size_classes.size_class.min", st_size_class_min}, /* dup */ \
604 {PREFIX"size_classes.size_class.max", st_size_class_max}, /* dup */ 604 {PREFIX "size_classes.size_class.max", st_size_class_max}, /* dup */
605 605
606#define PROGRAM_SEQUENCE(PREFIX, NAME, FN) \ 606#define PROGRAM_SEQUENCE(PREFIX, NAME, FN) \
607 {PREFIX".program."NAME, FN}, /* dup */ \ 607 {PREFIX ".program."NAME, FN}, /* dup */ \
608 {PREFIX".program.sequence."NAME, FN}, /* dup */ 608 {PREFIX ".program.sequence."NAME, FN}, /* dup */
609 609
610 610#define PROGRAM_BASE(PREFIX) \
611#define PROGRAM_BASE(PREFIX) \ 611 PROGRAM_SEQUENCE(PREFIX, "name", st_collections_group_programs_program_name) \
612 PROGRAM_SEQUENCE(PREFIX, "name", st_collections_group_programs_program_name) \ 612 PROGRAM_SEQUENCE(PREFIX, "signal", st_collections_group_programs_program_signal) \
613 PROGRAM_SEQUENCE(PREFIX, "signal", st_collections_group_programs_program_signal) \ 613 PROGRAM_SEQUENCE(PREFIX, "source", st_collections_group_programs_program_source) \
614 PROGRAM_SEQUENCE(PREFIX, "source", st_collections_group_programs_program_source) \ 614 PROGRAM_SEQUENCE(PREFIX, "in", st_collections_group_programs_program_in) \
615 PROGRAM_SEQUENCE(PREFIX, "in", st_collections_group_programs_program_in) \ 615 PROGRAM_SEQUENCE(PREFIX, "action", st_collections_group_programs_program_action) \
616 PROGRAM_SEQUENCE(PREFIX, "action", st_collections_group_programs_program_action) \ 616 PROGRAM_SEQUENCE(PREFIX, "transition", st_collections_group_programs_program_transition) \
617 PROGRAM_SEQUENCE(PREFIX, "transition", st_collections_group_programs_program_transition) \ 617 PROGRAM_SEQUENCE(PREFIX, "target", st_collections_group_programs_program_target) \
618 PROGRAM_SEQUENCE(PREFIX, "target", st_collections_group_programs_program_target) \ 618 PROGRAM_SEQUENCE(PREFIX, "target_groups", st_collections_group_programs_program_target_groups) \
619 PROGRAM_SEQUENCE(PREFIX, "target_groups", st_collections_group_programs_program_target_groups) \ 619 PROGRAM_SEQUENCE(PREFIX, "groups", st_collections_group_programs_program_target_groups) \
620 PROGRAM_SEQUENCE(PREFIX, "groups", st_collections_group_programs_program_target_groups) \ 620 PROGRAM_SEQUENCE(PREFIX, "targets", st_collections_group_programs_program_targets) \
621 PROGRAM_SEQUENCE(PREFIX, "targets", st_collections_group_programs_program_targets) \ 621 PROGRAM_SEQUENCE(PREFIX, "after", st_collections_group_programs_program_after) \
622 PROGRAM_SEQUENCE(PREFIX, "after", st_collections_group_programs_program_after) \ 622 PROGRAM_SEQUENCE(PREFIX, "api", st_collections_group_programs_program_api) \
623 PROGRAM_SEQUENCE(PREFIX, "api", st_collections_group_programs_program_api) \ 623 PROGRAM_SEQUENCE(PREFIX, "filter", st_collections_group_programs_program_filter)
624 PROGRAM_SEQUENCE(PREFIX, "filter", st_collections_group_programs_program_filter) 624
625 625#define PROGRAM_STATEMENTS(PREFIX) \
626#define PROGRAM_STATEMENTS(PREFIX) \ 626 IMAGE_SET_STATEMENTS(PREFIX ".programs") \
627 IMAGE_SET_STATEMENTS(PREFIX".programs") \ 627 IMAGE_STATEMENTS(PREFIX ".programs.") \
628 IMAGE_STATEMENTS(PREFIX".programs.") \ 628 IMAGE_SET_STATEMENTS(PREFIX ".programs") \
629 IMAGE_SET_STATEMENTS(PREFIX".programs") \ 629 {PREFIX ".programs.font", st_fonts_font}, /* dup */ \
630 {PREFIX".programs.font", st_fonts_font}, /* dup */ \ 630 {PREFIX ".programs.fonts.font", st_fonts_font}, /* dup */ \
631 {PREFIX".programs.fonts.font", st_fonts_font}, /* dup */ \ 631 PROGRAM_BASE(PREFIX) \
632 PROGRAM_BASE(PREFIX) \ 632 PROGRAM_BASE(PREFIX ".programs")
633 PROGRAM_BASE(PREFIX".programs") 633
634 634#define SET_LOOK1(Type, type_node) \
635#define SET_LOOK1(Type, type_node) \ 635 Edje_Part_Description_##Type * ed; \
636 Edje_Part_Description_##Type *ed; \ 636 ed = (Edje_Part_Description_##Type *)current_desc; \
637 ed = (Edje_Part_Description_##Type*) current_desc; \ 637 \
638 \ 638 if (ed->type_node.orientation.type <= EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_AT) \
639 if (ed->type_node.orientation.type <= EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_AT) \ 639 { \
640 { \ 640 ed->type_node.orientation.data[0] = FROM_DOUBLE(parse_float(0)); \
641 ed->type_node.orientation.data[0] = FROM_DOUBLE(parse_float(0)); \ 641 ed->type_node.orientation.data[1] = FROM_DOUBLE(parse_float(1)); \
642 ed->type_node.orientation.data[1] = FROM_DOUBLE(parse_float(1)); \ 642 ed->type_node.orientation.data[2] = FROM_DOUBLE(parse_float(2)); \
643 ed->type_node.orientation.data[2] = FROM_DOUBLE(parse_float(2)); \ 643 ed->type_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_AT; \
644 ed->type_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_AT; \ 644 }
645 } 645
646 646#define SET_LOOK2(Type, type_node) \
647#define SET_LOOK2(Type, type_node) \ 647 Edje_Part_Description_##Type * ed; \
648 Edje_Part_Description_##Type *ed; \ 648 ed = (Edje_Part_Description_##Type *)current_desc; \
649 ed = (Edje_Part_Description_##Type*) current_desc; \ 649 \
650 \ 650 if (ed->type_node.orientation.type <= EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_AT) \
651 if (ed->type_node.orientation.type <= EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_AT) \ 651 { \
652 { \ 652 ed->type_node.orientation.data[3] = FROM_DOUBLE(parse_float(0)); \
653 ed->type_node.orientation.data[3] = FROM_DOUBLE(parse_float(0)); \ 653 ed->type_node.orientation.data[4] = FROM_DOUBLE(parse_float(1)); \
654 ed->type_node.orientation.data[4] = FROM_DOUBLE(parse_float(1)); \ 654 ed->type_node.orientation.data[5] = FROM_DOUBLE(parse_float(2)); \
655 ed->type_node.orientation.data[5] = FROM_DOUBLE(parse_float(2)); \ 655 ed->type_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_AT; \
656 ed->type_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_AT; \ 656 }
657 }
658 657
659#define SET_LOOK_TO(list, Type, type_node) \ 658#define SET_LOOK_TO(list, Type, type_node) \
660 Edje_Part_Description_##Type *ed; \ 659 Edje_Part_Description_##Type * ed; \
661 char *name; \ 660 char *name; \
662 \ 661 \
663 ed = (Edje_Part_Description_##Type*) current_desc; \ 662 ed = (Edje_Part_Description_##Type *)current_desc; \
664 \ 663 \
665 if (ed->type_node.orientation.type <= EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_TO) \ 664 if (ed->type_node.orientation.type <= EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_TO) \
666 { \ 665 { \
667 name = parse_str(0); \ 666 name = parse_str(0); \
668 data_queue_part_lookup(list, name, &(ed->type_node.orientation.look_to)); \ 667 data_queue_part_lookup(list, name, &(ed->type_node.orientation.look_to)); \
669 free(name); \ 668 free(name); \
670 ed->type_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_TO; \ 669 ed->type_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_LOOK_TO; \
671 } 670 }
672 671
673#define SET_ANGLE_AXIS(Type, type_node) \ 672#define SET_ANGLE_AXIS(Type, type_node) \
674 Edje_Part_Description_##Type *ed; \ 673 Edje_Part_Description_##Type * ed; \
675 ed = (Edje_Part_Description_##Type*) current_desc; \ 674 ed = (Edje_Part_Description_##Type *)current_desc; \
676 \ 675 \
677 if (ed->type_node.orientation.type <= EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_ANGLE_AXIS) \ 676 if (ed->type_node.orientation.type <= EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_ANGLE_AXIS) \
678 { \ 677 { \
679 ed->type_node.orientation.data[0] = FROM_DOUBLE(parse_float(0)); \ 678 ed->type_node.orientation.data[0] = FROM_DOUBLE(parse_float(0)); \
680 ed->type_node.orientation.data[1] = FROM_DOUBLE(parse_float(1)); \ 679 ed->type_node.orientation.data[1] = FROM_DOUBLE(parse_float(1)); \
681 ed->type_node.orientation.data[2] = FROM_DOUBLE(parse_float(2)); \ 680 ed->type_node.orientation.data[2] = FROM_DOUBLE(parse_float(2)); \
682 ed->type_node.orientation.data[3] = FROM_DOUBLE(parse_float(3)); \ 681 ed->type_node.orientation.data[3] = FROM_DOUBLE(parse_float(3)); \
683 ed->type_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_ANGLE_AXIS; \ 682 ed->type_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_ANGLE_AXIS; \
684 } 683 }
685 684
686#define SET_QUATERNION(Type, type_node) \ 685#define SET_QUATERNION(Type, type_node) \
687 Edje_Part_Description_##Type *ed; \ 686 Edje_Part_Description_##Type * ed; \
688 ed = (Edje_Part_Description_##Type*) current_desc; \ 687 ed = (Edje_Part_Description_##Type *)current_desc; \
689 \ 688 \
690 if (ed->type_node.orientation.type <= EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_QUATERNION) \ 689 if (ed->type_node.orientation.type <= EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_QUATERNION) \
691 { \ 690 { \
692 ed->type_node.orientation.data[1] = FROM_DOUBLE(parse_float(0)); \ 691 ed->type_node.orientation.data[1] = FROM_DOUBLE(parse_float(0)); \
693 ed->type_node.orientation.data[2] = FROM_DOUBLE(parse_float(1)); \ 692 ed->type_node.orientation.data[2] = FROM_DOUBLE(parse_float(1)); \
694 ed->type_node.orientation.data[3] = FROM_DOUBLE(parse_float(2)); \ 693 ed->type_node.orientation.data[3] = FROM_DOUBLE(parse_float(2)); \
695 ed->type_node.orientation.data[0] = FROM_DOUBLE(parse_float(3)); \ 694 ed->type_node.orientation.data[0] = FROM_DOUBLE(parse_float(3)); \
696 ed->type_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_QUATERNION; \ 695 ed->type_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_QUATERNION; \
697 } 696 }
698 697
699#define FILTERS_STATEMENTS(PREFIX) \ 698#define FILTERS_STATEMENTS(PREFIX) \
700 {PREFIX"filters.filter.file", st_filters_filter_file}, \ 699 {PREFIX "filters.filter.file", st_filters_filter_file}, \
701 {PREFIX"filters.filter.name", st_filters_filter_name}, 700 {PREFIX "filters.filter.name", st_filters_filter_name},
702 701
703New_Statement_Handler statement_handlers[] = 702New_Statement_Handler statement_handlers[] =
704{ 703{
705 {"efl_version", st_efl_version}, 704 {"efl_version", st_efl_version},
706 {"externals.external", st_externals_external}, 705 {"externals.external", st_externals_external},
707 IMAGE_STATEMENTS("") 706 IMAGE_STATEMENTS("")
708 FONT_STYLE_CC_STATEMENTS("") 707 FONT_STYLE_CC_STATEMENTS("")
709 TEXT_CLASS_STATEMENTS("") 708 TEXT_CLASS_STATEMENTS("")
710 SIZE_CLASS_STATEMENTS("") 709 SIZE_CLASS_STATEMENTS("")
711 {"data.item", st_data_item}, 710 {
712 {"data.file", st_data_file}, 711 "data.item", st_data_item
713 FILTERS_STATEMENTS("") 712 },
714 {"collections.externals.external", st_externals_external}, /* dup */ 713 {"data.file", st_data_file},
715 IMAGE_STATEMENTS("collections.") 714 FILTERS_STATEMENTS("")
716 IMAGE_SET_STATEMENTS("collections") 715 {
717 {"collections.font", st_fonts_font}, /* dup */ 716 "collections.externals.external", st_externals_external
718 FONT_STYLE_CC_STATEMENTS("collections.") 717 }, /* dup */
719 TEXT_CLASS_STATEMENTS("collections.") 718 IMAGE_STATEMENTS("collections.")
720 SIZE_CLASS_STATEMENTS("collections.") 719 IMAGE_SET_STATEMENTS("collections")
721 {"collections.base_scale", st_collections_base_scale}, 720 {
722 {"collections.translation.file.locale", st_collections_group_translation_file_locale}, 721 "collections.font", st_fonts_font
723 {"collections.translation.file.source", st_collections_group_translation_file_source}, 722 }, /* dup */
724 {"collections.group.translation.file.locale", st_collections_group_translation_file_locale}, 723 FONT_STYLE_CC_STATEMENTS("collections.")
725 {"collections.group.translation.file.source", st_collections_group_translation_file_source}, 724 TEXT_CLASS_STATEMENTS("collections.")
726 725 SIZE_CLASS_STATEMENTS("collections.")
727 {"collections.sounds.sample.name", st_collections_group_sound_sample_name}, 726 {
728 {"collections.sounds.sample.source", st_collections_group_sound_sample_source}, 727 "collections.base_scale", st_collections_base_scale
729 {"collections.group.sounds.sample.name", st_collections_group_sound_sample_name}, /* dup */ 728 },
730 {"collections.group.sounds.sample.source", st_collections_group_sound_sample_source}, /* dup */ 729 {"collections.translation.file.locale", st_collections_group_translation_file_locale},
731 {"collections.sounds.tone", st_collections_group_sound_tone}, 730 {"collections.translation.file.source", st_collections_group_translation_file_source},
732 {"collections.group.sounds.tone", st_collections_group_sound_tone}, /* dup */ 731 {"collections.group.translation.file.locale", st_collections_group_translation_file_locale},
733 {"collections.vibrations.sample.name", st_collections_group_vibration_sample_name}, 732 {"collections.group.translation.file.source", st_collections_group_translation_file_source},
734 {"collections.vibrations.sample.source", st_collections_group_vibration_sample_source}, 733
735 FILTERS_STATEMENTS("collections.") /* dup */ 734 {"collections.sounds.sample.name", st_collections_group_sound_sample_name},
736 {"collections.group.vibrations.sample.name", st_collections_group_vibration_sample_name}, /* dup */ 735 {"collections.sounds.sample.source", st_collections_group_sound_sample_source},
737 {"collections.group.vibrations.sample.source", st_collections_group_vibration_sample_source}, /* dup */ 736 {"collections.group.sounds.sample.name", st_collections_group_sound_sample_name}, /* dup */
738 {"collections.group.name", st_collections_group_name}, 737 {"collections.group.sounds.sample.source", st_collections_group_sound_sample_source}, /* dup */
739 {"collections.group.program_source", st_collections_group_program_source}, 738 {"collections.sounds.tone", st_collections_group_sound_tone},
740 {"collections.group.inherit", st_collections_group_inherit}, 739 {"collections.group.sounds.tone", st_collections_group_sound_tone}, /* dup */
741 {"collections.group.inherit_only", st_collections_group_inherit_only}, 740 {"collections.vibrations.sample.name", st_collections_group_vibration_sample_name},
742 {"collections.group.use_custom_seat_names", st_collections_group_use_custom_seat_names}, 741 {"collections.vibrations.sample.source", st_collections_group_vibration_sample_source},
743 {"collections.group.target_group", st_collections_group_target_group}, /* dup */ 742 FILTERS_STATEMENTS("collections.") /* dup */
744 {"collections.group.part_remove", st_collections_group_part_remove}, 743 {
745 {"collections.group.program_remove", st_collections_group_program_remove}, 744 "collections.group.vibrations.sample.name", st_collections_group_vibration_sample_name
746 {"collections.group.lua_script_only", st_collections_group_lua_script_only}, 745 }, /* dup */
747 {"collections.group.script_recursion", st_collections_group_script_recursion}, 746 {"collections.group.vibrations.sample.source", st_collections_group_vibration_sample_source}, /* dup */
748 {"collections.group.alias", st_collections_group_alias}, 747 {"collections.group.name", st_collections_group_name},
749 {"collections.group.min", st_collections_group_min}, 748 {"collections.group.program_source", st_collections_group_program_source},
750 {"collections.group.max", st_collections_group_max}, 749 {"collections.group.inherit", st_collections_group_inherit},
751 {"collections.group.scene_size", st_collections_group_scene_size}, 750 {"collections.group.inherit_only", st_collections_group_inherit_only},
752 {"collections.group.broadcast_signal", st_collections_group_broadcast_signal}, 751 {"collections.group.use_custom_seat_names", st_collections_group_use_custom_seat_names},
753 {"collections.group.orientation", st_collections_group_orientation}, 752 {"collections.group.target_group", st_collections_group_target_group}, /* dup */
754 {"collections.group.mouse_events", st_collections_group_mouse_events}, 753 {"collections.group.part_remove", st_collections_group_part_remove},
755 {"collections.group.inherit_script", st_collections_group_inherit_script}, 754 {"collections.group.program_remove", st_collections_group_program_remove},
756 {"collections.group.data.item", st_collections_group_data_item}, 755 {"collections.group.lua_script_only", st_collections_group_lua_script_only},
757 {"collections.group.limits.horizontal", st_collections_group_limits_horizontal}, 756 {"collections.group.script_recursion", st_collections_group_script_recursion},
758 {"collections.group.limits.vertical", st_collections_group_limits_vertical}, 757 {"collections.group.alias", st_collections_group_alias},
759 {"collections.group.externals.external", st_externals_external}, /* dup */ 758 {"collections.group.min", st_collections_group_min},
760 {"collections.group.programs.target_group", st_collections_group_target_group}, /* dup */ 759 {"collections.group.max", st_collections_group_max},
761 IMAGE_SET_STATEMENTS("collections.group") 760 {"collections.group.scene_size", st_collections_group_scene_size},
762 IMAGE_STATEMENTS("collections.group.") 761 {"collections.group.broadcast_signal", st_collections_group_broadcast_signal},
763 {"collections.group.models.model", st_models_model}, 762 {"collections.group.orientation", st_collections_group_orientation},
764 {"collections.group.font", st_fonts_font}, /* dup */ 763 {"collections.group.mouse_events", st_collections_group_mouse_events},
765 FONT_STYLE_CC_STATEMENTS("collections.group.") 764 {"collections.group.inherit_script", st_collections_group_inherit_script},
766 TEXT_CLASS_STATEMENTS("collections.group.") 765 {"collections.group.data.item", st_collections_group_data_item},
767 SIZE_CLASS_STATEMENTS("collections.group.") 766 {"collections.group.limits.horizontal", st_collections_group_limits_horizontal},
768 {"collections.group.parts.alias", st_collections_group_parts_alias }, 767 {"collections.group.limits.vertical", st_collections_group_limits_vertical},
769 IMAGE_SET_STATEMENTS("collections.group.parts") 768 {"collections.group.externals.external", st_externals_external}, /* dup */
770 IMAGE_STATEMENTS("collections.group.parts.") 769 {"collections.group.programs.target_group", st_collections_group_target_group}, /* dup */
771 {"collections.group.parts.font", st_fonts_font}, /* dup */ 770 IMAGE_SET_STATEMENTS("collections.group")
772 FONT_STYLE_CC_STATEMENTS("collections.group.parts.") 771 IMAGE_STATEMENTS("collections.group.")
773 TEXT_CLASS_STATEMENTS("collections.group.parts.") 772 {
774 SIZE_CLASS_STATEMENTS("collections.group.parts.") 773 "collections.group.models.model", st_models_model
775 {"collections.group.parts.target_group", st_collections_group_target_group}, /* dup */ 774 },
776 {"collections.group.parts.part.name", st_collections_group_parts_part_name}, 775 {"collections.group.font", st_fonts_font}, /* dup */
777 {"collections.group.parts.part.target_group", st_collections_group_target_group}, /* dup */ 776 FONT_STYLE_CC_STATEMENTS("collections.group.")
778 {"collections.group.parts.part.inherit", st_collections_group_parts_part_inherit}, 777 TEXT_CLASS_STATEMENTS("collections.group.")
779 {"collections.group.parts.part.api", st_collections_group_parts_part_api}, 778 SIZE_CLASS_STATEMENTS("collections.group.")
780 {"collections.group.parts.part.type", st_collections_group_parts_part_type}, 779 {
780 "collections.group.parts.alias", st_collections_group_parts_alias
781 },
782 IMAGE_SET_STATEMENTS("collections.group.parts")
783 IMAGE_STATEMENTS("collections.group.parts.")
784 {
785 "collections.group.parts.font", st_fonts_font
786 }, /* dup */
787 FONT_STYLE_CC_STATEMENTS("collections.group.parts.")
788 TEXT_CLASS_STATEMENTS("collections.group.parts.")
789 SIZE_CLASS_STATEMENTS("collections.group.parts.")
790 {
791 "collections.group.parts.target_group", st_collections_group_target_group
792 }, /* dup */
793 {"collections.group.parts.part.name", st_collections_group_parts_part_name},
794 {"collections.group.parts.part.target_group", st_collections_group_target_group}, /* dup */
795 {"collections.group.parts.part.inherit", st_collections_group_parts_part_inherit},
796 {"collections.group.parts.part.api", st_collections_group_parts_part_api},
797 {"collections.group.parts.part.type", st_collections_group_parts_part_type},
781#ifdef HAVE_EPHYSICS 798#ifdef HAVE_EPHYSICS
782 {"collections.group.parts.part.physics_body", st_collections_group_parts_part_physics_body}, 799 {"collections.group.parts.part.physics_body", st_collections_group_parts_part_physics_body},
783#endif 800#endif
784 {"collections.group.parts.part.insert_before", st_collections_group_parts_part_insert_before}, 801 {"collections.group.parts.part.insert_before", st_collections_group_parts_part_insert_before},
785 {"collections.group.parts.part.insert_after", st_collections_group_parts_part_insert_after}, 802 {"collections.group.parts.part.insert_after", st_collections_group_parts_part_insert_after},
786 {"collections.group.parts.part.effect", st_collections_group_parts_part_effect}, 803 {"collections.group.parts.part.effect", st_collections_group_parts_part_effect},
787 {"collections.group.parts.part.mouse_events", st_collections_group_parts_part_mouse_events}, 804 {"collections.group.parts.part.mouse_events", st_collections_group_parts_part_mouse_events},
788 {"collections.group.parts.part.anti_alias", st_collections_group_parts_part_anti_alias}, 805 {"collections.group.parts.part.anti_alias", st_collections_group_parts_part_anti_alias},
789 {"collections.group.parts.part.repeat_events", st_collections_group_parts_part_repeat_events}, 806 {"collections.group.parts.part.repeat_events", st_collections_group_parts_part_repeat_events},
790 {"collections.group.parts.part.ignore_flags", st_collections_group_parts_part_ignore_flags}, 807 {"collections.group.parts.part.ignore_flags", st_collections_group_parts_part_ignore_flags},
791 {"collections.group.parts.part.mask_flags", st_collections_group_parts_part_mask_flags}, 808 {"collections.group.parts.part.mask_flags", st_collections_group_parts_part_mask_flags},
792 {"collections.group.parts.part.scale", st_collections_group_parts_part_scale}, 809 {"collections.group.parts.part.scale", st_collections_group_parts_part_scale},
793 {"collections.group.parts.part.pointer_mode", st_collections_group_parts_part_pointer_mode}, 810 {"collections.group.parts.part.pointer_mode", st_collections_group_parts_part_pointer_mode},
794 {"collections.group.parts.part.precise_is_inside", st_collections_group_parts_part_precise_is_inside}, 811 {"collections.group.parts.part.precise_is_inside", st_collections_group_parts_part_precise_is_inside},
795 {"collections.group.parts.part.use_alternate_font_metrics", st_collections_group_parts_part_use_alternate_font_metrics}, 812 {"collections.group.parts.part.use_alternate_font_metrics", st_collections_group_parts_part_use_alternate_font_metrics},
796 {"collections.group.parts.part.clip_to", st_collections_group_parts_part_clip_to_id}, 813 {"collections.group.parts.part.clip_to", st_collections_group_parts_part_clip_to_id},
797 {"collections.group.parts.part.no_render", st_collections_group_parts_part_no_render}, 814 {"collections.group.parts.part.no_render", st_collections_group_parts_part_no_render},
798 {"collections.group.parts.part.required", st_collections_group_parts_part_required}, 815 {"collections.group.parts.part.required", st_collections_group_parts_part_required},
799 {"collections.group.parts.part.source", st_collections_group_parts_part_source}, 816 {"collections.group.parts.part.source", st_collections_group_parts_part_source},
800 {"collections.group.parts.part.source2", st_collections_group_parts_part_source2}, 817 {"collections.group.parts.part.source2", st_collections_group_parts_part_source2},
801 {"collections.group.parts.part.source3", st_collections_group_parts_part_source3}, 818 {"collections.group.parts.part.source3", st_collections_group_parts_part_source3},
802 {"collections.group.parts.part.source4", st_collections_group_parts_part_source4}, 819 {"collections.group.parts.part.source4", st_collections_group_parts_part_source4},
803 {"collections.group.parts.part.source5", st_collections_group_parts_part_source5}, 820 {"collections.group.parts.part.source5", st_collections_group_parts_part_source5},
804 {"collections.group.parts.part.source6", st_collections_group_parts_part_source6}, 821 {"collections.group.parts.part.source6", st_collections_group_parts_part_source6},
805 {"collections.group.parts.part.dragable.x", st_collections_group_parts_part_dragable_x}, 822 {"collections.group.parts.part.dragable.x", st_collections_group_parts_part_dragable_x},
806 {"collections.group.parts.part.dragable.y", st_collections_group_parts_part_dragable_y}, 823 {"collections.group.parts.part.dragable.y", st_collections_group_parts_part_dragable_y},
807 {"collections.group.parts.part.dragable.confine", st_collections_group_parts_part_dragable_confine}, 824 {"collections.group.parts.part.dragable.confine", st_collections_group_parts_part_dragable_confine},
808 {"collections.group.parts.part.dragable.threshold", st_collections_group_parts_part_dragable_threshold}, 825 {"collections.group.parts.part.dragable.threshold", st_collections_group_parts_part_dragable_threshold},
809 {"collections.group.parts.part.dragable.events", st_collections_group_parts_part_dragable_events}, 826 {"collections.group.parts.part.dragable.events", st_collections_group_parts_part_dragable_events},
810 {"collections.group.parts.part.entry_mode", st_collections_group_parts_part_entry_mode}, 827 {"collections.group.parts.part.entry_mode", st_collections_group_parts_part_entry_mode},
811 {"collections.group.parts.part.select_mode", st_collections_group_parts_part_select_mode}, 828 {"collections.group.parts.part.select_mode", st_collections_group_parts_part_select_mode},
812 {"collections.group.parts.part.cursor_mode", st_collections_group_parts_part_cursor_mode}, 829 {"collections.group.parts.part.cursor_mode", st_collections_group_parts_part_cursor_mode},
813 {"collections.group.parts.part.multiline", st_collections_group_parts_part_multiline}, 830 {"collections.group.parts.part.multiline", st_collections_group_parts_part_multiline},
814 {"collections.group.parts.part.access", st_collections_group_parts_part_access}, 831 {"collections.group.parts.part.access", st_collections_group_parts_part_access},
815 {"collections.group.parts.part.allowed_seats", st_collections_group_parts_part_allowed_seats}, 832 {"collections.group.parts.part.allowed_seats", st_collections_group_parts_part_allowed_seats},
816 IMAGE_SET_STATEMENTS("collections.group.parts.part") 833 IMAGE_SET_STATEMENTS("collections.group.parts.part")
817 IMAGE_STATEMENTS("collections.group.parts.part.") 834 IMAGE_STATEMENTS("collections.group.parts.part.")
818 {"collections.group.parts.part.font", st_fonts_font}, /* dup */ 835 {
819 FONT_STYLE_CC_STATEMENTS("collections.group.parts.part.") 836 "collections.group.parts.part.font", st_fonts_font
820 TEXT_CLASS_STATEMENTS("collections.group.parts.part.") 837 }, /* dup */
821 SIZE_CLASS_STATEMENTS("collections.group.parts.part.") 838 FONT_STYLE_CC_STATEMENTS("collections.group.parts.part.")
822 {"collections.group.parts.part.box.items.item.type", st_collections_group_parts_part_box_items_item_type}, 839 TEXT_CLASS_STATEMENTS("collections.group.parts.part.")
823 {"collections.group.parts.part.box.items.item.name", st_collections_group_parts_part_box_items_item_name}, 840 SIZE_CLASS_STATEMENTS("collections.group.parts.part.")
824 {"collections.group.parts.part.box.items.item.source", st_collections_group_parts_part_box_items_item_source}, 841 {
825 {"collections.group.parts.part.box.items.item.min", st_collections_group_parts_part_box_items_item_min}, 842 "collections.group.parts.part.box.items.item.type", st_collections_group_parts_part_box_items_item_type
826 {"collections.group.parts.part.box.items.item.spread", st_collections_group_parts_part_box_items_item_spread}, 843 },
827 {"collections.group.parts.part.box.items.item.prefer", st_collections_group_parts_part_box_items_item_prefer}, 844 {"collections.group.parts.part.box.items.item.name", st_collections_group_parts_part_box_items_item_name},
828 {"collections.group.parts.part.box.items.item.max", st_collections_group_parts_part_box_items_item_max}, 845 {"collections.group.parts.part.box.items.item.source", st_collections_group_parts_part_box_items_item_source},
829 {"collections.group.parts.part.box.items.item.padding", st_collections_group_parts_part_box_items_item_padding}, 846 {"collections.group.parts.part.box.items.item.min", st_collections_group_parts_part_box_items_item_min},
830 {"collections.group.parts.part.box.items.item.align", st_collections_group_parts_part_box_items_item_align}, 847 {"collections.group.parts.part.box.items.item.spread", st_collections_group_parts_part_box_items_item_spread},
831 {"collections.group.parts.part.box.items.item.weight", st_collections_group_parts_part_box_items_item_weight}, 848 {"collections.group.parts.part.box.items.item.prefer", st_collections_group_parts_part_box_items_item_prefer},
832 {"collections.group.parts.part.box.items.item.aspect", st_collections_group_parts_part_box_items_item_aspect}, 849 {"collections.group.parts.part.box.items.item.max", st_collections_group_parts_part_box_items_item_max},
833 {"collections.group.parts.part.box.items.item.aspect_mode", st_collections_group_parts_part_box_items_item_aspect_mode}, 850 {"collections.group.parts.part.box.items.item.padding", st_collections_group_parts_part_box_items_item_padding},
834 {"collections.group.parts.part.box.items.item.options", st_collections_group_parts_part_box_items_item_options}, 851 {"collections.group.parts.part.box.items.item.align", st_collections_group_parts_part_box_items_item_align},
835 {"collections.group.parts.part.table.items.item.type", st_collections_group_parts_part_box_items_item_type}, /* dup */ 852 {"collections.group.parts.part.box.items.item.weight", st_collections_group_parts_part_box_items_item_weight},
836 {"collections.group.parts.part.table.items.item.name", st_collections_group_parts_part_box_items_item_name}, /* dup */ 853 {"collections.group.parts.part.box.items.item.aspect", st_collections_group_parts_part_box_items_item_aspect},
837 {"collections.group.parts.part.table.items.item.source", st_collections_group_parts_part_box_items_item_source}, /* dup */ 854 {"collections.group.parts.part.box.items.item.aspect_mode", st_collections_group_parts_part_box_items_item_aspect_mode},
838 {"collections.group.parts.part.table.items.item.min", st_collections_group_parts_part_box_items_item_min}, /* dup */ 855 {"collections.group.parts.part.box.items.item.options", st_collections_group_parts_part_box_items_item_options},
839 {"collections.group.parts.part.table.items.item.spread", st_collections_group_parts_part_box_items_item_spread}, /* dup */ 856 {"collections.group.parts.part.table.items.item.type", st_collections_group_parts_part_box_items_item_type}, /* dup */
840 {"collections.group.parts.part.table.items.item.prefer", st_collections_group_parts_part_box_items_item_prefer}, /* dup */ 857 {"collections.group.parts.part.table.items.item.name", st_collections_group_parts_part_box_items_item_name}, /* dup */
841 {"collections.group.parts.part.table.items.item.max", st_collections_group_parts_part_box_items_item_max}, /* dup */ 858 {"collections.group.parts.part.table.items.item.source", st_collections_group_parts_part_box_items_item_source}, /* dup */
842 {"collections.group.parts.part.table.items.item.padding", st_collections_group_parts_part_box_items_item_padding}, /* dup */ 859 {"collections.group.parts.part.table.items.item.min", st_collections_group_parts_part_box_items_item_min}, /* dup */
843 {"collections.group.parts.part.table.items.item.align", st_collections_group_parts_part_box_items_item_align}, /* dup */ 860 {"collections.group.parts.part.table.items.item.spread", st_collections_group_parts_part_box_items_item_spread}, /* dup */
844 {"collections.group.parts.part.table.items.item.weight", st_collections_group_parts_part_box_items_item_weight}, /* dup */ 861 {"collections.group.parts.part.table.items.item.prefer", st_collections_group_parts_part_box_items_item_prefer}, /* dup */
845 {"collections.group.parts.part.table.items.item.aspect", st_collections_group_parts_part_box_items_item_aspect}, /* dup */ 862 {"collections.group.parts.part.table.items.item.max", st_collections_group_parts_part_box_items_item_max}, /* dup */
846 {"collections.group.parts.part.table.items.item.aspect_mode", st_collections_group_parts_part_box_items_item_aspect_mode}, /* dup */ 863 {"collections.group.parts.part.table.items.item.padding", st_collections_group_parts_part_box_items_item_padding}, /* dup */
847 {"collections.group.parts.part.table.items.item.options", st_collections_group_parts_part_box_items_item_options}, /* dup */ 864 {"collections.group.parts.part.table.items.item.align", st_collections_group_parts_part_box_items_item_align}, /* dup */
848 {"collections.group.parts.part.table.items.item.position", st_collections_group_parts_part_table_items_item_position}, 865 {"collections.group.parts.part.table.items.item.weight", st_collections_group_parts_part_box_items_item_weight}, /* dup */
849 {"collections.group.parts.part.table.items.item.span", st_collections_group_parts_part_table_items_item_span}, 866 {"collections.group.parts.part.table.items.item.aspect", st_collections_group_parts_part_box_items_item_aspect}, /* dup */
850 {"collections.group.parts.part.description.target_group", st_collections_group_target_group}, /* dup */ 867 {"collections.group.parts.part.table.items.item.aspect_mode", st_collections_group_parts_part_box_items_item_aspect_mode}, /* dup */
851 {"collections.group.parts.part.description.inherit", st_collections_group_parts_part_description_inherit}, 868 {"collections.group.parts.part.table.items.item.options", st_collections_group_parts_part_box_items_item_options}, /* dup */
852 {"collections.group.parts.part.description.link.base", st_collections_group_parts_part_description_link_base}, 869 {"collections.group.parts.part.table.items.item.position", st_collections_group_parts_part_table_items_item_position},
853 {"collections.group.parts.part.description.link.transition", st_collections_group_programs_program_transition}, 870 {"collections.group.parts.part.table.items.item.span", st_collections_group_parts_part_table_items_item_span},
854 {"collections.group.parts.part.description.link.after", st_collections_group_programs_program_after}, 871 {"collections.group.parts.part.description.target_group", st_collections_group_target_group}, /* dup */
855 {"collections.group.parts.part.description.link.in", st_collections_group_programs_program_in}, 872 {"collections.group.parts.part.description.inherit", st_collections_group_parts_part_description_inherit},
856 {"collections.group.parts.part.description.source", st_collections_group_parts_part_description_source}, 873 {"collections.group.parts.part.description.link.base", st_collections_group_parts_part_description_link_base},
857 {"collections.group.parts.part.description.state", st_collections_group_parts_part_description_state}, 874 {"collections.group.parts.part.description.link.transition", st_collections_group_programs_program_transition},
858 {"collections.group.parts.part.description.visible", st_collections_group_parts_part_description_visible}, 875 {"collections.group.parts.part.description.link.after", st_collections_group_programs_program_after},
859 {"collections.group.parts.part.description.limit", st_collections_group_parts_part_description_limit}, 876 {"collections.group.parts.part.description.link.in", st_collections_group_programs_program_in},
860 {"collections.group.parts.part.description.no_render", st_collections_group_parts_part_description_no_render}, 877 {"collections.group.parts.part.description.source", st_collections_group_parts_part_description_source},
861 {"collections.group.parts.part.description.align", st_collections_group_parts_part_description_align}, 878 {"collections.group.parts.part.description.state", st_collections_group_parts_part_description_state},
862 {"collections.group.parts.part.description.fixed", st_collections_group_parts_part_description_fixed}, 879 {"collections.group.parts.part.description.visible", st_collections_group_parts_part_description_visible},
863 {"collections.group.parts.part.description.min", st_collections_group_parts_part_description_min}, 880 {"collections.group.parts.part.description.limit", st_collections_group_parts_part_description_limit},
864 {"collections.group.parts.part.description.minmul", st_collections_group_parts_part_description_minmul}, 881 {"collections.group.parts.part.description.no_render", st_collections_group_parts_part_description_no_render},
865 {"collections.group.parts.part.description.max", st_collections_group_parts_part_description_max}, 882 {"collections.group.parts.part.description.align", st_collections_group_parts_part_description_align},
866 {"collections.group.parts.part.description.step", st_collections_group_parts_part_description_step}, 883 {"collections.group.parts.part.description.fixed", st_collections_group_parts_part_description_fixed},
867 {"collections.group.parts.part.description.aspect", st_collections_group_parts_part_description_aspect}, 884 {"collections.group.parts.part.description.min", st_collections_group_parts_part_description_min},
868 {"collections.group.parts.part.description.aspect_preference", st_collections_group_parts_part_description_aspect_preference}, 885 {"collections.group.parts.part.description.minmul", st_collections_group_parts_part_description_minmul},
869 {"collections.group.parts.part.description.rel.to", st_collections_group_parts_part_description_rel_to}, 886 {"collections.group.parts.part.description.max", st_collections_group_parts_part_description_max},
870 {"collections.group.parts.part.description.rel.to_x", st_collections_group_parts_part_description_rel_to_x}, 887 {"collections.group.parts.part.description.step", st_collections_group_parts_part_description_step},
871 {"collections.group.parts.part.description.rel.to_y", st_collections_group_parts_part_description_rel_to_y}, 888 {"collections.group.parts.part.description.aspect", st_collections_group_parts_part_description_aspect},
872 {"collections.group.parts.part.description.rel1.relative", st_collections_group_parts_part_description_rel1_relative}, 889 {"collections.group.parts.part.description.aspect_preference", st_collections_group_parts_part_description_aspect_preference},
873 {"collections.group.parts.part.description.rel1.offset", st_collections_group_parts_part_description_rel1_offset}, 890 {"collections.group.parts.part.description.rel.to", st_collections_group_parts_part_description_rel_to},
874 {"collections.group.parts.part.description.rel1.to", st_collections_group_parts_part_description_rel1_to}, 891 {"collections.group.parts.part.description.rel.to_x", st_collections_group_parts_part_description_rel_to_x},
875 {"collections.group.parts.part.description.rel1.to_x", st_collections_group_parts_part_description_rel1_to_x}, 892 {"collections.group.parts.part.description.rel.to_y", st_collections_group_parts_part_description_rel_to_y},
876 {"collections.group.parts.part.description.rel1.to_y", st_collections_group_parts_part_description_rel1_to_y}, 893 {"collections.group.parts.part.description.rel1.relative", st_collections_group_parts_part_description_rel1_relative},
877 {"collections.group.parts.part.description.rel2.relative", st_collections_group_parts_part_description_rel2_relative}, 894 {"collections.group.parts.part.description.rel1.offset", st_collections_group_parts_part_description_rel1_offset},
878 {"collections.group.parts.part.description.rel2.offset", st_collections_group_parts_part_description_rel2_offset}, 895 {"collections.group.parts.part.description.rel1.to", st_collections_group_parts_part_description_rel1_to},
879 {"collections.group.parts.part.description.rel2.to", st_collections_group_parts_part_description_rel2_to}, 896 {"collections.group.parts.part.description.rel1.to_x", st_collections_group_parts_part_description_rel1_to_x},
880 {"collections.group.parts.part.description.rel2.to_x", st_collections_group_parts_part_description_rel2_to_x}, 897 {"collections.group.parts.part.description.rel1.to_y", st_collections_group_parts_part_description_rel1_to_y},
881 {"collections.group.parts.part.description.rel2.to_y", st_collections_group_parts_part_description_rel2_to_y}, 898 {"collections.group.parts.part.description.rel2.relative", st_collections_group_parts_part_description_rel2_relative},
882 {"collections.group.parts.part.description.offset_scale", st_collections_group_parts_part_description_offset_scale}, 899 {"collections.group.parts.part.description.rel2.offset", st_collections_group_parts_part_description_rel2_offset},
883 {"collections.group.parts.part.description.anchors.top", st_collections_group_parts_part_description_anchors_top}, 900 {"collections.group.parts.part.description.rel2.to", st_collections_group_parts_part_description_rel2_to},
884 {"collections.group.parts.part.description.anchors.bottom", st_collections_group_parts_part_description_anchors_bottom}, 901 {"collections.group.parts.part.description.rel2.to_x", st_collections_group_parts_part_description_rel2_to_x},
885 {"collections.group.parts.part.description.anchors.left", st_collections_group_parts_part_description_anchors_left}, 902 {"collections.group.parts.part.description.rel2.to_y", st_collections_group_parts_part_description_rel2_to_y},
886 {"collections.group.parts.part.description.anchors.right", st_collections_group_parts_part_description_anchors_right}, 903 {"collections.group.parts.part.description.offset_scale", st_collections_group_parts_part_description_offset_scale},
887 {"collections.group.parts.part.description.anchors.vertical_center", st_collections_group_parts_part_description_anchors_vertical_center}, 904 {"collections.group.parts.part.description.anchors.top", st_collections_group_parts_part_description_anchors_top},
888 {"collections.group.parts.part.description.anchors.horizontal_center", st_collections_group_parts_part_description_anchors_horizontal_center}, 905 {"collections.group.parts.part.description.anchors.bottom", st_collections_group_parts_part_description_anchors_bottom},
889 {"collections.group.parts.part.description.anchors.fill", st_collections_group_parts_part_description_anchors_fill}, 906 {"collections.group.parts.part.description.anchors.left", st_collections_group_parts_part_description_anchors_left},
890 {"collections.group.parts.part.description.anchors.margin", st_collections_group_parts_part_description_anchors_margin}, 907 {"collections.group.parts.part.description.anchors.right", st_collections_group_parts_part_description_anchors_right},
891 {"collections.group.parts.part.description.clip_to", st_collections_group_parts_part_description_clip_to_id}, 908 {"collections.group.parts.part.description.anchors.vertical_center", st_collections_group_parts_part_description_anchors_vertical_center},
892 {"collections.group.parts.part.description.size_class", st_collections_group_parts_part_description_size_class}, 909 {"collections.group.parts.part.description.anchors.horizontal_center", st_collections_group_parts_part_description_anchors_horizontal_center},
893 {"collections.group.parts.part.description.image.normal", st_collections_group_parts_part_description_image_normal}, 910 {"collections.group.parts.part.description.anchors.fill", st_collections_group_parts_part_description_anchors_fill},
894 {"collections.group.parts.part.description.image.tween", st_collections_group_parts_part_description_image_tween}, 911 {"collections.group.parts.part.description.anchors.margin", st_collections_group_parts_part_description_anchors_margin},
895 IMAGE_SET_STATEMENTS("collections.group.parts.part.description.image") 912 {"collections.group.parts.part.description.clip_to", st_collections_group_parts_part_description_clip_to_id},
896 IMAGE_STATEMENTS("collections.group.parts.part.description.image.") 913 {"collections.group.parts.part.description.size_class", st_collections_group_parts_part_description_size_class},
897 {"collections.group.parts.part.description.image.border", st_collections_group_parts_part_description_image_border}, 914 {"collections.group.parts.part.description.image.normal", st_collections_group_parts_part_description_image_normal},
898 {"collections.group.parts.part.description.image.middle", st_collections_group_parts_part_description_image_middle}, 915 {"collections.group.parts.part.description.image.tween", st_collections_group_parts_part_description_image_tween},
899 {"collections.group.parts.part.description.image.border_scale", st_collections_group_parts_part_description_image_border_scale}, 916 IMAGE_SET_STATEMENTS("collections.group.parts.part.description.image")
900 {"collections.group.parts.part.description.image.border_scale_by", st_collections_group_parts_part_description_image_border_scale_by}, 917 IMAGE_STATEMENTS("collections.group.parts.part.description.image.")
901 {"collections.group.parts.part.description.image.scale_hint", st_collections_group_parts_part_description_image_scale_hint}, 918 {
902 {"collections.group.parts.part.description.fill.smooth", st_collections_group_parts_part_description_fill_smooth}, 919 "collections.group.parts.part.description.image.border", st_collections_group_parts_part_description_image_border
903 {"collections.group.parts.part.description.fill.origin.relative", st_collections_group_parts_part_description_fill_origin_relative}, 920 },
904 {"collections.group.parts.part.description.fill.origin.offset", st_collections_group_parts_part_description_fill_origin_offset}, 921 {"collections.group.parts.part.description.image.middle", st_collections_group_parts_part_description_image_middle},
905 {"collections.group.parts.part.description.fill.size.relative", st_collections_group_parts_part_description_fill_size_relative}, 922 {"collections.group.parts.part.description.image.border_scale", st_collections_group_parts_part_description_image_border_scale},
906 {"collections.group.parts.part.description.fill.size.offset", st_collections_group_parts_part_description_fill_size_offset}, 923 {"collections.group.parts.part.description.image.border_scale_by", st_collections_group_parts_part_description_image_border_scale_by},
907 {"collections.group.parts.part.description.fill.type", st_collections_group_parts_part_description_fill_type}, 924 {"collections.group.parts.part.description.image.scale_hint", st_collections_group_parts_part_description_image_scale_hint},
908 {"collections.group.parts.part.description.color_class", st_collections_group_parts_part_description_color_class}, 925 {"collections.group.parts.part.description.fill.smooth", st_collections_group_parts_part_description_fill_smooth},
909 {"collections.group.parts.part.description.color", st_collections_group_parts_part_description_color}, 926 {"collections.group.parts.part.description.fill.origin.relative", st_collections_group_parts_part_description_fill_origin_relative},
910 {"collections.group.parts.part.description.color2", st_collections_group_parts_part_description_color2}, 927 {"collections.group.parts.part.description.fill.origin.offset", st_collections_group_parts_part_description_fill_origin_offset},
911 {"collections.group.parts.part.description.color3", st_collections_group_parts_part_description_color3}, 928 {"collections.group.parts.part.description.fill.size.relative", st_collections_group_parts_part_description_fill_size_relative},
912 {"collections.group.parts.part.description.text.text", st_collections_group_parts_part_description_text_text}, 929 {"collections.group.parts.part.description.fill.size.offset", st_collections_group_parts_part_description_fill_size_offset},
913 {"collections.group.parts.part.description.text.domain", st_collections_group_parts_part_description_text_domain}, 930 {"collections.group.parts.part.description.fill.type", st_collections_group_parts_part_description_fill_type},
914 {"collections.group.parts.part.description.text.text_class", st_collections_group_parts_part_description_text_text_class}, 931 {"collections.group.parts.part.description.color_class", st_collections_group_parts_part_description_color_class},
915 {"collections.group.parts.part.description.text.font", st_collections_group_parts_part_description_text_font}, 932 {"collections.group.parts.part.description.color", st_collections_group_parts_part_description_color},
916 {"collections.group.parts.part.description.text.style", st_collections_group_parts_part_description_text_style}, 933 {"collections.group.parts.part.description.color2", st_collections_group_parts_part_description_color2},
917 {"collections.group.parts.part.description.text.repch", st_collections_group_parts_part_description_text_repch}, 934 {"collections.group.parts.part.description.color3", st_collections_group_parts_part_description_color3},
918 {"collections.group.parts.part.description.text.size", st_collections_group_parts_part_description_text_size}, 935 {"collections.group.parts.part.description.text.text", st_collections_group_parts_part_description_text_text},
919 {"collections.group.parts.part.description.text.size_range", st_collections_group_parts_part_description_text_size_range}, 936 {"collections.group.parts.part.description.text.domain", st_collections_group_parts_part_description_text_domain},
920 {"collections.group.parts.part.description.text.fit", st_collections_group_parts_part_description_text_fit}, 937 {"collections.group.parts.part.description.text.text_class", st_collections_group_parts_part_description_text_text_class},
921 {"collections.group.parts.part.description.text.min", st_collections_group_parts_part_description_text_min}, 938 {"collections.group.parts.part.description.text.font", st_collections_group_parts_part_description_text_font},
922 {"collections.group.parts.part.description.text.max", st_collections_group_parts_part_description_text_max}, 939 {"collections.group.parts.part.description.text.style", st_collections_group_parts_part_description_text_style},
923 {"collections.group.parts.part.description.text.align", st_collections_group_parts_part_description_text_align}, 940 {"collections.group.parts.part.description.text.repch", st_collections_group_parts_part_description_text_repch},
924 {"collections.group.parts.part.description.text.source", st_collections_group_parts_part_description_text_source}, 941 {"collections.group.parts.part.description.text.size", st_collections_group_parts_part_description_text_size},
925 {"collections.group.parts.part.description.text.text_source", st_collections_group_parts_part_description_text_text_source}, 942 {"collections.group.parts.part.description.text.size_range", st_collections_group_parts_part_description_text_size_range},
926 {"collections.group.parts.part.description.text.font", st_fonts_font}, /* dup */ 943 {"collections.group.parts.part.description.text.fit", st_collections_group_parts_part_description_text_fit},
927 {"collections.group.parts.part.description.text.fonts.font", st_fonts_font}, /* dup */ 944 {"collections.group.parts.part.description.text.min", st_collections_group_parts_part_description_text_min},
928 {"collections.group.parts.part.description.text.elipsis", st_collections_group_parts_part_description_text_ellipsis}, 945 {"collections.group.parts.part.description.text.max", st_collections_group_parts_part_description_text_max},
929 {"collections.group.parts.part.description.text.ellipsis", st_collections_group_parts_part_description_text_ellipsis}, 946 {"collections.group.parts.part.description.text.align", st_collections_group_parts_part_description_text_align},
930 {"collections.group.parts.part.description.text.filter", st_collections_group_parts_part_description_filter_code}, /* dup */ 947 {"collections.group.parts.part.description.text.source", st_collections_group_parts_part_description_text_source},
931 {"collections.group.parts.part.description.box.layout", st_collections_group_parts_part_description_box_layout}, 948 {"collections.group.parts.part.description.text.text_source", st_collections_group_parts_part_description_text_text_source},
932 {"collections.group.parts.part.description.box.align", st_collections_group_parts_part_description_box_align}, 949 {"collections.group.parts.part.description.text.font", st_fonts_font}, /* dup */
933 {"collections.group.parts.part.description.box.padding", st_collections_group_parts_part_description_box_padding}, 950 {"collections.group.parts.part.description.text.fonts.font", st_fonts_font}, /* dup */
934 {"collections.group.parts.part.description.box.min", st_collections_group_parts_part_description_box_min}, 951 {"collections.group.parts.part.description.text.elipsis", st_collections_group_parts_part_description_text_ellipsis},
935 {"collections.group.parts.part.description.table.homogeneous", st_collections_group_parts_part_description_table_homogeneous}, 952 {"collections.group.parts.part.description.text.ellipsis", st_collections_group_parts_part_description_text_ellipsis},
936 {"collections.group.parts.part.description.table.align", st_collections_group_parts_part_description_table_align}, 953 {"collections.group.parts.part.description.text.filter", st_collections_group_parts_part_description_filter_code}, /* dup */
937 {"collections.group.parts.part.description.table.padding", st_collections_group_parts_part_description_table_padding}, 954 {"collections.group.parts.part.description.box.layout", st_collections_group_parts_part_description_box_layout},
938 {"collections.group.parts.part.description.table.min", st_collections_group_parts_part_description_table_min}, 955 {"collections.group.parts.part.description.box.align", st_collections_group_parts_part_description_box_align},
939 {"collections.group.parts.part.description.proxy.source_visible", st_collections_group_parts_part_description_proxy_source_visible}, 956 {"collections.group.parts.part.description.box.padding", st_collections_group_parts_part_description_box_padding},
940 {"collections.group.parts.part.description.proxy.source_clip", st_collections_group_parts_part_description_proxy_source_clip}, 957 {"collections.group.parts.part.description.box.min", st_collections_group_parts_part_description_box_min},
941 {"collections.group.parts.part.description.position.point", st_collections_group_parts_part_description_position_point}, 958 {"collections.group.parts.part.description.table.homogeneous", st_collections_group_parts_part_description_table_homogeneous},
942 {"collections.group.parts.part.description.position.space", st_collections_group_parts_part_description_position_space}, 959 {"collections.group.parts.part.description.table.align", st_collections_group_parts_part_description_table_align},
943 {"collections.group.parts.part.description.properties.perspective", st_collections_group_parts_part_description_camera_properties}, 960 {"collections.group.parts.part.description.table.padding", st_collections_group_parts_part_description_table_padding},
944 {"collections.group.parts.part.description.properties.ambient", st_collections_group_parts_part_description_properties_ambient}, 961 {"collections.group.parts.part.description.table.min", st_collections_group_parts_part_description_table_min},
945 {"collections.group.parts.part.description.properties.diffuse", st_collections_group_parts_part_description_properties_diffuse}, 962 {"collections.group.parts.part.description.proxy.source_visible", st_collections_group_parts_part_description_proxy_source_visible},
946 {"collections.group.parts.part.description.properties.specular", st_collections_group_parts_part_description_properties_specular}, 963 {"collections.group.parts.part.description.proxy.source_clip", st_collections_group_parts_part_description_proxy_source_clip},
947 {"collections.group.parts.part.description.properties.material", st_collections_group_parts_part_description_properties_material}, 964 {"collections.group.parts.part.description.position.point", st_collections_group_parts_part_description_position_point},
948 {"collections.group.parts.part.description.properties.normal", st_collections_group_parts_part_description_properties_normal}, 965 {"collections.group.parts.part.description.position.space", st_collections_group_parts_part_description_position_space},
949 {"collections.group.parts.part.description.properties.shininess", st_collections_group_parts_part_description_properties_shininess}, 966 {"collections.group.parts.part.description.properties.perspective", st_collections_group_parts_part_description_camera_properties},
950 {"collections.group.parts.part.description.properties.shade", st_collections_group_parts_part_description_properties_shade}, 967 {"collections.group.parts.part.description.properties.ambient", st_collections_group_parts_part_description_properties_ambient},
951 {"collections.group.parts.part.description.mesh.primitive", st_collections_group_parts_part_description_mesh_primitive}, 968 {"collections.group.parts.part.description.properties.diffuse", st_collections_group_parts_part_description_properties_diffuse},
952 {"collections.group.parts.part.description.orientation.look1", st_collections_group_parts_part_description_orientation_look1}, 969 {"collections.group.parts.part.description.properties.specular", st_collections_group_parts_part_description_properties_specular},
953 {"collections.group.parts.part.description.orientation.look2", st_collections_group_parts_part_description_orientation_look2}, 970 {"collections.group.parts.part.description.properties.material", st_collections_group_parts_part_description_properties_material},
954 {"collections.group.parts.part.description.orientation.look_to", st_collections_group_parts_part_description_orientation_look_to}, 971 {"collections.group.parts.part.description.properties.normal", st_collections_group_parts_part_description_properties_normal},
955 {"collections.group.parts.part.description.orientation.angle_axis", st_collections_group_parts_part_description_orientation_angle_axis}, 972 {"collections.group.parts.part.description.properties.shininess", st_collections_group_parts_part_description_properties_shininess},
956 {"collections.group.parts.part.description.orientation.quaternion", st_collections_group_parts_part_description_orientation_quaternion}, 973 {"collections.group.parts.part.description.properties.shade", st_collections_group_parts_part_description_properties_shade},
957 {"collections.group.parts.part.description.scale", st_collections_group_parts_part_description_scale}, 974 {"collections.group.parts.part.description.mesh.primitive", st_collections_group_parts_part_description_mesh_primitive},
958 {"collections.group.parts.part.description.texture.image", st_collections_group_parts_part_description_texture_image}, 975 {"collections.group.parts.part.description.orientation.look1", st_collections_group_parts_part_description_orientation_look1},
959 {"collections.group.parts.part.description.texture.wrap1", st_collections_group_parts_part_description_texture_wrap1}, 976 {"collections.group.parts.part.description.orientation.look2", st_collections_group_parts_part_description_orientation_look2},
960 {"collections.group.parts.part.description.texture.wrap2", st_collections_group_parts_part_description_texture_wrap2}, 977 {"collections.group.parts.part.description.orientation.look_to", st_collections_group_parts_part_description_orientation_look_to},
961 {"collections.group.parts.part.description.texture.filter1", st_collections_group_parts_part_description_texture_filter1}, 978 {"collections.group.parts.part.description.orientation.angle_axis", st_collections_group_parts_part_description_orientation_angle_axis},
962 {"collections.group.parts.part.description.texture.filter2", st_collections_group_parts_part_description_texture_filter2}, 979 {"collections.group.parts.part.description.orientation.quaternion", st_collections_group_parts_part_description_orientation_quaternion},
963 {"collections.group.parts.part.description.mesh.assembly", st_collections_group_parts_part_description_mesh_assembly}, 980 {"collections.group.parts.part.description.scale", st_collections_group_parts_part_description_scale},
964 {"collections.group.parts.part.description.mesh.geometry", st_collections_group_parts_part_description_mesh_geometry}, 981 {"collections.group.parts.part.description.texture.image", st_collections_group_parts_part_description_texture_image},
965 {"collections.group.parts.part.description.mesh.frame", st_collections_group_parts_part_description_mesh_frame}, 982 {"collections.group.parts.part.description.texture.wrap1", st_collections_group_parts_part_description_texture_wrap1},
966 {"collections.group.parts.part.description.filter.code", st_collections_group_parts_part_description_filter_code}, 983 {"collections.group.parts.part.description.texture.wrap2", st_collections_group_parts_part_description_texture_wrap2},
967 {"collections.group.parts.part.description.filter.source", st_collections_group_parts_part_description_filter_source}, 984 {"collections.group.parts.part.description.texture.filter1", st_collections_group_parts_part_description_texture_filter1},
968 {"collections.group.parts.part.description.filter.data", st_collections_group_parts_part_description_filter_data}, 985 {"collections.group.parts.part.description.texture.filter2", st_collections_group_parts_part_description_texture_filter2},
986 {"collections.group.parts.part.description.mesh.assembly", st_collections_group_parts_part_description_mesh_assembly},
987 {"collections.group.parts.part.description.mesh.geometry", st_collections_group_parts_part_description_mesh_geometry},
988 {"collections.group.parts.part.description.mesh.frame", st_collections_group_parts_part_description_mesh_frame},
989 {"collections.group.parts.part.description.filter.code", st_collections_group_parts_part_description_filter_code},
990 {"collections.group.parts.part.description.filter.source", st_collections_group_parts_part_description_filter_source},
991 {"collections.group.parts.part.description.filter.data", st_collections_group_parts_part_description_filter_data},
969 992
970#ifdef HAVE_EPHYSICS 993#ifdef HAVE_EPHYSICS
971 {"collections.group.parts.part.description.physics.mass", st_collections_group_parts_part_description_physics_mass}, 994 {"collections.group.parts.part.description.physics.mass", st_collections_group_parts_part_description_physics_mass},
972 {"collections.group.parts.part.description.physics.restitution", st_collections_group_parts_part_description_physics_restitution}, 995 {"collections.group.parts.part.description.physics.restitution", st_collections_group_parts_part_description_physics_restitution},
973 {"collections.group.parts.part.description.physics.friction", st_collections_group_parts_part_description_physics_friction}, 996 {"collections.group.parts.part.description.physics.friction", st_collections_group_parts_part_description_physics_friction},
974 {"collections.group.parts.part.description.physics.damping", st_collections_group_parts_part_description_physics_damping}, 997 {"collections.group.parts.part.description.physics.damping", st_collections_group_parts_part_description_physics_damping},
975 {"collections.group.parts.part.description.physics.sleep", st_collections_group_parts_part_description_physics_sleep}, 998 {"collections.group.parts.part.description.physics.sleep", st_collections_group_parts_part_description_physics_sleep},
976 {"collections.group.parts.part.description.physics.material", st_collections_group_parts_part_description_physics_material}, 999 {"collections.group.parts.part.description.physics.material", st_collections_group_parts_part_description_physics_material},
977 {"collections.group.parts.part.description.physics.density", st_collections_group_parts_part_description_physics_density}, 1000 {"collections.group.parts.part.description.physics.density", st_collections_group_parts_part_description_physics_density},
978 {"collections.group.parts.part.description.physics.hardness", st_collections_group_parts_part_description_physics_hardness}, 1001 {"collections.group.parts.part.description.physics.hardness", st_collections_group_parts_part_description_physics_hardness},
979 {"collections.group.parts.part.description.physics.movement_freedom.linear", st_collections_group_parts_part_description_physics_movement_freedom_linear}, 1002 {"collections.group.parts.part.description.physics.movement_freedom.linear", st_collections_group_parts_part_description_physics_movement_freedom_linear},
980 {"collections.group.parts.part.description.physics.movement_freedom.angular", st_collections_group_parts_part_description_physics_movement_freedom_angular}, 1003 {"collections.group.parts.part.description.physics.movement_freedom.angular", st_collections_group_parts_part_description_physics_movement_freedom_angular},
981 {"collections.group.parts.part.description.physics.ignore_part_pos", st_collections_group_parts_part_description_physics_ignore_part_pos}, 1004 {"collections.group.parts.part.description.physics.ignore_part_pos", st_collections_group_parts_part_description_physics_ignore_part_pos},
982 {"collections.group.parts.part.description.physics.light_on", st_collections_group_parts_part_description_physics_light_on}, 1005 {"collections.group.parts.part.description.physics.light_on", st_collections_group_parts_part_description_physics_light_on},
983 {"collections.group.parts.part.description.physics.z", st_collections_group_parts_part_description_physics_z}, 1006 {"collections.group.parts.part.description.physics.z", st_collections_group_parts_part_description_physics_z},
984 {"collections.group.parts.part.description.physics.depth", st_collections_group_parts_part_description_physics_depth}, 1007 {"collections.group.parts.part.description.physics.depth", st_collections_group_parts_part_description_physics_depth},
985 {"collections.group.parts.part.description.physics.backface_cull", st_collections_group_parts_part_description_physics_backface_cull}, 1008 {"collections.group.parts.part.description.physics.backface_cull", st_collections_group_parts_part_description_physics_backface_cull},
986 {"collections.group.parts.part.description.physics.faces.face.type", st_collections_group_parts_part_description_physics_face_type}, 1009 {"collections.group.parts.part.description.physics.faces.face.type", st_collections_group_parts_part_description_physics_face_type},
987 {"collections.group.parts.part.description.physics.faces.face.source", st_collections_group_parts_part_description_physics_face_source}, 1010 {"collections.group.parts.part.description.physics.faces.face.source", st_collections_group_parts_part_description_physics_face_source},
988#endif 1011#endif
989 {"collections.group.parts.part.description.map.perspective", st_collections_group_parts_part_description_map_perspective}, 1012 {"collections.group.parts.part.description.map.perspective", st_collections_group_parts_part_description_map_perspective},
990 {"collections.group.parts.part.description.map.light", st_collections_group_parts_part_description_map_light}, 1013 {"collections.group.parts.part.description.map.light", st_collections_group_parts_part_description_map_light},
991 {"collections.group.parts.part.description.map.rotation.center", st_collections_group_parts_part_description_map_rotation_center}, 1014 {"collections.group.parts.part.description.map.rotation.center", st_collections_group_parts_part_description_map_rotation_center},
992 {"collections.group.parts.part.description.map.rotation.x", st_collections_group_parts_part_description_map_rotation_x}, 1015 {"collections.group.parts.part.description.map.rotation.x", st_collections_group_parts_part_description_map_rotation_x},
993 {"collections.group.parts.part.description.map.rotation.y", st_collections_group_parts_part_description_map_rotation_y}, 1016 {"collections.group.parts.part.description.map.rotation.y", st_collections_group_parts_part_description_map_rotation_y},
994 {"collections.group.parts.part.description.map.rotation.z", st_collections_group_parts_part_description_map_rotation_z}, 1017 {"collections.group.parts.part.description.map.rotation.z", st_collections_group_parts_part_description_map_rotation_z},
995 {"collections.group.parts.part.description.map.on", st_collections_group_parts_part_description_map_on}, 1018 {"collections.group.parts.part.description.map.on", st_collections_group_parts_part_description_map_on},
996 {"collections.group.parts.part.description.map.smooth", st_collections_group_parts_part_description_map_smooth}, 1019 {"collections.group.parts.part.description.map.smooth", st_collections_group_parts_part_description_map_smooth},
997 {"collections.group.parts.part.description.map.alpha", st_collections_group_parts_part_description_map_alpha}, 1020 {"collections.group.parts.part.description.map.alpha", st_collections_group_parts_part_description_map_alpha},
998 {"collections.group.parts.part.description.map.backface_cull", st_collections_group_parts_part_description_map_backface_cull}, 1021 {"collections.group.parts.part.description.map.backface_cull", st_collections_group_parts_part_description_map_backface_cull},
999 {"collections.group.parts.part.description.map.perspective_on", st_collections_group_parts_part_description_map_perspective_on}, 1022 {"collections.group.parts.part.description.map.perspective_on", st_collections_group_parts_part_description_map_perspective_on},
1000 {"collections.group.parts.part.description.map.color", st_collections_group_parts_part_description_map_color}, 1023 {"collections.group.parts.part.description.map.color", st_collections_group_parts_part_description_map_color},
1001 {"collections.group.parts.part.description.map.zoom.x", st_collections_group_parts_part_description_map_zoom_x}, 1024 {"collections.group.parts.part.description.map.zoom.x", st_collections_group_parts_part_description_map_zoom_x},
1002 {"collections.group.parts.part.description.map.zoom.y", st_collections_group_parts_part_description_map_zoom_y}, 1025 {"collections.group.parts.part.description.map.zoom.y", st_collections_group_parts_part_description_map_zoom_y},
1003 {"collections.group.parts.part.description.perspective.zplane", st_collections_group_parts_part_description_perspective_zplane}, 1026 {"collections.group.parts.part.description.perspective.zplane", st_collections_group_parts_part_description_perspective_zplane},
1004 {"collections.group.parts.part.description.perspective.focal", st_collections_group_parts_part_description_perspective_focal}, 1027 {"collections.group.parts.part.description.perspective.focal", st_collections_group_parts_part_description_perspective_focal},
1005 {"collections.group.parts.part.description.params.int", st_collections_group_parts_part_description_params_int}, 1028 {"collections.group.parts.part.description.params.int", st_collections_group_parts_part_description_params_int},
1006 {"collections.group.parts.part.description.params.double", st_collections_group_parts_part_description_params_double}, 1029 {"collections.group.parts.part.description.params.double", st_collections_group_parts_part_description_params_double},
1007 {"collections.group.parts.part.description.params.string", st_collections_group_parts_part_description_params_string}, 1030 {"collections.group.parts.part.description.params.string", st_collections_group_parts_part_description_params_string},
1008 {"collections.group.parts.part.description.params.bool", st_collections_group_parts_part_description_params_bool}, 1031 {"collections.group.parts.part.description.params.bool", st_collections_group_parts_part_description_params_bool},
1009 {"collections.group.parts.part.description.params.choice", st_collections_group_parts_part_description_params_choice}, 1032 {"collections.group.parts.part.description.params.choice", st_collections_group_parts_part_description_params_choice},
1010 {"collections.group.parts.part.description.params.*", st_collections_group_parts_part_description_params_smart}, 1033 {"collections.group.parts.part.description.params.*", st_collections_group_parts_part_description_params_smart},
1011 IMAGE_STATEMENTS("collections.group.parts.part.description.") 1034 IMAGE_STATEMENTS("collections.group.parts.part.description.")
1012 {"collections.group.parts.part.description.font", st_fonts_font}, /* dup */ 1035 {
1013 FONT_STYLE_CC_STATEMENTS("collections.group.parts.part.description.") 1036 "collections.group.parts.part.description.font", st_fonts_font
1014 TEXT_CLASS_STATEMENTS("collections.group.parts.part.description.") 1037 }, /* dup */
1015 SIZE_CLASS_STATEMENTS("collections.group.parts.part.description.") 1038 FONT_STYLE_CC_STATEMENTS("collections.group.parts.part.description.")
1039 TEXT_CLASS_STATEMENTS("collections.group.parts.part.description.")
1040 SIZE_CLASS_STATEMENTS("collections.group.parts.part.description.")
1016#ifdef HAVE_EPHYSICS 1041#ifdef HAVE_EPHYSICS
1017 {"collections.group.physics.world.gravity", st_collections_group_physics_world_gravity}, 1042 {
1018 {"collections.group.physics.world.rate", st_collections_group_physics_world_rate}, 1043 "collections.group.physics.world.gravity", st_collections_group_physics_world_gravity
1019 {"collections.group.physics.world.z", st_collections_group_physics_world_z}, 1044 },
1020 {"collections.group.physics.world.depth", st_collections_group_physics_world_depth}, 1045 {"collections.group.physics.world.rate", st_collections_group_physics_world_rate},
1046 {"collections.group.physics.world.z", st_collections_group_physics_world_z},
1047 {"collections.group.physics.world.depth", st_collections_group_physics_world_depth},
1021#endif 1048#endif
1022 FILTERS_STATEMENTS("collections.group.") /* dup */ 1049 FILTERS_STATEMENTS("collections.group.") /* dup */
1023 PROGRAM_STATEMENTS("collections.group.parts.part.description") 1050 PROGRAM_STATEMENTS("collections.group.parts.part.description")
1024 PROGRAM_STATEMENTS("collections.group.parts.part") 1051 PROGRAM_STATEMENTS("collections.group.parts.part")
1025 PROGRAM_STATEMENTS("collections.group.parts") 1052 PROGRAM_STATEMENTS("collections.group.parts")
1026 PROGRAM_STATEMENTS("collections.group") 1053 PROGRAM_STATEMENTS("collections.group")
1027}; 1054};
1028 1055
1029/** @edcsection{lazedc, 1056/** @edcsection{lazedc,
@@ -1088,7 +1115,7 @@ New_Statement_Handler statement_handlers[] =
1088 if a block name is the same as an existing EDC keyword. 1115 if a block name is the same as an existing EDC keyword.
1089 @since 1.10 1116 @since 1.10
1090 @endblock 1117 @endblock
1091*/ 1118 */
1092 1119
1093/** @edcsubsection{lazedc_synonyms, 1120/** @edcsubsection{lazedc_synonyms,
1094 * LazEDC Synonyms} */ 1121 * LazEDC Synonyms} */
@@ -1123,19 +1150,18 @@ New_Statement_Handler statement_handlers[] =
1123 These statements on the left are identical to their original keywords on the right. 1150 These statements on the left are identical to their original keywords on the right.
1124 @since 1.10 1151 @since 1.10
1125 @endblock 1152 @endblock
1126*/ 1153 */
1127
1128 1154
1129New_Statement_Handler statement_handlers_short[] = 1155New_Statement_Handler statement_handlers_short[] =
1130{ 1156{
1131 {"collections.group.parts.part.before", st_collections_group_parts_part_insert_before}, 1157 {"collections.group.parts.part.before", st_collections_group_parts_part_insert_before},
1132 {"collections.group.parts.part.after", st_collections_group_parts_part_insert_after}, 1158 {"collections.group.parts.part.after", st_collections_group_parts_part_insert_after},
1133 {"collections.group.parts.part.ignore", st_collections_group_parts_part_ignore_flags}, 1159 {"collections.group.parts.part.ignore", st_collections_group_parts_part_ignore_flags},
1134 {"collections.group.parts.part.mask", st_collections_group_parts_part_mask_flags}, 1160 {"collections.group.parts.part.mask", st_collections_group_parts_part_mask_flags},
1135 {"collections.group.parts.part.pointer", st_collections_group_parts_part_pointer_mode}, 1161 {"collections.group.parts.part.pointer", st_collections_group_parts_part_pointer_mode},
1136 {"collections.group.parts.part.alt_font", st_collections_group_parts_part_use_alternate_font_metrics}, 1162 {"collections.group.parts.part.alt_font", st_collections_group_parts_part_use_alternate_font_metrics},
1137 {"collections.group.parts.part.clip", st_collections_group_parts_part_clip_to_id}, 1163 {"collections.group.parts.part.clip", st_collections_group_parts_part_clip_to_id},
1138 {"collections.group.parts.part.description.clip", st_collections_group_parts_part_description_clip_to_id}, 1164 {"collections.group.parts.part.description.clip", st_collections_group_parts_part_description_clip_to_id},
1139}; 1165};
1140 1166
1141/** @edcsubsection{lazedc_shorthand, 1167/** @edcsubsection{lazedc_shorthand,
@@ -1181,31 +1207,31 @@ New_Statement_Handler statement_handlers_short[] =
1181 but they are shorter. 1207 but they are shorter.
1182 @since 1.10 1208 @since 1.10
1183 @endblock 1209 @endblock
1184*/ 1210 */
1185New_Statement_Handler statement_handlers_short_single[] = 1211New_Statement_Handler statement_handlers_short_single[] =
1186{ 1212{
1187 {"collections.group.parts.part.mouse", st_collections_group_parts_part_mouse}, 1213 {"collections.group.parts.part.mouse", st_collections_group_parts_part_mouse},
1188 {"collections.group.parts.part.nomouse", st_collections_group_parts_part_nomouse}, 1214 {"collections.group.parts.part.nomouse", st_collections_group_parts_part_nomouse},
1189 {"collections.group.parts.part.repeat", st_collections_group_parts_part_repeat}, 1215 {"collections.group.parts.part.repeat", st_collections_group_parts_part_repeat},
1190 {"collections.group.parts.part.norepeat", st_collections_group_parts_part_norepeat}, 1216 {"collections.group.parts.part.norepeat", st_collections_group_parts_part_norepeat},
1191 {"collections.group.parts.part.precise", st_collections_group_parts_part_precise}, 1217 {"collections.group.parts.part.precise", st_collections_group_parts_part_precise},
1192 {"collections.group.parts.part.noprecise", st_collections_group_parts_part_noprecise}, 1218 {"collections.group.parts.part.noprecise", st_collections_group_parts_part_noprecise},
1193 {"collections.group.parts.part.scale", st_collections_group_parts_part_scale}, 1219 {"collections.group.parts.part.scale", st_collections_group_parts_part_scale},
1194 {"collections.group.parts.part.noscale", st_collections_group_parts_part_noscale}, 1220 {"collections.group.parts.part.noscale", st_collections_group_parts_part_noscale},
1195 {"collections.group.parts.part.render", st_collections_group_parts_part_render}, 1221 {"collections.group.parts.part.render", st_collections_group_parts_part_render},
1196 {"collections.group.parts.part.norender", st_collections_group_parts_part_no_render}, 1222 {"collections.group.parts.part.norender", st_collections_group_parts_part_no_render},
1197 {"collections.group.parts.part.required", st_collections_group_parts_part_required}, 1223 {"collections.group.parts.part.required", st_collections_group_parts_part_required},
1198 {"collections.group.parts.part.norequired", st_collections_group_parts_part_norequired}, 1224 {"collections.group.parts.part.norequired", st_collections_group_parts_part_norequired},
1199 {"collections.group.parts.part.description.vis", st_collections_group_parts_part_description_vis}, 1225 {"collections.group.parts.part.description.vis", st_collections_group_parts_part_description_vis},
1200 {"collections.group.parts.part.description.hid", st_collections_group_parts_part_description_hid}, 1226 {"collections.group.parts.part.description.hid", st_collections_group_parts_part_description_hid},
1201 {"collections.group.parts.part.description.offscale", st_collections_group_parts_part_description_offset_scale}, 1227 {"collections.group.parts.part.description.offscale", st_collections_group_parts_part_description_offset_scale},
1202 {"collections.group.mouse", st_collections_group_mouse}, 1228 {"collections.group.mouse", st_collections_group_mouse},
1203 {"collections.group.nomouse", st_collections_group_nomouse}, 1229 {"collections.group.nomouse", st_collections_group_nomouse},
1204 {"collections.group.broadcast", st_collections_group_broadcast}, 1230 {"collections.group.broadcast", st_collections_group_broadcast},
1205 {"collections.group.nobroadcast", st_collections_group_nobroadcast}, 1231 {"collections.group.nobroadcast", st_collections_group_nobroadcast},
1206 {"collections.group.inherit_script", st_collections_group_inherit_script}, 1232 {"collections.group.inherit_script", st_collections_group_inherit_script},
1207 {"collections.group.noinherit_script", st_collections_group_noinherit_script}, 1233 {"collections.group.noinherit_script", st_collections_group_noinherit_script},
1208 {"collections.group.parts.part.description.inherit", st_collections_group_parts_part_description_inherit}, 1234 {"collections.group.parts.part.description.inherit", st_collections_group_parts_part_description_inherit},
1209}; 1235};
1210 1236
1211/** @edcsubsection{lazedc_external_params, 1237/** @edcsubsection{lazedc_external_params,
@@ -1241,7 +1267,7 @@ New_Statement_Handler statement_handlers_short_single[] =
1241 String without quotes except for 'true' or 'false' is considered as a choice. 1267 String without quotes except for 'true' or 'false' is considered as a choice.
1242 @since 1.18 1268 @since 1.18
1243 @endblock 1269 @endblock
1244*/ 1270 */
1245static Edje_External_Param_Type 1271static Edje_External_Param_Type
1246_parse_external_param_type(char *token) 1272_parse_external_param_type(char *token)
1247{ 1273{
@@ -1306,7 +1332,7 @@ st_collections_group_parts_part_description_params_smart(void)
1306 exit(-1); 1332 exit(-1);
1307 } 1333 }
1308 1334
1309 ed = (Edje_Part_Description_External*) current_desc; 1335 ed = (Edje_Part_Description_External *)current_desc;
1310 1336
1311 last = eina_list_last_data_get(stack); 1337 last = eina_list_last_data_get(stack);
1312 if (!strncmp(last, "params.", strlen("params."))) 1338 if (!strncmp(last, "params.", strlen("params.")))
@@ -1341,25 +1367,29 @@ st_collections_group_parts_part_description_params_smart(void)
1341 switch (param->type) 1367 switch (param->type)
1342 { 1368 {
1343 case EDJE_EXTERNAL_PARAM_TYPE_BOOL: 1369 case EDJE_EXTERNAL_PARAM_TYPE_BOOL:
1344 if (!strcmp(token, "true")) 1370 if (!strcmp(token, "true"))
1345 param->i = 1; 1371 param->i = 1;
1346 else if (!strcmp(token, "false")) 1372 else if (!strcmp(token, "false"))
1347 param->i = 0; 1373 param->i = 0;
1348 break; 1374 break;
1375
1349 case EDJE_EXTERNAL_PARAM_TYPE_INT: 1376 case EDJE_EXTERNAL_PARAM_TYPE_INT:
1350 param->i = parse_int(0); 1377 param->i = parse_int(0);
1351 break; 1378 break;
1379
1352 case EDJE_EXTERNAL_PARAM_TYPE_DOUBLE: 1380 case EDJE_EXTERNAL_PARAM_TYPE_DOUBLE:
1353 param->d = parse_float(0); 1381 param->d = parse_float(0);
1354 break; 1382 break;
1383
1355 case EDJE_EXTERNAL_PARAM_TYPE_CHOICE: 1384 case EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
1356 case EDJE_EXTERNAL_PARAM_TYPE_STRING: 1385 case EDJE_EXTERNAL_PARAM_TYPE_STRING:
1357 param->s = parse_str(0); 1386 param->s = parse_str(0);
1358 break; 1387 break;
1388
1359 default: 1389 default:
1360 ERR("parse error %s:%i. Invalid param type.", 1390 ERR("parse error %s:%i. Invalid param type.",
1361 file_in, line - 1); 1391 file_in, line - 1);
1362 break; 1392 break;
1363 } 1393 }
1364 1394
1365 if (!found) 1395 if (!found)
@@ -1368,196 +1398,196 @@ st_collections_group_parts_part_description_params_smart(void)
1368 free(token); 1398 free(token);
1369} 1399}
1370 1400
1371#define PROGRAM_OBJECTS(PREFIX) \ 1401#define PROGRAM_OBJECTS(PREFIX) \
1372 {PREFIX".program", ob_collections_group_programs_program}, /* dup */ \ 1402 {PREFIX ".program", ob_collections_group_programs_program}, /* dup */ \
1373 {PREFIX".program.script", ob_collections_group_programs_program_script}, /* dup */ \ 1403 {PREFIX ".program.script", ob_collections_group_programs_program_script}, /* dup */ \
1374 {PREFIX".program.sequence.script", ob_collections_group_programs_program_script}, /* dup */ \ 1404 {PREFIX ".program.sequence.script", ob_collections_group_programs_program_script}, /* dup */ \
1375 {PREFIX".program.sequence", ob_collections_group_programs_program_sequence}, /* dup */ \ 1405 {PREFIX ".program.sequence", ob_collections_group_programs_program_sequence}, /* dup */ \
1376 {PREFIX".programs", NULL}, /* dup */ \ 1406 {PREFIX ".programs", NULL}, /* dup */ \
1377 {PREFIX".programs.set", ob_images_set}, /* dup */ \ 1407 {PREFIX ".programs.set", ob_images_set}, /* dup */ \
1378 {PREFIX".programs.set.image", ob_images_set_image}, /* dup */ \ 1408 {PREFIX ".programs.set.image", ob_images_set_image}, /* dup */ \
1379 {PREFIX".programs.images", NULL}, /* dup */ \ 1409 {PREFIX ".programs.images", NULL}, /* dup */ \
1380 {PREFIX".programs.images.set", ob_images_set}, /* dup */ \ 1410 {PREFIX ".programs.images.set", ob_images_set}, /* dup */ \
1381 {PREFIX".programs.images.set.image", ob_images_set_image}, /* dup */ \ 1411 {PREFIX ".programs.images.set.image", ob_images_set_image}, /* dup */ \
1382 {PREFIX".programs.fonts", NULL}, /* dup */ \ 1412 {PREFIX ".programs.fonts", NULL}, /* dup */ \
1383 {PREFIX".programs.program", ob_collections_group_programs_program}, /* dup */ \ 1413 {PREFIX ".programs.program", ob_collections_group_programs_program}, /* dup */ \
1384 {PREFIX".programs.program.script", ob_collections_group_programs_program_script}, /* dup */ \ 1414 {PREFIX ".programs.program.script", ob_collections_group_programs_program_script}, /* dup */ \
1385 {PREFIX".programs.program.sequence", ob_collections_group_programs_program_sequence}, /* dup */ \ 1415 {PREFIX ".programs.program.sequence", ob_collections_group_programs_program_sequence}, /* dup */ \
1386 {PREFIX".programs.program.sequence.script", ob_collections_group_programs_program_script}, /* dup */ \ 1416 {PREFIX ".programs.program.sequence.script", ob_collections_group_programs_program_script}, /* dup */ \
1387 {PREFIX".programs.script", ob_collections_group_script}, /* dup */ \ 1417 {PREFIX ".programs.script", ob_collections_group_script}, /* dup */ \
1388 {PREFIX".script", ob_collections_group_script}, /* dup */ 1418 {PREFIX ".script", ob_collections_group_script}, /* dup */
1389 1419
1390New_Object_Handler object_handlers[] = 1420New_Object_Handler object_handlers[] =
1391{ 1421{
1392 {"externals", NULL}, 1422 {"externals", NULL},
1393 {"images", NULL}, 1423 {"images", NULL},
1394 {"images.set", ob_images_set}, 1424 {"images.set", ob_images_set},
1395 {"images.set.image", ob_images_set_image}, 1425 {"images.set.image", ob_images_set_image},
1396 {"fonts", NULL}, 1426 {"fonts", NULL},
1397 {"data", NULL}, 1427 {"data", NULL},
1398 {"styles", NULL}, 1428 {"styles", NULL},
1399 {"styles.style", ob_styles_style}, 1429 {"styles.style", ob_styles_style},
1400 {"color_tree", ob_color_tree}, 1430 {"color_tree", ob_color_tree},
1401 {"color_classes", NULL}, 1431 {"color_classes", NULL},
1402 {"color_classes.color_class", ob_color_class}, 1432 {"color_classes.color_class", ob_color_class},
1403 {"text_classes", NULL}, 1433 {"text_classes", NULL},
1404 {"text_classes.text_class", ob_text_class}, 1434 {"text_classes.text_class", ob_text_class},
1405 {"size_classes", NULL}, 1435 {"size_classes", NULL},
1406 {"size_classes.size_class", ob_size_class}, 1436 {"size_classes.size_class", ob_size_class},
1407 {"spectra", NULL}, 1437 {"spectra", NULL},
1408 {"filters", NULL}, 1438 {"filters", NULL},
1409 {"filters.filter", ob_filters_filter}, 1439 {"filters.filter", ob_filters_filter},
1410 {"filters.filter.script", ob_filters_filter_script}, 1440 {"filters.filter.script", ob_filters_filter_script},
1411 {"collections", ob_collections}, 1441 {"collections", ob_collections},
1412 {"collections.externals", NULL}, /* dup */ 1442 {"collections.externals", NULL}, /* dup */
1413 {"collections.set", ob_images_set}, /* dup */ 1443 {"collections.set", ob_images_set}, /* dup */
1414 {"collections.set.image", ob_images_set_image}, /* dup */ 1444 {"collections.set.image", ob_images_set_image}, /* dup */
1415 {"collections.images", NULL}, /* dup */ 1445 {"collections.images", NULL}, /* dup */
1416 {"collections.images.set", ob_images_set}, /* dup */ 1446 {"collections.images.set", ob_images_set}, /* dup */
1417 {"collections.images.set.image", ob_images_set_image}, /* dup */ 1447 {"collections.images.set.image", ob_images_set_image}, /* dup */
1418 {"collections.fonts", NULL}, /* dup */ 1448 {"collections.fonts", NULL}, /* dup */
1419 {"collections.styles", NULL}, /* dup */ 1449 {"collections.styles", NULL}, /* dup */
1420 {"collections.styles.style", ob_styles_style}, /* dup */ 1450 {"collections.styles.style", ob_styles_style}, /* dup */
1421 {"collections.color_tree", ob_color_tree}, /* dup */ 1451 {"collections.color_tree", ob_color_tree}, /* dup */
1422 {"collections.color_classes", NULL}, /* dup */ 1452 {"collections.color_classes", NULL}, /* dup */
1423 {"collections.color_classes.color_class", ob_color_class}, /* dup */ 1453 {"collections.color_classes.color_class", ob_color_class}, /* dup */
1424 {"collections.text_classes", NULL}, 1454 {"collections.text_classes", NULL},
1425 {"collections.text_classes.text_class", ob_text_class}, /* dup */ 1455 {"collections.text_classes.text_class", ob_text_class}, /* dup */
1426 {"collections.size_classes", NULL}, /* dup */ 1456 {"collections.size_classes", NULL}, /* dup */
1427 {"collections.size_classes.size_class", ob_size_class}, /* dup */ 1457 {"collections.size_classes.size_class", ob_size_class}, /* dup */
1428 {"collections.sounds", NULL}, 1458 {"collections.sounds", NULL},
1429 {"collections.group.sounds", NULL}, /* dup */ 1459 {"collections.group.sounds", NULL}, /* dup */
1430 {"collections.sounds.sample", NULL}, 1460 {"collections.sounds.sample", NULL},
1431 {"collections.translation", NULL}, 1461 {"collections.translation", NULL},
1432 {"collections.translation.file", NULL}, 1462 {"collections.translation.file", NULL},
1433 {"collections.group.translation", NULL},/*dup*/ 1463 {"collections.group.translation", NULL}, /*dup*/
1434 {"collections.group.translation.file", NULL},/*dup*/ 1464 {"collections.group.translation.file", NULL}, /*dup*/
1435 {"collections.group.sounds.sample", NULL}, /* dup */ 1465 {"collections.group.sounds.sample", NULL}, /* dup */
1436 {"collections.vibrations", NULL}, 1466 {"collections.vibrations", NULL},
1437 {"collections.group.vibrations", NULL}, /* dup */ 1467 {"collections.group.vibrations", NULL}, /* dup */
1438 {"collections.vibrations.sample", NULL}, 1468 {"collections.vibrations.sample", NULL},
1439 {"collections.filters", NULL}, 1469 {"collections.filters", NULL},
1440 {"collections.filters.filter", ob_filters_filter}, /* dup */ 1470 {"collections.filters.filter", ob_filters_filter}, /* dup */
1441 {"collections.filters.filter.script", ob_filters_filter_script}, /* dup */ 1471 {"collections.filters.filter.script", ob_filters_filter_script}, /* dup */
1442 {"collections.group.vibrations.sample", NULL}, /* dup */ 1472 {"collections.group.vibrations.sample", NULL}, /* dup */
1443 {"collections.group", ob_collections_group}, 1473 {"collections.group", ob_collections_group},
1444 {"collections.group.data", NULL}, 1474 {"collections.group.data", NULL},
1445 {"collections.group.limits", NULL}, 1475 {"collections.group.limits", NULL},
1446 {"collections.group.script", ob_collections_group_script}, 1476 {"collections.group.script", ob_collections_group_script},
1447 {"collections.group.lua_script", ob_collections_group_lua_script}, 1477 {"collections.group.lua_script", ob_collections_group_lua_script},
1448 {"collections.group.externals", NULL}, /* dup */ 1478 {"collections.group.externals", NULL}, /* dup */
1449 {"collections.group.set", ob_images_set}, /* dup */ 1479 {"collections.group.set", ob_images_set}, /* dup */
1450 {"collections.group.set.image", ob_images_set_image}, /* dup */ 1480 {"collections.group.set.image", ob_images_set_image}, /* dup */
1451 {"collections.group.images", NULL}, /* dup */ 1481 {"collections.group.images", NULL}, /* dup */
1452 {"collections.group.models", NULL}, /* dup */ 1482 {"collections.group.models", NULL}, /* dup */
1453 {"collections.group.images.set", ob_images_set}, /* dup */ 1483 {"collections.group.images.set", ob_images_set}, /* dup */
1454 {"collections.group.images.set.image", ob_images_set_image}, /* dup */ 1484 {"collections.group.images.set.image", ob_images_set_image}, /* dup */
1455 {"collections.group.fonts", NULL}, /* dup */ 1485 {"collections.group.fonts", NULL}, /* dup */
1456 {"collections.group.styles", NULL}, /* dup */ 1486 {"collections.group.styles", NULL}, /* dup */
1457 {"collections.group.styles.style", ob_styles_style}, /* dup */ 1487 {"collections.group.styles.style", ob_styles_style}, /* dup */
1458 {"collections.group.color_tree", ob_color_tree}, /* dup */ 1488 {"collections.group.color_tree", ob_color_tree}, /* dup */
1459 {"collections.group.color_classes", NULL}, /* dup */ 1489 {"collections.group.color_classes", NULL}, /* dup */
1460 {"collections.group.color_classes.color_class", ob_color_class}, /* dup */ 1490 {"collections.group.color_classes.color_class", ob_color_class}, /* dup */
1461 {"collections.group.text_classes", NULL}, 1491 {"collections.group.text_classes", NULL},
1462 {"collections.group.text_classes.text_class", ob_text_class}, /* dup */ 1492 {"collections.group.text_classes.text_class", ob_text_class}, /* dup */
1463 {"collections.group.size_classes", NULL}, /* dup */ 1493 {"collections.group.size_classes", NULL}, /* dup */
1464 {"collections.group.size_classes.size_class", ob_size_class}, /* dup */ 1494 {"collections.group.size_classes.size_class", ob_size_class}, /* dup */
1465 {"collections.group.filters", NULL}, 1495 {"collections.group.filters", NULL},
1466 {"collections.group.filters.filter", ob_filters_filter}, /* dup */ 1496 {"collections.group.filters.filter", ob_filters_filter}, /* dup */
1467 {"collections.group.filters.filter.script", ob_filters_filter_script}, /* dup */ 1497 {"collections.group.filters.filter.script", ob_filters_filter_script}, /* dup */
1468 {"collections.group.parts", NULL}, 1498 {"collections.group.parts", NULL},
1469 {"collections.group.parts.set", ob_images_set}, /* dup */ 1499 {"collections.group.parts.set", ob_images_set}, /* dup */
1470 {"collections.group.parts.set.image", ob_images_set_image}, /* dup */ 1500 {"collections.group.parts.set.image", ob_images_set_image}, /* dup */
1471 {"collections.group.parts.images", NULL}, /* dup */ 1501 {"collections.group.parts.images", NULL}, /* dup */
1472 {"collections.group.parts.images.set", ob_images_set}, /* dup */ 1502 {"collections.group.parts.images.set", ob_images_set}, /* dup */
1473 {"collections.group.parts.images.set.image", ob_images_set_image}, /* dup */ 1503 {"collections.group.parts.images.set.image", ob_images_set_image}, /* dup */
1474 {"collections.group.parts.fonts", NULL}, /* dup */ 1504 {"collections.group.parts.fonts", NULL}, /* dup */
1475 {"collections.group.parts.styles", NULL}, /* dup */ 1505 {"collections.group.parts.styles", NULL}, /* dup */
1476 {"collections.group.parts.styles.style", ob_styles_style}, /* dup */ 1506 {"collections.group.parts.styles.style", ob_styles_style}, /* dup */
1477 {"collections.group.parts.color_classes", NULL}, /* dup */ 1507 {"collections.group.parts.color_classes", NULL}, /* dup */
1478 {"collections.group.parts.color_classes.color_class", ob_color_class}, /* dup */ 1508 {"collections.group.parts.color_classes.color_class", ob_color_class}, /* dup */
1479 {"collections.group.parts.text_classes", NULL}, 1509 {"collections.group.parts.text_classes", NULL},
1480 {"collections.group.parts.text_classes.text_class", ob_text_class}, /* dup */ 1510 {"collections.group.parts.text_classes.text_class", ob_text_class}, /* dup */
1481 {"collections.group.parts.size_classes", NULL}, /* dup */ 1511 {"collections.group.parts.size_classes", NULL}, /* dup */
1482 {"collections.group.parts.size_classes.size_class", ob_size_class}, /* dup */ 1512 {"collections.group.parts.size_classes.size_class", ob_size_class}, /* dup */
1483 {"collections.group.parts.part", ob_collections_group_parts_part}, 1513 {"collections.group.parts.part", ob_collections_group_parts_part},
1484 {"collections.group.parts.part.dragable", NULL}, 1514 {"collections.group.parts.part.dragable", NULL},
1485 {"collections.group.parts.part.set", ob_images_set}, /* dup */ 1515 {"collections.group.parts.part.set", ob_images_set}, /* dup */
1486 {"collections.group.parts.part.set.image", ob_images_set_image}, /* dup */ 1516 {"collections.group.parts.part.set.image", ob_images_set_image}, /* dup */
1487 {"collections.group.parts.part.images", NULL}, /* dup */ 1517 {"collections.group.parts.part.images", NULL}, /* dup */
1488 {"collections.group.parts.part.images.set", ob_images_set}, /* dup */ 1518 {"collections.group.parts.part.images.set", ob_images_set}, /* dup */
1489 {"collections.group.parts.part.images.set.image", ob_images_set_image}, /* dup */ 1519 {"collections.group.parts.part.images.set.image", ob_images_set_image}, /* dup */
1490 {"collections.group.parts.part.fonts", NULL}, /* dup */ 1520 {"collections.group.parts.part.fonts", NULL}, /* dup */
1491 {"collections.group.parts.part.styles", NULL}, /* dup */ 1521 {"collections.group.parts.part.styles", NULL}, /* dup */
1492 {"collections.group.parts.part.styles.style", ob_styles_style}, /* dup */ 1522 {"collections.group.parts.part.styles.style", ob_styles_style}, /* dup */
1493 {"collections.group.parts.part.color_classes", NULL}, /* dup */ 1523 {"collections.group.parts.part.color_classes", NULL}, /* dup */
1494 {"collections.group.parts.part.color_classes.color_class", ob_color_class}, /* dup */ 1524 {"collections.group.parts.part.color_classes.color_class", ob_color_class}, /* dup */
1495 {"collections.group.parts.part.text_classes", NULL}, 1525 {"collections.group.parts.part.text_classes", NULL},
1496 {"collections.group.parts.part.text_classes.text_class", ob_text_class}, /* dup */ 1526 {"collections.group.parts.part.text_classes.text_class", ob_text_class}, /* dup */
1497 {"collections.group.parts.part.size_classes", NULL}, /* dup */ 1527 {"collections.group.parts.part.size_classes", NULL}, /* dup */
1498 {"collections.group.parts.part.size_classes.size_class", ob_size_class}, /* dup */ 1528 {"collections.group.parts.part.size_classes.size_class", ob_size_class}, /* dup */
1499 {"collections.group.parts.part.box", NULL}, 1529 {"collections.group.parts.part.box", NULL},
1500 {"collections.group.parts.part.box.items", NULL}, 1530 {"collections.group.parts.part.box.items", NULL},
1501 {"collections.group.parts.part.box.items.item", ob_collections_group_parts_part_box_items_item}, 1531 {"collections.group.parts.part.box.items.item", ob_collections_group_parts_part_box_items_item},
1502 {"collections.group.parts.part.table", NULL}, 1532 {"collections.group.parts.part.table", NULL},
1503 {"collections.group.parts.part.table.items", NULL}, 1533 {"collections.group.parts.part.table.items", NULL},
1504 {"collections.group.parts.part.table.items.item", ob_collections_group_parts_part_box_items_item}, /* dup */ 1534 {"collections.group.parts.part.table.items.item", ob_collections_group_parts_part_box_items_item}, /* dup */
1505 {"collections.group.parts.part.description", ob_collections_group_parts_part_description}, 1535 {"collections.group.parts.part.description", ob_collections_group_parts_part_description},
1506 {"collections.group.parts.part.description.link", ob_collections_group_parts_part_description_link}, 1536 {"collections.group.parts.part.description.link", ob_collections_group_parts_part_description_link},
1507 {"collections.group.parts.part.description.rel1", NULL}, 1537 {"collections.group.parts.part.description.rel1", NULL},
1508 {"collections.group.parts.part.description.rel2", NULL}, 1538 {"collections.group.parts.part.description.rel2", NULL},
1509 {"collections.group.parts.part.description.anchors", NULL}, 1539 {"collections.group.parts.part.description.anchors", NULL},
1510 {"collections.group.parts.part.description.image", NULL}, /* dup */ 1540 {"collections.group.parts.part.description.image", NULL}, /* dup */
1511 {"collections.group.parts.part.description.image.set", ob_images_set}, /* dup */ 1541 {"collections.group.parts.part.description.image.set", ob_images_set}, /* dup */
1512 {"collections.group.parts.part.description.image.set.image", ob_images_set_image}, /* dup */ 1542 {"collections.group.parts.part.description.image.set.image", ob_images_set_image}, /* dup */
1513 {"collections.group.parts.part.description.image.images", NULL}, /* dup */ 1543 {"collections.group.parts.part.description.image.images", NULL}, /* dup */
1514 {"collections.group.parts.part.description.image.images.set", ob_images_set}, /* dup */ 1544 {"collections.group.parts.part.description.image.images.set", ob_images_set}, /* dup */
1515 {"collections.group.parts.part.description.image.images.set.image", ob_images_set_image}, /* dup */ 1545 {"collections.group.parts.part.description.image.images.set.image", ob_images_set_image}, /* dup */
1516 {"collections.group.parts.part.description.fill", NULL}, 1546 {"collections.group.parts.part.description.fill", NULL},
1517 {"collections.group.parts.part.description.fill.origin", NULL}, 1547 {"collections.group.parts.part.description.fill.origin", NULL},
1518 {"collections.group.parts.part.description.fill.size", NULL}, 1548 {"collections.group.parts.part.description.fill.size", NULL},
1519 {"collections.group.parts.part.description.text", NULL}, 1549 {"collections.group.parts.part.description.text", NULL},
1520 {"collections.group.parts.part.description.text.fonts", NULL}, /* dup */ 1550 {"collections.group.parts.part.description.text.fonts", NULL}, /* dup */
1521 {"collections.group.parts.part.description.images", NULL}, /* dup */ 1551 {"collections.group.parts.part.description.images", NULL}, /* dup */
1522 {"collections.group.parts.part.description.images.set", ob_images_set}, /* dup */ 1552 {"collections.group.parts.part.description.images.set", ob_images_set}, /* dup */
1523 {"collections.group.parts.part.description.images.set.image", ob_images_set_image}, /* dup */ 1553 {"collections.group.parts.part.description.images.set.image", ob_images_set_image}, /* dup */
1524 {"collections.group.parts.part.description.fonts", NULL}, /* dup */ 1554 {"collections.group.parts.part.description.fonts", NULL}, /* dup */
1525 {"collections.group.parts.part.description.styles", NULL}, /* dup */ 1555 {"collections.group.parts.part.description.styles", NULL}, /* dup */
1526 {"collections.group.parts.part.description.styles.style", ob_styles_style}, /* dup */ 1556 {"collections.group.parts.part.description.styles.style", ob_styles_style}, /* dup */
1527 {"collections.group.parts.part.description.box", NULL}, 1557 {"collections.group.parts.part.description.box", NULL},
1528 {"collections.group.parts.part.description.table", NULL}, 1558 {"collections.group.parts.part.description.table", NULL},
1529 {"collections.group.parts.part.description.position", NULL}, 1559 {"collections.group.parts.part.description.position", NULL},
1530 {"collections.group.parts.part.description.properties", NULL}, 1560 {"collections.group.parts.part.description.properties", NULL},
1531 {"collections.group.parts.part.description.orientation", NULL}, 1561 {"collections.group.parts.part.description.orientation", NULL},
1532 {"collections.group.parts.part.description.texture", ob_collections_group_parts_part_description_texture}, 1562 {"collections.group.parts.part.description.texture", ob_collections_group_parts_part_description_texture},
1533 {"collections.group.parts.part.description.mesh", NULL}, 1563 {"collections.group.parts.part.description.mesh", NULL},
1534 {"collections.group.parts.part.description.filter", NULL}, 1564 {"collections.group.parts.part.description.filter", NULL},
1535 {"collections.group.parts.part.description.proxy", NULL}, 1565 {"collections.group.parts.part.description.proxy", NULL},
1536#ifdef HAVE_EPHYSICS 1566#ifdef HAVE_EPHYSICS
1537 {"collections.group.parts.part.description.physics", NULL}, 1567 {"collections.group.parts.part.description.physics", NULL},
1538 {"collections.group.parts.part.description.physics.movement_freedom", NULL}, 1568 {"collections.group.parts.part.description.physics.movement_freedom", NULL},
1539 {"collections.group.parts.part.description.physics.faces", NULL}, 1569 {"collections.group.parts.part.description.physics.faces", NULL},
1540 {"collections.group.parts.part.description.physics.faces.face", st_collections_group_parts_part_description_physics_face}, 1570 {"collections.group.parts.part.description.physics.faces.face", st_collections_group_parts_part_description_physics_face},
1541#endif 1571#endif
1542 {"collections.group.parts.part.description.map", NULL}, 1572 {"collections.group.parts.part.description.map", NULL},
1543 {"collections.group.parts.part.description.map.rotation", NULL}, 1573 {"collections.group.parts.part.description.map.rotation", NULL},
1544 {"collections.group.parts.part.description.map.zoom", NULL}, 1574 {"collections.group.parts.part.description.map.zoom", NULL},
1545 {"collections.group.parts.part.description.perspective", NULL}, 1575 {"collections.group.parts.part.description.perspective", NULL},
1546 {"collections.group.parts.part.description.params", NULL}, 1576 {"collections.group.parts.part.description.params", NULL},
1547 {"collections.group.parts.part.description.color_classes", NULL}, /* dup */ 1577 {"collections.group.parts.part.description.color_classes", NULL}, /* dup */
1548 {"collections.group.parts.part.description.color_classes.color_class", ob_color_class}, /* dup */ 1578 {"collections.group.parts.part.description.color_classes.color_class", ob_color_class}, /* dup */
1549 {"collections.group.parts.part.description.text_classes", NULL}, /* dup */ 1579 {"collections.group.parts.part.description.text_classes", NULL}, /* dup */
1550 {"collections.group.parts.part.description.text_classes.text_class", ob_text_class}, /* dup */ 1580 {"collections.group.parts.part.description.text_classes.text_class", ob_text_class}, /* dup */
1551 {"collections.group.parts.part.description.size_classes", NULL}, /* dup */ 1581 {"collections.group.parts.part.description.size_classes", NULL}, /* dup */
1552 {"collections.group.parts.part.description.size_classes.size_class", ob_size_class}, /* dup */ 1582 {"collections.group.parts.part.description.size_classes.size_class", ob_size_class}, /* dup */
1553#ifdef HAVE_EPHYSICS 1583#ifdef HAVE_EPHYSICS
1554 {"collections.group.physics", NULL}, 1584 {"collections.group.physics", NULL},
1555 {"collections.group.physics.world", NULL}, 1585 {"collections.group.physics.world", NULL},
1556#endif 1586#endif
1557 PROGRAM_OBJECTS("collections.group.parts.part.description") 1587 PROGRAM_OBJECTS("collections.group.parts.part.description")
1558 PROGRAM_OBJECTS("collections.group.parts.part") 1588 PROGRAM_OBJECTS("collections.group.parts.part")
1559 PROGRAM_OBJECTS("collections.group.parts") 1589 PROGRAM_OBJECTS("collections.group.parts")
1560 PROGRAM_OBJECTS("collections.group") 1590 PROGRAM_OBJECTS("collections.group")
1561}; 1591};
1562 1592
1563/** @edcsubsection{lazedc_blocks, 1593/** @edcsubsection{lazedc_blocks,
@@ -1591,45 +1621,45 @@ New_Object_Handler object_handlers[] =
1591 @description 1621 @description
1592 Lowercase part types can be specified as blocks with the same effect as part { type: TYPE; } 1622 Lowercase part types can be specified as blocks with the same effect as part { type: TYPE; }
1593 The "description" block can also be shortened to "desc". 1623 The "description" block can also be shortened to "desc".
1594 1624
1595 @since 1.10 1625 @since 1.10
1596 @endblock 1626 @endblock
1597*/ 1627 */
1598New_Object_Handler object_handlers_short[] = 1628New_Object_Handler object_handlers_short[] =
1599{ 1629{
1600 {"collections.group.parts.rect", ob_collections_group_parts_part_short}, 1630 {"collections.group.parts.rect", ob_collections_group_parts_part_short},
1601 {"collections.group.parts.text", ob_collections_group_parts_part_short}, 1631 {"collections.group.parts.text", ob_collections_group_parts_part_short},
1602 {"collections.group.parts.image", ob_collections_group_parts_part_short}, 1632 {"collections.group.parts.image", ob_collections_group_parts_part_short},
1603 {"collections.group.parts.swallow", ob_collections_group_parts_part_short}, 1633 {"collections.group.parts.swallow", ob_collections_group_parts_part_short},
1604 {"collections.group.parts.textblock", ob_collections_group_parts_part_short}, 1634 {"collections.group.parts.textblock", ob_collections_group_parts_part_short},
1605 {"collections.group.parts.group", ob_collections_group_parts_part_short}, 1635 {"collections.group.parts.group", ob_collections_group_parts_part_short},
1606 {"collections.group.parts.box", ob_collections_group_parts_part_short}, 1636 {"collections.group.parts.box", ob_collections_group_parts_part_short},
1607 {"collections.group.parts.table", ob_collections_group_parts_part_short}, 1637 {"collections.group.parts.table", ob_collections_group_parts_part_short},
1608 {"collections.group.parts.external", ob_collections_group_parts_part_short}, 1638 {"collections.group.parts.external", ob_collections_group_parts_part_short},
1609 {"collections.group.parts.proxy", ob_collections_group_parts_part_short}, 1639 {"collections.group.parts.proxy", ob_collections_group_parts_part_short},
1610 {"collections.group.parts.spacer", ob_collections_group_parts_part_short}, 1640 {"collections.group.parts.spacer", ob_collections_group_parts_part_short},
1611 {"collections.group.parts.snapshot", ob_collections_group_parts_part_short}, 1641 {"collections.group.parts.snapshot", ob_collections_group_parts_part_short},
1612 {"collections.group.parts.part.desc", ob_collections_group_parts_part_desc}, 1642 {"collections.group.parts.part.desc", ob_collections_group_parts_part_desc},
1613 {"collections.group.parts.vector", ob_collections_group_parts_part_short}, 1643 {"collections.group.parts.vector", ob_collections_group_parts_part_short},
1614}; 1644};
1615 1645
1616New_Nested_Handler nested_handlers[] = { 1646New_Nested_Handler nested_handlers[] = {
1617 {"collections.group.parts", "part", NULL, edje_cc_handlers_hierarchy_pop } 1647 {"collections.group.parts", "part", NULL, edje_cc_handlers_hierarchy_pop }
1618}; 1648};
1619 1649
1620New_Nested_Handler nested_handlers_short[] = { 1650New_Nested_Handler nested_handlers_short[] = {
1621 {"collections.group.parts", "rect", NULL, edje_cc_handlers_hierarchy_pop }, 1651 {"collections.group.parts", "rect", NULL, edje_cc_handlers_hierarchy_pop },
1622 {"collections.group.parts", "text", NULL, edje_cc_handlers_hierarchy_pop }, 1652 {"collections.group.parts", "text", NULL, edje_cc_handlers_hierarchy_pop },
1623 {"collections.group.parts", "image", NULL, edje_cc_handlers_hierarchy_pop }, 1653 {"collections.group.parts", "image", NULL, edje_cc_handlers_hierarchy_pop },
1624 {"collections.group.parts", "swallow", NULL, edje_cc_handlers_hierarchy_pop }, 1654 {"collections.group.parts", "swallow", NULL, edje_cc_handlers_hierarchy_pop },
1625 {"collections.group.parts", "textblock", NULL, edje_cc_handlers_hierarchy_pop }, 1655 {"collections.group.parts", "textblock", NULL, edje_cc_handlers_hierarchy_pop },
1626 {"collections.group.parts", "group", NULL, edje_cc_handlers_hierarchy_pop }, 1656 {"collections.group.parts", "group", NULL, edje_cc_handlers_hierarchy_pop },
1627 {"collections.group.parts", "box", NULL, edje_cc_handlers_hierarchy_pop }, 1657 {"collections.group.parts", "box", NULL, edje_cc_handlers_hierarchy_pop },
1628 {"collections.group.parts", "table", NULL, edje_cc_handlers_hierarchy_pop }, 1658 {"collections.group.parts", "table", NULL, edje_cc_handlers_hierarchy_pop },
1629 {"collections.group.parts", "external", NULL, edje_cc_handlers_hierarchy_pop }, 1659 {"collections.group.parts", "external", NULL, edje_cc_handlers_hierarchy_pop },
1630 {"collections.group.parts", "proxy", NULL, edje_cc_handlers_hierarchy_pop }, 1660 {"collections.group.parts", "proxy", NULL, edje_cc_handlers_hierarchy_pop },
1631 {"collections.group.parts", "spacer", NULL, edje_cc_handlers_hierarchy_pop }, 1661 {"collections.group.parts", "spacer", NULL, edje_cc_handlers_hierarchy_pop },
1632 {"collections.group.parts", "vector", NULL, edje_cc_handlers_hierarchy_pop }, 1662 {"collections.group.parts", "vector", NULL, edje_cc_handlers_hierarchy_pop },
1633}; 1663};
1634 1664
1635/*****/ 1665/*****/
@@ -1714,12 +1744,12 @@ part_description_image_cleanup(Edje_Part *ep)
1714 if (ep->type != EDJE_PART_TYPE_IMAGE) 1744 if (ep->type != EDJE_PART_TYPE_IMAGE)
1715 return; 1745 return;
1716 1746
1717 ed = (Edje_Part_Description_Image*) ep->default_desc; 1747 ed = (Edje_Part_Description_Image *)ep->default_desc;
1718 _edje_part_description_image_remove(ed); 1748 _edje_part_description_image_remove(ed);
1719 1749
1720 for (j = 0; j < ep->other.desc_count; j++) 1750 for (j = 0; j < ep->other.desc_count; j++)
1721 { 1751 {
1722 ed = (Edje_Part_Description_Image*) ep->other.desc[j]; 1752 ed = (Edje_Part_Description_Image *)ep->other.desc[j];
1723 _edje_part_description_image_remove(ed); 1753 _edje_part_description_image_remove(ed);
1724 } 1754 }
1725} 1755}
@@ -1735,265 +1765,276 @@ _edje_part_description_alloc(unsigned char type, const char *collection, const c
1735 case EDJE_PART_TYPE_RECTANGLE: 1765 case EDJE_PART_TYPE_RECTANGLE:
1736 case EDJE_PART_TYPE_SWALLOW: 1766 case EDJE_PART_TYPE_SWALLOW:
1737 case EDJE_PART_TYPE_GROUP: 1767 case EDJE_PART_TYPE_GROUP:
1738 result = mem_alloc(SZ(Edje_Part_Description_Common)); 1768 result = mem_alloc(SZ(Edje_Part_Description_Common));
1739 break; 1769 break;
1770
1740 case EDJE_PART_TYPE_TEXT: 1771 case EDJE_PART_TYPE_TEXT:
1741 case EDJE_PART_TYPE_TEXTBLOCK: 1772 case EDJE_PART_TYPE_TEXTBLOCK:
1742 { 1773 {
1743 Edje_Part_Description_Text *ed; 1774 Edje_Part_Description_Text *ed;
1744 1775
1745 ed = mem_alloc(SZ(Edje_Part_Description_Text)); 1776 ed = mem_alloc(SZ(Edje_Part_Description_Text));
1746 1777
1747 ed->text.color3.r = 0; 1778 ed->text.color3.r = 0;
1748 ed->text.color3.g = 0; 1779 ed->text.color3.g = 0;
1749 ed->text.color3.b = 0; 1780 ed->text.color3.b = 0;
1750 ed->text.color3.a = 128; 1781 ed->text.color3.a = 128;
1751 ed->text.align.x = FROM_DOUBLE(0.5); 1782 ed->text.align.x = FROM_DOUBLE(0.5);
1752 ed->text.align.y = FROM_DOUBLE(0.5); 1783 ed->text.align.y = FROM_DOUBLE(0.5);
1753 ed->text.id_source = -1; 1784 ed->text.id_source = -1;
1754 ed->text.id_text_source = -1; 1785 ed->text.id_text_source = -1;
1755 1786
1756 result = &ed->common; 1787 result = &ed->common;
1757 break; 1788 break;
1758 } 1789 }
1790
1759 case EDJE_PART_TYPE_IMAGE: 1791 case EDJE_PART_TYPE_IMAGE:
1760 { 1792 {
1761 Edje_Part_Description_Image *ed; 1793 Edje_Part_Description_Image *ed;
1762 1794
1763 ed = mem_alloc(SZ(Edje_Part_Description_Image)); 1795 ed = mem_alloc(SZ(Edje_Part_Description_Image));
1764 1796
1765 ed->image.id = -1; 1797 ed->image.id = -1;
1766 1798
1767 _edje_part_description_fill(&ed->image.fill); 1799 _edje_part_description_fill(&ed->image.fill);
1800
1801 result = &ed->common;
1802 break;
1803 }
1768 1804
1769 result = &ed->common;
1770 break;
1771 }
1772 case EDJE_PART_TYPE_SNAPSHOT: 1805 case EDJE_PART_TYPE_SNAPSHOT:
1773 { 1806 {
1774 Edje_Part_Description_Snapshot *ed; 1807 Edje_Part_Description_Snapshot *ed;
1775 1808
1776 ed = mem_alloc(SZ(Edje_Part_Description_Snapshot)); 1809 ed = mem_alloc(SZ(Edje_Part_Description_Snapshot));
1810
1811 result = &ed->common;
1812 break;
1813 }
1777 1814
1778 result = &ed->common;
1779 break;
1780 }
1781 case EDJE_PART_TYPE_PROXY: 1815 case EDJE_PART_TYPE_PROXY:
1782 { 1816 {
1783 Edje_Part_Description_Proxy *ed; 1817 Edje_Part_Description_Proxy *ed;
1784 1818
1785 ed = mem_alloc(SZ(Edje_Part_Description_Proxy)); 1819 ed = mem_alloc(SZ(Edje_Part_Description_Proxy));
1786 1820
1787 ed->proxy.id = -1; 1821 ed->proxy.id = -1;
1788 ed->proxy.source_visible = EINA_TRUE; 1822 ed->proxy.source_visible = EINA_TRUE;
1789 ed->proxy.source_clip = EINA_TRUE; 1823 ed->proxy.source_clip = EINA_TRUE;
1790 _edje_part_description_fill(&ed->proxy.fill); 1824 _edje_part_description_fill(&ed->proxy.fill);
1825
1826 result = &ed->common;
1827 break;
1828 }
1791 1829
1792 result = &ed->common;
1793 break;
1794 }
1795 case EDJE_PART_TYPE_BOX: 1830 case EDJE_PART_TYPE_BOX:
1796 { 1831 {
1797 Edje_Part_Description_Box *ed; 1832 Edje_Part_Description_Box *ed;
1798 1833
1799 ed = mem_alloc(SZ(Edje_Part_Description_Box)); 1834 ed = mem_alloc(SZ(Edje_Part_Description_Box));
1800 1835
1801 ed->box.layout = NULL; 1836 ed->box.layout = NULL;
1802 ed->box.alt_layout = NULL; 1837 ed->box.alt_layout = NULL;
1803 ed->box.align.x = FROM_DOUBLE(0.5); 1838 ed->box.align.x = FROM_DOUBLE(0.5);
1804 ed->box.align.y = FROM_DOUBLE(0.5); 1839 ed->box.align.y = FROM_DOUBLE(0.5);
1805 ed->box.padding.x = 0; 1840 ed->box.padding.x = 0;
1806 ed->box.padding.y = 0; 1841 ed->box.padding.y = 0;
1842
1843 result = &ed->common;
1844 break;
1845 }
1807 1846
1808 result = &ed->common;
1809 break;
1810 }
1811 case EDJE_PART_TYPE_TABLE: 1847 case EDJE_PART_TYPE_TABLE:
1812 { 1848 {
1813 Edje_Part_Description_Table *ed; 1849 Edje_Part_Description_Table *ed;
1850
1851 ed = mem_alloc(SZ(Edje_Part_Description_Table));
1814 1852
1815 ed = mem_alloc(SZ(Edje_Part_Description_Table)); 1853 ed->table.homogeneous = EDJE_OBJECT_TABLE_HOMOGENEOUS_NONE;
1854 ed->table.align.x = FROM_DOUBLE(0.5);
1855 ed->table.align.y = FROM_DOUBLE(0.5);
1856 ed->table.padding.x = 0;
1857 ed->table.padding.y = 0;
1816 1858
1817 ed->table.homogeneous = EDJE_OBJECT_TABLE_HOMOGENEOUS_NONE; 1859 result = &ed->common;
1818 ed->table.align.x = FROM_DOUBLE(0.5); 1860 break;
1819 ed->table.align.y = FROM_DOUBLE(0.5); 1861 }
1820 ed->table.padding.x = 0;
1821 ed->table.padding.y = 0;
1822 1862
1823 result = &ed->common;
1824 break;
1825 }
1826 case EDJE_PART_TYPE_EXTERNAL: 1863 case EDJE_PART_TYPE_EXTERNAL:
1827 { 1864 {
1828 Edje_Part_Description_External *ed; 1865 Edje_Part_Description_External *ed;
1829 1866
1830 ed = mem_alloc(SZ(Edje_Part_Description_External)); 1867 ed = mem_alloc(SZ(Edje_Part_Description_External));
1831 1868
1832 ed->external_params = NULL; 1869 ed->external_params = NULL;
1870
1871 result = &ed->common;
1872 break;
1873 }
1833 1874
1834 result = &ed->common;
1835 break;
1836 }
1837 case EDJE_PART_TYPE_MESH_NODE: 1875 case EDJE_PART_TYPE_MESH_NODE:
1838 { 1876 {
1839 Edje_Part_Description_Mesh_Node *ed; 1877 Edje_Part_Description_Mesh_Node *ed;
1840 1878
1841 ed = mem_alloc(SZ(Edje_Part_Description_Mesh_Node)); 1879 ed = mem_alloc(SZ(Edje_Part_Description_Mesh_Node));
1842 1880
1843 ed->mesh_node.mesh.id = -1; 1881 ed->mesh_node.mesh.id = -1;
1844 ed->mesh_node.mesh.primitive = 0; 1882 ed->mesh_node.mesh.primitive = 0;
1845 ed->mesh_node.mesh.assembly = 1; 1883 ed->mesh_node.mesh.assembly = 1;
1846 ed->mesh_node.mesh.frame = 0; 1884 ed->mesh_node.mesh.frame = 0;
1847 1885
1848 ed->mesh_node.texture.id = -1; 1886 ed->mesh_node.texture.id = -1;
1849 ed->mesh_node.texture.wrap1 = 0; 1887 ed->mesh_node.texture.wrap1 = 0;
1850 ed->mesh_node.texture.wrap2 = 0; 1888 ed->mesh_node.texture.wrap2 = 0;
1851 ed->mesh_node.texture.filter1 = 0; 1889 ed->mesh_node.texture.filter1 = 0;
1852 ed->mesh_node.texture.filter2 = 0; 1890 ed->mesh_node.texture.filter2 = 0;
1853 1891
1854 ed->mesh_node.properties.shade = EVAS_CANVAS3D_SHADER_MODE_VERTEX_COLOR; 1892 ed->mesh_node.properties.shade = EVAS_CANVAS3D_SHADER_MODE_VERTEX_COLOR;
1855 ed->mesh_node.properties.ambient.r = 50; 1893 ed->mesh_node.properties.ambient.r = 50;
1856 ed->mesh_node.properties.ambient.g = 50; 1894 ed->mesh_node.properties.ambient.g = 50;
1857 ed->mesh_node.properties.ambient.b = 50; 1895 ed->mesh_node.properties.ambient.b = 50;
1858 ed->mesh_node.properties.ambient.a = 255; 1896 ed->mesh_node.properties.ambient.a = 255;
1859 ed->mesh_node.properties.diffuse.r = 255; 1897 ed->mesh_node.properties.diffuse.r = 255;
1860 ed->mesh_node.properties.diffuse.g = 255; 1898 ed->mesh_node.properties.diffuse.g = 255;
1861 ed->mesh_node.properties.diffuse.b = 255; 1899 ed->mesh_node.properties.diffuse.b = 255;
1862 ed->mesh_node.properties.diffuse.a = 255; 1900 ed->mesh_node.properties.diffuse.a = 255;
1863 ed->mesh_node.properties.specular.r = 255; 1901 ed->mesh_node.properties.specular.r = 255;
1864 ed->mesh_node.properties.specular.g = 255; 1902 ed->mesh_node.properties.specular.g = 255;
1865 ed->mesh_node.properties.specular.b = 255; 1903 ed->mesh_node.properties.specular.b = 255;
1866 ed->mesh_node.properties.specular.a = 255; 1904 ed->mesh_node.properties.specular.a = 255;
1867 1905
1868 ed->mesh_node.properties.material_attrib = 1; 1906 ed->mesh_node.properties.material_attrib = 1;
1869 ed->mesh_node.properties.normal = 1; 1907 ed->mesh_node.properties.normal = 1;
1870 ed->mesh_node.properties.shininess = 50; 1908 ed->mesh_node.properties.shininess = 50;
1871 1909
1872 ed->mesh_node.aabb1.relative.x = -1.0; 1910 ed->mesh_node.aabb1.relative.x = -1.0;
1873 ed->mesh_node.aabb1.relative.y = -1.0; 1911 ed->mesh_node.aabb1.relative.y = -1.0;
1874 ed->mesh_node.aabb1.relative.z = -1.0; 1912 ed->mesh_node.aabb1.relative.z = -1.0;
1875 ed->mesh_node.aabb1.offset.x = 0; 1913 ed->mesh_node.aabb1.offset.x = 0;
1876 ed->mesh_node.aabb1.offset.y = 0; 1914 ed->mesh_node.aabb1.offset.y = 0;
1877 ed->mesh_node.aabb1.offset.z = 0; 1915 ed->mesh_node.aabb1.offset.z = 0;
1878 ed->mesh_node.aabb1.rel_to = -1; 1916 ed->mesh_node.aabb1.rel_to = -1;
1879 ed->mesh_node.aabb2.relative.x = 1.0; 1917 ed->mesh_node.aabb2.relative.x = 1.0;
1880 ed->mesh_node.aabb2.relative.y = 1.0; 1918 ed->mesh_node.aabb2.relative.y = 1.0;
1881 ed->mesh_node.aabb2.relative.z = 1.0; 1919 ed->mesh_node.aabb2.relative.z = 1.0;
1882 ed->mesh_node.aabb2.offset.x = 0; 1920 ed->mesh_node.aabb2.offset.x = 0;
1883 ed->mesh_node.aabb2.offset.y = 0; 1921 ed->mesh_node.aabb2.offset.y = 0;
1884 ed->mesh_node.aabb2.offset.z = 0; 1922 ed->mesh_node.aabb2.offset.z = 0;
1885 ed->mesh_node.aabb2.rel_to = -1; 1923 ed->mesh_node.aabb2.rel_to = -1;
1886 1924
1887 ed->mesh_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_NONE; 1925 ed->mesh_node.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_NONE;
1888 /* x1 is angle for angle_axis and cosine of half angle for quternion, 1926 /* x1 is angle for angle_axis and cosine of half angle for quternion,
1889 x2, x3, x4 define axis for angle_axis and quaternion, 1927 x2, x3, x4 define axis for angle_axis and quaternion,
1890 x1, x2, x3 are coordinates of point to look at for look_at, 1928 x1, x2, x3 are coordinates of point to look at for look_at,
1891 x4, x5, x6 define a vector that indicates the angle at which 1929 x4, x5, x6 define a vector that indicates the angle at which
1892 the subject is looking at the target for look_at and look_to */ 1930 the subject is looking at the target for look_at and look_to */
1893 ed->mesh_node.orientation.data[0] = 1.0; 1931 ed->mesh_node.orientation.data[0] = 1.0;
1894 ed->mesh_node.orientation.data[1] = 0.0; 1932 ed->mesh_node.orientation.data[1] = 0.0;
1895 ed->mesh_node.orientation.data[2] = 0.0; 1933 ed->mesh_node.orientation.data[2] = 0.0;
1896 ed->mesh_node.orientation.data[3] = 0.0; 1934 ed->mesh_node.orientation.data[3] = 0.0;
1897 ed->mesh_node.orientation.data[4] = 1.0; 1935 ed->mesh_node.orientation.data[4] = 1.0;
1898 ed->mesh_node.orientation.data[5] = 0.0; 1936 ed->mesh_node.orientation.data[5] = 0.0;
1899 ed->mesh_node.orientation.look_to = -1; 1937 ed->mesh_node.orientation.look_to = -1;
1900 1938
1901 ed->mesh_node.scale_3d.x = 1.0; 1939 ed->mesh_node.scale_3d.x = 1.0;
1902 ed->mesh_node.scale_3d.y = 1.0; 1940 ed->mesh_node.scale_3d.y = 1.0;
1903 ed->mesh_node.scale_3d.z = 1.0; 1941 ed->mesh_node.scale_3d.z = 1.0;
1904 1942
1905 ed->mesh_node.position.point.x = 0.0; 1943 ed->mesh_node.position.point.x = 0.0;
1906 ed->mesh_node.position.point.y = 0.0; 1944 ed->mesh_node.position.point.y = 0.0;
1907 ed->mesh_node.position.point.z = 0.0; 1945 ed->mesh_node.position.point.z = 0.0;
1908 ed->mesh_node.position.space = EVAS_CANVAS3D_SPACE_PARENT; 1946 ed->mesh_node.position.space = EVAS_CANVAS3D_SPACE_PARENT;
1909 1947
1910 result = &ed->common; 1948 result = &ed->common;
1911 break; 1949 break;
1912 } 1950 }
1951
1913 case EDJE_PART_TYPE_LIGHT: 1952 case EDJE_PART_TYPE_LIGHT:
1914 { 1953 {
1915 Edje_Part_Description_Light *ed; 1954 Edje_Part_Description_Light *ed;
1916 1955
1917 ed = mem_alloc(SZ(Edje_Part_Description_Light)); 1956 ed = mem_alloc(SZ(Edje_Part_Description_Light));
1918 1957
1919 ed->light.properties.ambient.r = 50; 1958 ed->light.properties.ambient.r = 50;
1920 ed->light.properties.ambient.g = 50; 1959 ed->light.properties.ambient.g = 50;
1921 ed->light.properties.ambient.b = 50; 1960 ed->light.properties.ambient.b = 50;
1922 ed->light.properties.ambient.a = 255; 1961 ed->light.properties.ambient.a = 255;
1923 ed->light.properties.diffuse.r = 255; 1962 ed->light.properties.diffuse.r = 255;
1924 ed->light.properties.diffuse.g = 255; 1963 ed->light.properties.diffuse.g = 255;
1925 ed->light.properties.diffuse.b = 255; 1964 ed->light.properties.diffuse.b = 255;
1926 ed->light.properties.diffuse.a = 255; 1965 ed->light.properties.diffuse.a = 255;
1927 ed->light.properties.specular.r = 255; 1966 ed->light.properties.specular.r = 255;
1928 ed->light.properties.specular.g = 255; 1967 ed->light.properties.specular.g = 255;
1929 ed->light.properties.specular.b = 255; 1968 ed->light.properties.specular.b = 255;
1930 ed->light.properties.specular.a = 255; 1969 ed->light.properties.specular.a = 255;
1931 1970
1932 ed->light.position.point.x = 0.0; 1971 ed->light.position.point.x = 0.0;
1933 ed->light.position.point.y = 0.0; 1972 ed->light.position.point.y = 0.0;
1934 ed->light.position.point.z = 1.0; 1973 ed->light.position.point.z = 1.0;
1935 ed->light.position.space = EVAS_CANVAS3D_SPACE_PARENT; 1974 ed->light.position.space = EVAS_CANVAS3D_SPACE_PARENT;
1936 1975
1937 ed->light.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_NONE; 1976 ed->light.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_NONE;
1938 /* x1 is angle for angle_axis and cosine of half angle for quternion, 1977 /* x1 is angle for angle_axis and cosine of half angle for quternion,
1939 x2, x3, x4 define axis for angle_axis and quaternion, 1978 x2, x3, x4 define axis for angle_axis and quaternion,
1940 x1, x2, x3 are coordinates of point to look at for look_at, 1979 x1, x2, x3 are coordinates of point to look at for look_at,
1941 x4, x5, x6 define a vector that indicates the angle at which 1980 x4, x5, x6 define a vector that indicates the angle at which
1942 the subject is looking at the target for look_at and look_to */ 1981 the subject is looking at the target for look_at and look_to */
1943 ed->light.orientation.data[0] = 1.0; 1982 ed->light.orientation.data[0] = 1.0;
1944 ed->light.orientation.data[1] = 0.0; 1983 ed->light.orientation.data[1] = 0.0;
1945 ed->light.orientation.data[2] = 0.0; 1984 ed->light.orientation.data[2] = 0.0;
1946 ed->light.orientation.data[3] = 0.0; 1985 ed->light.orientation.data[3] = 0.0;
1947 ed->light.orientation.data[4] = 1.0; 1986 ed->light.orientation.data[4] = 1.0;
1948 ed->light.orientation.data[5] = 0.0; 1987 ed->light.orientation.data[5] = 0.0;
1949 ed->light.orientation.look_to = -1; 1988 ed->light.orientation.look_to = -1;
1950 1989
1951 result = &ed->common; 1990 result = &ed->common;
1952 break; 1991 break;
1953 } 1992 }
1993
1954 case EDJE_PART_TYPE_CAMERA: 1994 case EDJE_PART_TYPE_CAMERA:
1955 { 1995 {
1956 Edje_Part_Description_Camera *ed; 1996 Edje_Part_Description_Camera *ed;
1957 1997
1958 ed = mem_alloc(SZ(Edje_Part_Description_Camera)); 1998 ed = mem_alloc(SZ(Edje_Part_Description_Camera));
1959 1999
1960 ed->camera.camera.fovy = 60.0; 2000 ed->camera.camera.fovy = 60.0;
1961 ed->camera.camera.aspect = 1.0; 2001 ed->camera.camera.aspect = 1.0;
1962 ed->camera.camera.frustum_near = 2.0; 2002 ed->camera.camera.frustum_near = 2.0;
1963 ed->camera.camera.frustum_far = 50.0; 2003 ed->camera.camera.frustum_far = 50.0;
1964 2004
1965 ed->camera.position.point.x = 0.0; 2005 ed->camera.position.point.x = 0.0;
1966 ed->camera.position.point.y = 0.0; 2006 ed->camera.position.point.y = 0.0;
1967 ed->camera.position.point.z = 5.0; 2007 ed->camera.position.point.z = 5.0;
1968 2008
1969 ed->camera.position.space = EVAS_CANVAS3D_SPACE_PARENT; 2009 ed->camera.position.space = EVAS_CANVAS3D_SPACE_PARENT;
1970 2010
1971 ed->camera.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_NONE; 2011 ed->camera.orientation.type = EVAS_CANVAS3D_NODE_ORIENTATION_TYPE_NONE;
1972 /* x1 is angle for angle_axis and cosine of half angle for quternion, 2012 /* x1 is angle for angle_axis and cosine of half angle for quternion,
1973 x2, x3, x4 define axis for angle_axis and quaternion, 2013 x2, x3, x4 define axis for angle_axis and quaternion,
1974 x1, x2, x3 are coordinates of point to look at for look_at, 2014 x1, x2, x3 are coordinates of point to look at for look_at,
1975 x4, x5, x6 define a vector that indicates the angle at which 2015 x4, x5, x6 define a vector that indicates the angle at which
1976 the subject is looking at the target for look_at and look_to */ 2016 the subject is looking at the target for look_at and look_to */
1977 ed->camera.orientation.data[0] = 1.0; 2017 ed->camera.orientation.data[0] = 1.0;
1978 ed->camera.orientation.data[1] = 0.0; 2018 ed->camera.orientation.data[1] = 0.0;
1979 ed->camera.orientation.data[2] = 0.0; 2019 ed->camera.orientation.data[2] = 0.0;
1980 ed->camera.orientation.data[3] = 0.0; 2020 ed->camera.orientation.data[3] = 0.0;
1981 ed->camera.orientation.data[4] = 1.0; 2021 ed->camera.orientation.data[4] = 1.0;
1982 ed->camera.orientation.data[5] = 0.0; 2022 ed->camera.orientation.data[5] = 0.0;
1983 ed->camera.orientation.look_to = -1; 2023 ed->camera.orientation.look_to = -1;
1984 2024
1985 result = &ed->common; 2025 result = &ed->common;
1986 break; 2026 break;
1987 } 2027 }
2028
1988 case EDJE_PART_TYPE_VECTOR: 2029 case EDJE_PART_TYPE_VECTOR:
1989 { 2030 {
1990 Edje_Part_Description_Vector *ed; 2031 Edje_Part_Description_Vector *ed;
1991 2032
1992 ed = mem_alloc(SZ(Edje_Part_Description_Vector)); 2033 ed = mem_alloc(SZ(Edje_Part_Description_Vector));
1993 2034
1994 result = &ed->common; 2035 result = &ed->common;
1995 break; 2036 break;
1996 } 2037 }
1997 } 2038 }
1998 2039
1999 if (!result) 2040 if (!result)
@@ -2033,7 +2074,7 @@ _edje_program_check(const char *name, Edje_Program *me, Edje_Program **pgrms, un
2033 for (i = 0; i < count; ++i) 2074 for (i = 0; i < count; ++i)
2034 if (pgrms[i]->name) 2075 if (pgrms[i]->name)
2035 if (pgrms[i] != me && (!strcmp(name, pgrms[i]->name))) 2076 if (pgrms[i] != me && (!strcmp(name, pgrms[i]->name)))
2036 { 2077 {
2037 epp = (Edje_Program_Parser *)pgrms[i]; 2078 epp = (Edje_Program_Parser *)pgrms[i];
2038 if (!epp->can_override) 2079 if (!epp->can_override)
2039 { 2080 {
@@ -2050,7 +2091,7 @@ _edje_program_check(const char *name, Edje_Program *me, Edje_Program **pgrms, un
2050 epp->can_override = EINA_FALSE; 2091 epp->can_override = EINA_FALSE;
2051 return; 2092 return;
2052 } 2093 }
2053 } 2094 }
2054} 2095}
2055 2096
2056static void 2097static void
@@ -2098,10 +2139,10 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2)
2098 2139
2099 EINA_LIST_FOREACH(ep2->targets, l, et2) 2140 EINA_LIST_FOREACH(ep2->targets, l, et2)
2100 { 2141 {
2101 name = (char*) (et2 + 1); 2142 name = (char *)(et2 + 1);
2102 et = mem_alloc(SZ(Edje_Program_Target) + strlen(name) + 1); 2143 et = mem_alloc(SZ(Edje_Program_Target) + strlen(name) + 1);
2103 ep->targets = eina_list_append(ep->targets, et); 2144 ep->targets = eina_list_append(ep->targets, et);
2104 copy = (char*) (et + 1); 2145 copy = (char *)(et + 1);
2105 2146
2106 memcpy(copy, name, strlen(name) + 1); 2147 memcpy(copy, name, strlen(name) + 1);
2107 2148
@@ -2119,6 +2160,7 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2)
2119 else 2160 else
2120 data_queue_copied_part_lookup(pc, &(et2->id), &(et->id)); 2161 data_queue_copied_part_lookup(pc, &(et2->id), &(et->id));
2121 break; 2162 break;
2163
2122 case EDJE_ACTION_TYPE_ACTION_STOP: 2164 case EDJE_ACTION_TYPE_ACTION_STOP:
2123 case EDJE_ACTION_TYPE_SCRIPT: 2165 case EDJE_ACTION_TYPE_SCRIPT:
2124 if (current_group_inherit) 2166 if (current_group_inherit)
@@ -2126,6 +2168,7 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2)
2126 else 2168 else
2127 data_queue_copied_program_lookup(pc, &(et2->id), &(et->id)); 2169 data_queue_copied_program_lookup(pc, &(et2->id), &(et->id));
2128 break; 2170 break;
2171
2129 default: 2172 default:
2130 ERR("parse error %s:%i. target may only be used after action", 2173 ERR("parse error %s:%i. target may only be used after action",
2131 file_in, line - 1); 2174 file_in, line - 1);
@@ -2135,10 +2178,10 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2)
2135 2178
2136 EINA_LIST_FOREACH(ep2->after, l, pa2) 2179 EINA_LIST_FOREACH(ep2->after, l, pa2)
2137 { 2180 {
2138 name = (char*) (pa2 + 1); 2181 name = (char *)(pa2 + 1);
2139 pa = mem_alloc(SZ(Edje_Program_After) + strlen(name) + 1); 2182 pa = mem_alloc(SZ(Edje_Program_After) + strlen(name) + 1);
2140 ep->after = eina_list_append(ep->after, pa); 2183 ep->after = eina_list_append(ep->after, pa);
2141 copy = (char*) (pa + 1); 2184 copy = (char *)(pa + 1);
2142 memcpy(copy, name, strlen(name) + 1); 2185 memcpy(copy, name, strlen(name) + 1);
2143 if (!data_queue_copied_program_lookup(pc, &(pa2->id), &(pa->id))) 2186 if (!data_queue_copied_program_lookup(pc, &(pa2->id), &(pa->id)))
2144 data_queue_program_lookup(pc, copy, &(pa->id)); 2187 data_queue_program_lookup(pc, copy, &(pa->id));
@@ -2217,39 +2260,39 @@ st_externals_external(void)
2217 2260
2218 ex = mem_alloc(SZ(External)); 2261 ex = mem_alloc(SZ(External));
2219 ex->name = parse_str(0); 2262 ex->name = parse_str(0);
2220 { 2263 {
2221 Eina_List *l; 2264 Eina_List *l;
2222 External *lex; 2265 External *lex;
2223 2266
2224 EINA_LIST_FOREACH(externals, l, lex) 2267 EINA_LIST_FOREACH(externals, l, lex)
2225 { 2268 {
2226 if (!strcmp(lex->name, ex->name)) 2269 if (!strcmp(lex->name, ex->name))
2227 { 2270 {
2228 free(ex->name); 2271 free(ex->name);
2229 free(ex); 2272 free(ex);
2230 return; 2273 return;
2231 } 2274 }
2232 } 2275 }
2233 } 2276 }
2234 externals = eina_list_append(externals, ex); 2277 externals = eina_list_append(externals, ex);
2235 2278
2236 if (edje_file->external_dir) 2279 if (edje_file->external_dir)
2237 { 2280 {
2238 Edje_External_Directory_Entry *entries; 2281 Edje_External_Directory_Entry *entries;
2239 2282
2240 edje_file->external_dir->entries_count++; 2283 edje_file->external_dir->entries_count++;
2241 entries = realloc(edje_file->external_dir->entries, 2284 entries = realloc(edje_file->external_dir->entries,
2242 sizeof (Edje_External_Directory_Entry) * edje_file->external_dir->entries_count); 2285 sizeof (Edje_External_Directory_Entry) * edje_file->external_dir->entries_count);
2243 if (!entries) 2286 if (!entries)
2244 { 2287 {
2245 ERR("not enough memory"); 2288 ERR("not enough memory");
2246 exit(-1); 2289 exit(-1);
2247 } 2290 }
2248 edje_file->external_dir->entries = entries; 2291 edje_file->external_dir->entries = entries;
2249 memset(edje_file->external_dir->entries + edje_file->external_dir->entries_count - 1, 2292 memset(edje_file->external_dir->entries + edje_file->external_dir->entries_count - 1,
2250 0, sizeof (Edje_External_Directory_Entry)); 2293 0, sizeof (Edje_External_Directory_Entry));
2251 2294
2252 edje_file->external_dir->entries[edje_file->external_dir->entries_count - 1].entry = mem_strdup(ex->name); 2295 edje_file->external_dir->entries[edje_file->external_dir->entries_count - 1].entry = mem_strdup(ex->name);
2253 } 2296 }
2254} 2297}
2255 2298
@@ -2321,8 +2364,8 @@ st_images_image(void)
2321 for (i = 0; i < edje_file->image_dir->entries_count; ++i) 2364 for (i = 0; i < edje_file->image_dir->entries_count; ++i)
2322 if (!strcmp(edje_file->image_dir->entries[i].entry, tmp)) 2365 if (!strcmp(edje_file->image_dir->entries[i].entry, tmp))
2323 { 2366 {
2324 free((char*) tmp); 2367 free((char *)tmp);
2325 return; 2368 return;
2326 } 2369 }
2327 2370
2328 edje_file->image_dir->entries_count++; 2371 edje_file->image_dir->entries_count++;
@@ -2335,7 +2378,7 @@ st_images_image(void)
2335 } 2378 }
2336 edje_file->image_dir->entries = img; 2379 edje_file->image_dir->entries = img;
2337 memset(edje_file->image_dir->entries + edje_file->image_dir->entries_count - 1, 2380 memset(edje_file->image_dir->entries + edje_file->image_dir->entries_count - 1,
2338 0, sizeof (Edje_Image_Directory_Entry)); 2381 0, sizeof (Edje_Image_Directory_Entry));
2339 2382
2340 img = edje_file->image_dir->entries + edje_file->image_dir->entries_count - 1; 2383 img = edje_file->image_dir->entries + edje_file->image_dir->entries_count - 1;
2341 2384
@@ -2348,16 +2391,16 @@ st_images_image(void)
2348 "LOSSY_ETC1", 3, 2391 "LOSSY_ETC1", 3,
2349 "LOSSY_ETC2", 4, 2392 "LOSSY_ETC2", 4,
2350 "USER", 5, 2393 "USER", 5,
2351 NULL); 2394 NULL);
2352 if (v == 0) 2395 if (v == 0)
2353 { 2396 {
2354 img->source_type = EDJE_IMAGE_SOURCE_TYPE_INLINE_PERFECT; 2397 img->source_type = EDJE_IMAGE_SOURCE_TYPE_INLINE_PERFECT;
2355 img->source_param = 0; 2398 img->source_param = 0;
2356 } 2399 }
2357 else if (v == 1) 2400 else if (v == 1)
2358 { 2401 {
2359 img->source_type = EDJE_IMAGE_SOURCE_TYPE_INLINE_PERFECT; 2402 img->source_type = EDJE_IMAGE_SOURCE_TYPE_INLINE_PERFECT;
2360 img->source_param = 1; 2403 img->source_param = 1;
2361 } 2404 }
2362 else if (v == 2) 2405 else if (v == 2)
2363 { 2406 {
@@ -2376,12 +2419,12 @@ st_images_image(void)
2376 } 2419 }
2377 else if (v == 5) 2420 else if (v == 5)
2378 { 2421 {
2379 img->source_type = EDJE_IMAGE_SOURCE_TYPE_USER; 2422 img->source_type = EDJE_IMAGE_SOURCE_TYPE_USER;
2380 img->source_param = 0; 2423 img->source_param = 0;
2381 } 2424 }
2382 if ((img->source_type < EDJE_IMAGE_SOURCE_TYPE_INLINE_LOSSY) || 2425 if ((img->source_type < EDJE_IMAGE_SOURCE_TYPE_INLINE_LOSSY) ||
2383 (img->source_type > EDJE_IMAGE_SOURCE_TYPE_INLINE_LOSSY_ETC2)) 2426 (img->source_type > EDJE_IMAGE_SOURCE_TYPE_INLINE_LOSSY_ETC2))
2384 check_arg_count(2); 2427 check_arg_count(2);
2385 else 2428 else
2386 { 2429 {
2387 if (check_range_arg_count(2, 3) > 2) 2430 if (check_range_arg_count(2, 3) > 2)
@@ -2391,7 +2434,6 @@ st_images_image(void)
2391 } 2434 }
2392} 2435}
2393 2436
2394
2395static void 2437static void
2396_handle_vector_image(void) 2438_handle_vector_image(void)
2397{ 2439{
@@ -2399,7 +2441,7 @@ _handle_vector_image(void)
2399 unsigned int i = 0; 2441 unsigned int i = 0;
2400 char *name; 2442 char *name;
2401 2443
2402 ed = (Edje_Part_Description_Vector*) current_desc; 2444 ed = (Edje_Part_Description_Vector *)current_desc;
2403 2445
2404 name = parse_str(0); 2446 name = parse_str(0);
2405 2447
@@ -2464,13 +2506,13 @@ st_images_vector(void)
2464 for (i = 0; i < edje_file->image_dir->vectors_count; ++i) 2506 for (i = 0; i < edje_file->image_dir->vectors_count; ++i)
2465 if (!strcmp(edje_file->image_dir->vectors[i].entry, tmp)) 2507 if (!strcmp(edje_file->image_dir->vectors[i].entry, tmp))
2466 { 2508 {
2467 free((char*) tmp); 2509 free((char *)tmp);
2468 return; 2510 return;
2469 } 2511 }
2470 2512
2471 edje_file->image_dir->vectors_count++; 2513 edje_file->image_dir->vectors_count++;
2472 vector = realloc(edje_file->image_dir->vectors, 2514 vector = realloc(edje_file->image_dir->vectors,
2473 sizeof (Edje_Vector_Directory_Entry) * edje_file->image_dir->vectors_count); 2515 sizeof (Edje_Vector_Directory_Entry) * edje_file->image_dir->vectors_count);
2474 if (!vector) 2516 if (!vector)
2475 { 2517 {
2476 ERR("No enough memory."); 2518 ERR("No enough memory.");
@@ -2478,7 +2520,7 @@ st_images_vector(void)
2478 } 2520 }
2479 edje_file->image_dir->vectors = vector; 2521 edje_file->image_dir->vectors = vector;
2480 memset(edje_file->image_dir->vectors + edje_file->image_dir->vectors_count - 1, 2522 memset(edje_file->image_dir->vectors + edje_file->image_dir->vectors_count - 1,
2481 0, sizeof (Edje_Vector_Directory_Entry)); 2523 0, sizeof (Edje_Vector_Directory_Entry));
2482 2524
2483 vector = edje_file->image_dir->vectors + edje_file->image_dir->vectors_count - 1; 2525 vector = edje_file->image_dir->vectors + edje_file->image_dir->vectors_count - 1;
2484 2526
@@ -2486,7 +2528,6 @@ st_images_vector(void)
2486 vector->id = edje_file->image_dir->vectors_count - 1; 2528 vector->id = edje_file->image_dir->vectors_count - 1;
2487} 2529}
2488 2530
2489
2490/** 2531/**
2491 @edcsubsection{toplevel_models,model} 2532 @edcsubsection{toplevel_models,model}
2492 */ 2533 */
@@ -2533,7 +2574,7 @@ st_models_model(void)
2533 for (i = 0; i < edje_file->model_dir->entries_count; ++i) 2574 for (i = 0; i < edje_file->model_dir->entries_count; ++i)
2534 if (!strcmp(edje_file->model_dir->entries[i].entry, tmp)) 2575 if (!strcmp(edje_file->model_dir->entries[i].entry, tmp))
2535 { 2576 {
2536 free((char*) tmp); 2577 free((char *)tmp);
2537 return; 2578 return;
2538 } 2579 }
2539 2580
@@ -2585,7 +2626,7 @@ static void
2585ob_images_set(void) 2626ob_images_set(void)
2586{ 2627{
2587 Edje_Image_Directory_Set *sets; 2628 Edje_Image_Directory_Set *sets;
2588 2629
2589 if (!edje_file->image_dir) 2630 if (!edje_file->image_dir)
2590 edje_file->image_dir = mem_alloc(SZ(Edje_Image_Directory)); 2631 edje_file->image_dir = mem_alloc(SZ(Edje_Image_Directory));
2591 2632
@@ -2599,8 +2640,8 @@ ob_images_set(void)
2599 } 2640 }
2600 edje_file->image_dir->sets = sets; 2641 edje_file->image_dir->sets = sets;
2601 memset(edje_file->image_dir->sets + edje_file->image_dir->sets_count - 1, 2642 memset(edje_file->image_dir->sets + edje_file->image_dir->sets_count - 1,
2602 0, sizeof (Edje_Image_Directory_Set)); 2643 0, sizeof (Edje_Image_Directory_Set));
2603 2644
2604 edje_file->image_dir->sets[edje_file->image_dir->sets_count - 1].id = edje_file->image_dir->sets_count - 1; 2645 edje_file->image_dir->sets[edje_file->image_dir->sets_count - 1].id = edje_file->image_dir->sets_count - 1;
2605} 2646}
2606 2647
@@ -2614,7 +2655,7 @@ ob_images_set(void)
2614 @effect 2655 @effect
2615 Define the name that refer to this image description. 2656 Define the name that refer to this image description.
2616 @endproperty 2657 @endproperty
2617*/ 2658 */
2618static void 2659static void
2619st_images_set_name(void) 2660st_images_set_name(void)
2620{ 2661{
@@ -2649,7 +2690,7 @@ st_images_set_name(void)
2649 The "image" block inside a "set" block define the characteristic of an image. 2690 The "image" block inside a "set" block define the characteristic of an image.
2650 Every block will describe one image and the size rule to use it. 2691 Every block will describe one image and the size rule to use it.
2651 @endblock 2692 @endblock
2652**/ 2693 **/
2653static void 2694static void
2654ob_images_set_image(void) 2695ob_images_set_image(void)
2655{ 2696{
@@ -2683,7 +2724,7 @@ ob_images_set_image(void)
2683 2724
2684 Defaults: compression level for lossy methods is 90. 2725 Defaults: compression level for lossy methods is 90.
2685 @endproperty 2726 @endproperty
2686**/ 2727 **/
2687static void 2728static void
2688st_images_set_image_image(void) 2729st_images_set_image_image(void)
2689{ 2730{
@@ -2702,8 +2743,8 @@ st_images_set_image_image(void)
2702 for (i = 0; i < edje_file->image_dir->entries_count; ++i) 2743 for (i = 0; i < edje_file->image_dir->entries_count; ++i)
2703 if (!strcmp(edje_file->image_dir->entries[i].entry, entry->name)) 2744 if (!strcmp(edje_file->image_dir->entries[i].entry, entry->name))
2704 { 2745 {
2705 entry->id = i; 2746 entry->id = i;
2706 return; 2747 return;
2707 } 2748 }
2708} 2749}
2709 2750
@@ -2719,7 +2760,7 @@ st_images_set_image_image(void)
2719 2760
2720 Defaults: 0 0 0 0 2761 Defaults: 0 0 0 0
2721 @endproperty 2762 @endproperty
2722*/ 2763 */
2723static void 2764static void
2724st_images_set_image_size(void) 2765st_images_set_image_size(void)
2725{ 2766{
@@ -2737,11 +2778,11 @@ st_images_set_image_size(void)
2737 if (entry->size.min.w > entry->size.max.w 2778 if (entry->size.min.w > entry->size.max.w
2738 || entry->size.min.h > entry->size.max.h) 2779 || entry->size.min.h > entry->size.max.h)
2739 { 2780 {
2740 ERR("parse error %s:%i. Image min and max size are not in the right order ([%i, %i] < [%i, %i])", 2781 ERR("parse error %s:%i. Image min and max size are not in the right order ([%i, %i] < [%i, %i])",
2741 file_in, line - 1, 2782 file_in, line - 1,
2742 entry->size.min.w, entry->size.min.h, 2783 entry->size.min.w, entry->size.min.h,
2743 entry->size.max.w, entry->size.max.h); 2784 entry->size.max.w, entry->size.max.h);
2744 exit(-1); 2785 exit(-1);
2745 } 2786 }
2746} 2787}
2747 2788
@@ -2759,7 +2800,7 @@ st_images_set_image_size(void)
2759 Defaults: 0 0 0 0 2800 Defaults: 0 0 0 0
2760 @since 1.8 2801 @since 1.8
2761 @endproperty 2802 @endproperty
2762*/ 2803 */
2763static void 2804static void
2764st_images_set_image_border(void) 2805st_images_set_image_border(void)
2765{ 2806{
@@ -2796,7 +2837,7 @@ st_images_set_image_border(void)
2796 Defaults: 0.0 2837 Defaults: 0.0
2797 @since 1.8 2838 @since 1.8
2798 @endproperty 2839 @endproperty
2799*/ 2840 */
2800static void 2841static void
2801st_images_set_image_border_scale_by(void) 2842st_images_set_image_border_scale_by(void)
2802{ 2843{
@@ -2811,7 +2852,7 @@ st_images_set_image_border_scale_by(void)
2811 exit(-1); 2852 exit(-1);
2812 } 2853 }
2813 2854
2814 ed = (Edje_Part_Description_Image*) current_desc; 2855 ed = (Edje_Part_Description_Image *)current_desc;
2815 2856
2816 ed->image.border.scale_by = FROM_DOUBLE(parse_float_range(0, 0.0, 999999999.0)); 2857 ed->image.border.scale_by = FROM_DOUBLE(parse_float_range(0, 0.0, 999999999.0));
2817} 2858}
@@ -2861,10 +2902,10 @@ st_fonts_font(void)
2861 2902
2862 if (eina_hash_find(edje_file->fonts, fn->name)) 2903 if (eina_hash_find(edje_file->fonts, fn->name))
2863 { 2904 {
2864 free(fn->file); 2905 free(fn->file);
2865 free(fn->name); 2906 free(fn->name);
2866 free(fn); 2907 free(fn);
2867 return; 2908