diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2016-12-05 10:21:37 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2016-12-05 19:28:50 +0900 |
commit | c9695a06e131368597a90fbaf59597f7e81220a0 (patch) | |
tree | 234dcc0eb635ee1c9b502b79f9246193f2d14563 | |
parent | 29ae5e9ea7a958ad411922275f23bd01e71adcd1 (diff) | |
download | elm-sharp-c9695a06e131368597a90fbaf59597f7e81220a0.tar.gz elm-sharp-c9695a06e131368597a90fbaf59597f7e81220a0.tar.bz2 elm-sharp-c9695a06e131368597a90fbaf59597f7e81220a0.zip |
Deprecate the Button.DeleteColorClass()
- please use EdjeObject.DeleteColorClass(string)
Change-Id: Ifbf9a1e92bb0869edd8762f5d0013f6d5edf27cd
-rw-r--r-- | ElmSharp/ElmSharp/Button.cs | 1 | ||||
-rw-r--r-- | ElmSharp/ElmSharp/EdjeObject.cs | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ElmSharp/ElmSharp/Button.cs b/ElmSharp/ElmSharp/Button.cs index 9d13db3..2292074 100644 --- a/ElmSharp/ElmSharp/Button.cs +++ b/ElmSharp/ElmSharp/Button.cs @@ -97,6 +97,7 @@ namespace ElmSharp } } + [Obsolete("DeleteColorClass is obsolete, please use EdjeObject.DeleteColorClass(string)")] public void DeleteColorClass(string part) { Interop.Elementary.edje_object_color_class_del(Handle, part); diff --git a/ElmSharp/ElmSharp/EdjeObject.cs b/ElmSharp/ElmSharp/EdjeObject.cs index bd40244..4dc7e28 100644 --- a/ElmSharp/ElmSharp/EdjeObject.cs +++ b/ElmSharp/ElmSharp/EdjeObject.cs @@ -43,6 +43,11 @@ namespace ElmSharp { Interop.Elementary.edje_object_signal_emit(_edjeHandle, emission, source); } + + public void DeleteColorClass(string part) + { + Interop.Elementary.edje_object_color_class_del(_edjeHandle, part); + } } public class EdjeTextPartObject |