| | | |mixin Efl.Gfx.Color | | | |├ (P) color | | | |├ (P) color_code | | | |├ (P) color_class_code
This mixin provides a color property and a color_class property. A color_class is either Normal, Shadow or Outline.
Seems inconsistent: color is @pure_virtual, but not color_code or color_class_code.
color accepts R, G and B, whereas color_code accepts a string "#RRGGBBAA" and does the conversion to R, G, B (this is actually the only functionality provided by this mixin).
But color_class_code only accepts strings, there's no R, G, B variant.
color must be implemented by subclasses, but color_class is routed to edje :(
I dunno what is going on here but I don't think this is a pretty API.