aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/edje
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2018-05-02 09:35:57 -0700
committerCedric Bail <cedric@osg.samsung.com>2018-05-02 10:46:34 -0700
commit9c23ffb675316d982d3b9442cb771f31dc1cc0ed (patch)
treea2232f9bf22a35702510c7bcc6169c6d66c8046e /src/bin/edje
parenteio: prevent asynchronous destruction of object while thread is still running. (diff)
downloadefl-9c23ffb675316d982d3b9442cb771f31dc1cc0ed.tar.gz
Revert "edje_cc: fix default color_class colors"
This reverts commit d83ebb69808abdd067aa88dfeb7cd5a8216a9d90. Had to revert this as it break backward compatibility with what theme expect to be the default value. We could reintroduce this with a version check if necessary. https://phab.enlightenment.org/T6885
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/edje_cc_handlers.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index efefe32b29..6d987edb8f 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -3215,18 +3215,18 @@ ob_color_class(void)
cc = mem_alloc(SZ(Edje_Color_Class));
edje_file->color_classes = eina_list_append(edje_file->color_classes, cc);
- cc->r = 255;
- cc->g = 255;
- cc->b = 255;
- cc->a = 255;
- cc->r2 = 255;
- cc->g2 = 255;
- cc->b2 = 255;
- cc->a2 = 255;
- cc->r3 = 255;
- cc->g3 = 255;
- cc->b3 = 255;
- cc->a3 = 255;
+ cc->r = 0;
+ cc->g = 0;
+ cc->b = 0;
+ cc->a = 0;
+ cc->r2 = 0;
+ cc->g2 = 0;
+ cc->b2 = 0;
+ cc->a2 = 0;
+ cc->r3 = 0;
+ cc->g3 = 0;
+ cc->b3 = 0;
+ cc->a3 = 0;
}
static void
@@ -3329,7 +3329,7 @@ parse_color(unsigned int first_arg, void *base)
i.e "#F00F" or "#F00".\n
In string format you can omit alpha channel and it will be set to FF.
- Defaults: 255 255 255 255
+ Defaults: 0 0 0 0
@endproperty
*/
static void
@@ -3360,7 +3360,7 @@ st_color_class_color(void)
i.e "#F00F" or "#F00".\n
In string format you can omit alpha channel and it will be set to FF.
- Defaults: 255 255 255 255
+ Defaults: 0 0 0 0
@endproperty
*/
static void
@@ -3391,7 +3391,7 @@ st_color_class_color2(void)
i.e "#F00F" or "#F00".\n
In string format you can omit alpha channel and it will be set to FF.
- Defaults: 255 255 255 255
+ Defaults: 0 0 0 0
@endproperty
*/
static void