summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_bg_widget.c
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-12-20 16:34:01 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-12-22 13:29:20 +0900
commit9db0ec554bf3f92c8e0c8e1733455955e2351e51 (patch)
treec9e7c9e848e918e75a051d6470a773502f9a52d2 /src/lib/elementary/efl_ui_bg_widget.c
parent14d10e8b7baeaf282ed607d068f84a4d56004519 (diff)
interface: add Efl.Gfx.Color interface for color related APIs
This would eventually turn into mixin class later after adding more color related helper functions.
Diffstat (limited to 'src/lib/elementary/efl_ui_bg_widget.c')
-rw-r--r--src/lib/elementary/efl_ui_bg_widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_bg_widget.c b/src/lib/elementary/efl_ui_bg_widget.c
index 5c39790..def31d0 100644
--- a/src/lib/elementary/efl_ui_bg_widget.c
+++ b/src/lib/elementary/efl_ui_bg_widget.c
@@ -148,7 +148,7 @@ elm_bg_color_set(Evas_Object *obj,
148} 148}
149 149
150EOLIAN static void 150EOLIAN static void
151_efl_ui_bg_widget_efl_gfx_color_set(Eo *obj EINA_UNUSED, Efl_Ui_Bg_Widget_Data *sd, int r, int g, int b, int a) 151_efl_ui_bg_widget_efl_gfx_color_color_set(Eo *obj EINA_UNUSED, Efl_Ui_Bg_Widget_Data *sd, int r, int g, int b, int a)
152{ 152{
153 efl_gfx_color_set(sd->rect, r, g, b, a); 153 efl_gfx_color_set(sd->rect, r, g, b, a);
154} 154}
@@ -164,7 +164,7 @@ elm_bg_color_get(const Evas_Object *obj,
164} 164}
165 165
166EOLIAN static void 166EOLIAN static void
167_efl_ui_bg_widget_efl_gfx_color_get(Eo *obj, Efl_Ui_Bg_Widget_Data *sd, int *r, int *g, int *b, int *a) 167_efl_ui_bg_widget_efl_gfx_color_color_get(Eo *obj, Efl_Ui_Bg_Widget_Data *sd, int *r, int *g, int *b, int *a)
168{ 168{
169 if (!sd->rect) 169 if (!sd->rect)
170 efl_gfx_color_get(efl_super(obj, MY_CLASS), r, g, b, a); 170 efl_gfx_color_get(efl_super(obj, MY_CLASS), r, g, b, a);