diff options
author | jh0506.yun <jh0506.yun@DO-JH0506-YUN03> | 2016-10-11 20:58:45 +0900 |
---|---|---|
committer | jh0506.yun <jh0506.yun@DO-JH0506-YUN03> | 2016-10-11 21:30:24 +0900 |
commit | 3f767062a543e70eb08d6d002e6e00a6932560b9 (patch) | |
tree | 12d077794d9ed300733ddc1d8a06647171738c52 /ElmSharp | |
parent | c355392311e63b88911cf50d621834983a4ef7bb (diff) | |
download | elm-sharp-3f767062a543e70eb08d6d002e6e00a6932560b9.tar.gz elm-sharp-3f767062a543e70eb08d6d002e6e00a6932560b9.tar.bz2 elm-sharp-3f767062a543e70eb08d6d002e6e00a6932560b9.zip |
Sync elementary color class API
Change-Id: Ib6faa9aa6c510fe7a59ffd83ee7ad6f411e690d1
Signed-off-by: jh0506.yun <jh0506.yun@DO-JH0506-YUN03>
Diffstat (limited to 'ElmSharp')
-rw-r--r-- | ElmSharp/ElmSharp/Widget.cs | 2 | ||||
-rw-r--r-- | ElmSharp/Interop/Interop.Elementary.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ElmSharp/ElmSharp/Widget.cs b/ElmSharp/ElmSharp/Widget.cs index 1bca2a0..38b88cc 100644 --- a/ElmSharp/ElmSharp/Widget.cs +++ b/ElmSharp/ElmSharp/Widget.cs @@ -121,7 +121,7 @@ namespace ElmSharp public void SetPartColor(string part, Color color) { - Interop.Elementary.elm_object_part_color_set(Handle, part, color.R, color.G, color.B, color.A); + Interop.Elementary.elm_object_color_class_color_set(Handle, part, color.R, color.G, color.B, color.A); } internal IntPtr GetPartContent(string part) diff --git a/ElmSharp/Interop/Interop.Elementary.cs b/ElmSharp/Interop/Interop.Elementary.cs index 970e4b7..91438b7 100644 --- a/ElmSharp/Interop/Interop.Elementary.cs +++ b/ElmSharp/Interop/Interop.Elementary.cs @@ -144,7 +144,7 @@ internal static partial class Interop } [DllImport(Libraries.Elementary)] - internal static extern void elm_object_part_color_set(IntPtr obj, string part, int r, int g, int b, int a); + internal static extern void elm_object_color_class_color_set(IntPtr obj, string colorClass, int r, int g, int b, int a); [DllImport(Libraries.Elementary)] internal static extern void elm_object_part_text_set(IntPtr obj, string part, string text); |