summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_color.eo
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-11 12:11:39 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-02-11 12:34:12 +0100
commit1b568327c4feca6ac79863551abf1507bb090c55 (patch)
tree76d2ed617f688e12a956c55d511d874296dab014 /src/lib/efl/interfaces/efl_gfx_color.eo
parentb805f11c89ae5a43b6e74bfe2856beb35483a182 (diff)
efl_gfx_color_class: make this a mixin and move color_class_code here
Summary: color_class_code seems to only have been added to efl_gfx_color in order to share the hex conversion code, but this is trivial to do when it's in another class and makes the api more sensible ref T7559 Reviewers: segfaultxavi, bu5hm4n, cedric Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7559 Differential Revision: https://phab.enlightenment.org/D7898
Diffstat (limited to 'src/lib/efl/interfaces/efl_gfx_color.eo')
-rw-r--r--src/lib/efl/interfaces/efl_gfx_color.eo19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_color.eo b/src/lib/efl/interfaces/efl_gfx_color.eo
index 6e1aa2b260..d3c41e1e31 100644
--- a/src/lib/efl/interfaces/efl_gfx_color.eo
+++ b/src/lib/efl/interfaces/efl_gfx_color.eo
@@ -58,24 +58,5 @@ mixin Efl.Gfx.Color
58 colorcode: string; [[the hex color code.]] 58 colorcode: string; [[the hex color code.]]
59 } 59 }
60 } 60 }
61 @property color_class_code {
62 set {
63 [[Set the color class color of given Evas Object to the given hex color code(#RRGGBBAA).
64 e.g. efl_gfx_color_class_code_set(obj, "color_class_name", layer, "#FFCCAACC");
65 ]]
66 }
67 get {
68 [[Get hex color class code of given Evas Object.
69 This returns a short lived hex color class code string.
70 ]]
71 }
72 keys {
73 color_class: string; [[The name of color class]]
74 layer: Efl.Gfx.Color_Class_Layer @optional; [[The layer to set the color]]
75 }
76 values {
77 colorcode: string; [[the hex color code.]]
78 }
79 }
80 } 61 }
81} 62}