summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorperepelits.m <perepelits.m@samsung.com>2015-05-19 12:39:05 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-19 14:17:00 +0200
commitd7a53b11f620568a1f374f34a4c24db6a57f6afa (patch)
tree3b4dc00ecee8f06b6d9c9f864dc6a4fb08cc5a8d /src/bin
parentfb2e000028eec857558844d4cde18c3dcc14f377 (diff)
edje: switch Evas_3D color to use Edje_Color.
Summary: Changes float on uchar as we do in other place for color component Reviewers: raster, Hermet, cedric Reviewed By: cedric Subscribers: cedric, artem.popov Differential Revision: https://phab.enlightenment.org/D2528 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/edje/edje_cc_handlers.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 21751d30ba..5b5d233a8d 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -9561,10 +9561,10 @@ st_collections_group_parts_part_description_properties_ambient(void)
9561 9561
9562 ed = (Edje_Part_Description_Light*) current_desc; 9562 ed = (Edje_Part_Description_Light*) current_desc;
9563 9563
9564 ed->light.properties.ambient.r = parse_float_range(0, 0.0, 1.0); 9564 ed->light.properties.ambient.r = parse_int_range(0, 0, 255);
9565 ed->light.properties.ambient.g = parse_float_range(1, 0.0, 1.0); 9565 ed->light.properties.ambient.g = parse_int_range(1, 0, 255);
9566 ed->light.properties.ambient.b = parse_float_range(2, 0.0, 1.0); 9566 ed->light.properties.ambient.b = parse_int_range(2, 0, 255);
9567 ed->light.properties.ambient.a = parse_float_range(3, 0.0, 1.0); 9567 ed->light.properties.ambient.a = parse_int_range(3, 0, 255);
9568 break; 9568 break;
9569 } 9569 }
9570 case EDJE_PART_TYPE_MESH_NODE: 9570 case EDJE_PART_TYPE_MESH_NODE:
@@ -9573,10 +9573,10 @@ st_collections_group_parts_part_description_properties_ambient(void)
9573 9573
9574 ed = (Edje_Part_Description_Mesh_Node*) current_desc; 9574 ed = (Edje_Part_Description_Mesh_Node*) current_desc;
9575 9575
9576 ed->mesh_node.properties.ambient.r = parse_float_range(0, 0.0, 1.0); 9576 ed->mesh_node.properties.ambient.r = parse_int_range(0, 0, 255);
9577 ed->mesh_node.properties.ambient.g = parse_float_range(1, 0.0, 1.0); 9577 ed->mesh_node.properties.ambient.g = parse_int_range(1, 0, 255);
9578 ed->mesh_node.properties.ambient.b = parse_float_range(2, 0.0, 1.0); 9578 ed->mesh_node.properties.ambient.b = parse_int_range(2, 0, 255);
9579 ed->mesh_node.properties.ambient.a = parse_float_range(3, 0.0, 1.0); 9579 ed->mesh_node.properties.ambient.a = parse_int_range(3, 0, 255);
9580 break; 9580 break;
9581 } 9581 }
9582 default: 9582 default:
@@ -9611,10 +9611,10 @@ st_collections_group_parts_part_description_properties_diffuse(void)
9611 9611
9612 ed = (Edje_Part_Description_Light*) current_desc; 9612 ed = (Edje_Part_Description_Light*) current_desc;
9613 9613
9614 ed->light.properties.diffuse.r = parse_float_range(0, 0.0, 1.0); 9614 ed->light.properties.diffuse.r = parse_int_range(0, 0, 255);
9615 ed->light.properties.diffuse.g = parse_float_range(1, 0.0, 1.0); 9615 ed->light.properties.diffuse.g = parse_int_range(1, 0, 255);
9616 ed->light.properties.diffuse.b = parse_float_range(2, 0.0, 1.0); 9616 ed->light.properties.diffuse.b = parse_int_range(2, 0, 255);
9617 ed->light.properties.diffuse.a = parse_float_range(3, 0.0, 1.0); 9617 ed->light.properties.diffuse.a = parse_int_range(3, 0, 255);
9618 break; 9618 break;
9619 } 9619 }
9620 case EDJE_PART_TYPE_MESH_NODE: 9620 case EDJE_PART_TYPE_MESH_NODE:
@@ -9623,10 +9623,10 @@ st_collections_group_parts_part_description_properties_diffuse(void)
9623 9623
9624 ed = (Edje_Part_Description_Mesh_Node*) current_desc; 9624 ed = (Edje_Part_Description_Mesh_Node*) current_desc;
9625 9625
9626 ed->mesh_node.properties.diffuse.r = parse_float_range(0, 0.0, 1.0); 9626 ed->mesh_node.properties.diffuse.r = parse_int_range(0, 0, 255);
9627 ed->mesh_node.properties.diffuse.g = parse_float_range(1, 0.0, 1.0); 9627 ed->mesh_node.properties.diffuse.g = parse_int_range(1, 0, 255);
9628 ed->mesh_node.properties.diffuse.b = parse_float_range(2, 0.0, 1.0); 9628 ed->mesh_node.properties.diffuse.b = parse_int_range(2, 0, 255);
9629 ed->mesh_node.properties.diffuse.a = parse_float_range(3, 0.0, 1.0); 9629 ed->mesh_node.properties.diffuse.a = parse_int_range(3, 0, 255);
9630 break; 9630 break;
9631 } 9631 }
9632 default: 9632 default: