summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2016-12-05 10:21:37 +0900
committerKangho Hur <kangho.hur@samsung.com>2016-12-05 19:28:50 +0900
commitc9695a06e131368597a90fbaf59597f7e81220a0 (patch)
tree234dcc0eb635ee1c9b502b79f9246193f2d14563
parent29ae5e9ea7a958ad411922275f23bd01e71adcd1 (diff)
downloadelm-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.cs1
-rw-r--r--ElmSharp/ElmSharp/EdjeObject.cs5
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