summaryrefslogtreecommitdiff
path: root/src/bin/edje/edje_cc_handlers.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-08-05 15:58:01 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-08-06 11:05:50 +0200
commita7fd98f8f6d411c120e9c1c8ceeedbeb54d675a5 (patch)
tree3a3b6859febe339fb5a538c0cda7ff416af64409 /src/bin/edje/edje_cc_handlers.c
parent08e888156ea343cbb004b825c44187576c3a7fa0 (diff)
edje: add a SNAPSHOT part in EDC.
Diffstat (limited to '')
-rw-r--r--src/bin/edje/edje_cc_handlers.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index e002d19aa4..3138300936 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -1270,6 +1270,7 @@ New_Object_Handler object_handlers[] =
1270 external{} 1270 external{}
1271 proxy{} 1271 proxy{}
1272 spacer{} 1272 spacer{}
1273 snapshot{}
1273 part { 1274 part {
1274 desc { 1275 desc {
1275 } 1276 }
@@ -1422,6 +1423,7 @@ _edje_part_description_alloc(unsigned char type, const char *collection, const c
1422 case EDJE_PART_TYPE_RECTANGLE: 1423 case EDJE_PART_TYPE_RECTANGLE:
1423 case EDJE_PART_TYPE_SWALLOW: 1424 case EDJE_PART_TYPE_SWALLOW:
1424 case EDJE_PART_TYPE_GROUP: 1425 case EDJE_PART_TYPE_GROUP:
1426 case EDJE_PART_TYPE_SNAPSHOT:
1425 result = mem_alloc(SZ(Edje_Part_Description_Common)); 1427 result = mem_alloc(SZ(Edje_Part_Description_Common));
1426 break; 1428 break;
1427 case EDJE_PART_TYPE_TEXT: 1429 case EDJE_PART_TYPE_TEXT:
@@ -4882,6 +4884,7 @@ ob_collections_group_parts_part_short(void)
4882 "external", EDJE_PART_TYPE_EXTERNAL, 4884 "external", EDJE_PART_TYPE_EXTERNAL,
4883 "proxy", EDJE_PART_TYPE_PROXY, 4885 "proxy", EDJE_PART_TYPE_PROXY,
4884 "spacer", EDJE_PART_TYPE_SPACER, 4886 "spacer", EDJE_PART_TYPE_SPACER,
4887 "snapshot", EDJE_PART_TYPE_SNAPSHOT,
4885 NULL); 4888 NULL);
4886 4889
4887 stack_pop_quick(EINA_TRUE, EINA_TRUE); 4890 stack_pop_quick(EINA_TRUE, EINA_TRUE);
@@ -4918,6 +4921,7 @@ _part_desc_free(Edje_Part_Collection *pc,
4918 case EDJE_PART_TYPE_RECTANGLE: 4921 case EDJE_PART_TYPE_RECTANGLE:
4919 case EDJE_PART_TYPE_SWALLOW: 4922 case EDJE_PART_TYPE_SWALLOW:
4920 case EDJE_PART_TYPE_GROUP: 4923 case EDJE_PART_TYPE_GROUP:
4924 case EDJE_PART_TYPE_SNAPSHOT:
4921 /* Nothing todo, this part only have a common description. */ 4925 /* Nothing todo, this part only have a common description. */
4922 break; 4926 break;
4923 case EDJE_PART_TYPE_BOX: 4927 case EDJE_PART_TYPE_BOX:
@@ -5289,6 +5293,7 @@ st_collections_group_parts_part_name(void)
5289 @li EXTERNAL 5293 @li EXTERNAL
5290 @li PROXY 5294 @li PROXY
5291 @li SPACER 5295 @li SPACER
5296 @li SNAPSHOT
5292 @endproperty 5297 @endproperty
5293*/ 5298*/
5294static void 5299static void
@@ -5310,7 +5315,8 @@ st_collections_group_parts_part_type(void)
5310 "TABLE", EDJE_PART_TYPE_TABLE, 5315 "TABLE", EDJE_PART_TYPE_TABLE,
5311 "EXTERNAL", EDJE_PART_TYPE_EXTERNAL, 5316 "EXTERNAL", EDJE_PART_TYPE_EXTERNAL,
5312 "PROXY", EDJE_PART_TYPE_PROXY, 5317 "PROXY", EDJE_PART_TYPE_PROXY,
5313 "SPACER", EDJE_PART_TYPE_SPACER, 5318 "SPACER", EDJE_PART_TYPE_SPACER,
5319 "SNAPSHOT", EDJE_PART_TYPE_SNAPSHOT,
5314 NULL); 5320 NULL);
5315 5321
5316 _part_type_set(type); 5322 _part_type_set(type);
@@ -7025,6 +7031,7 @@ st_collections_group_parts_part_description_inherit(void)
7025 case EDJE_PART_TYPE_RECTANGLE: 7031 case EDJE_PART_TYPE_RECTANGLE:
7026 case EDJE_PART_TYPE_SWALLOW: 7032 case EDJE_PART_TYPE_SWALLOW:
7027 case EDJE_PART_TYPE_GROUP: 7033 case EDJE_PART_TYPE_GROUP:
7034 case EDJE_PART_TYPE_SNAPSHOT:
7028 /* Nothing todo, this part only have a common description. */ 7035 /* Nothing todo, this part only have a common description. */
7029 break; 7036 break;
7030 case EDJE_PART_TYPE_TEXT: 7037 case EDJE_PART_TYPE_TEXT: