efl/legacy/edje/src
rephorm 702c78bb82 color class blocks in edje.
this allows you to specify the default color for any parts using color_classes in a given file.

this color will be overridden by edje_color_class_set()
which will in turn be overridden by edje_object_color_class_set()

note. if you specify a color (color: ...) in a part description that also has a color_class, the cc will be multiplied against the color -- generally not what you want.

also, as a tip, the gimp's 'multiply' blend mode is almost exactly the same as evas/edje's coloring.


example:

...
part {
  name: "colored";
  type: RECT;
  description {
    state: "default" 0.0;
    color_class: "bg_color";
    /* note: no color: set here */
  }
}
...
color_classes {
  color_class {
    name: "bg_color";
    color: 229 239 255 255;
  }
}


SVN revision: 19708
2006-01-11 03:19:46 +00:00
..
bin color class blocks in edje. 2006-01-11 03:19:45 +00:00
lib color class blocks in edje. 2006-01-11 03:19:46 +00:00
.cvsignore added .cvsignore files 2004-01-17 16:36:46 +00:00
Makefile.am in we go edje... no it doesnt do anything useful at the moment... 2003-06-02 23:49:56 +00:00