From a18e7f524266a75e09e197885901533e94748bde Mon Sep 17 00:00:00 2001 From: Andrii Kroitor Date: Fri, 27 Oct 2017 13:03:28 +0300 Subject: [PATCH] edje_cc: fix color_class description It can't be overridden by color values in state. Colors can only be modified. @fix --- src/bin/edje/edje_cc_handlers.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index 17f7d4326d..e34deb1c62 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -9292,7 +9292,7 @@ st_collections_group_parts_part_description_aspect_preference(void) [color class name] @effect The part will use the color values of the named color_class, these - values can be overridden by the "color", "color2" and "color3" + values can be modified by the "color", "color2" and "color3" properties set below. @endproperty */ @@ -9329,6 +9329,8 @@ st_collections_group_parts_part_description_color_class(void) i.e "#F00F" or "#F00".\n In string format you can omit alpha channel and it will be set to FF. + If color_class is set resulting color channel values will be (color * color_class / 255) + Defaults: 255 255 255 255 @endproperty */ @@ -9363,6 +9365,8 @@ st_collections_group_parts_part_description_color(void) i.e "#F00F" or "#F00".\n In string format you can omit alpha channel and it will be set to FF. + If color_class is set resulting color channel values will be (color * color_class / 255) + Defaults: 0 0 0 255 @endproperty */ @@ -9397,6 +9401,8 @@ st_collections_group_parts_part_description_color2(void) i.e "#F00F" or "#F00".\n In string format you can omit alpha channel and it will be set to FF. + If color_class is set resulting color channel values will be (color * color_class / 255) + Defaults: 0 0 0 128 @endproperty */