X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp%2FElmSharp%2FIcon.cs;h=a8493d9f019d99499e753316d8703e4ae86f7616;hb=58283d6a09a7f531af61ae7b27b574603ef244df;hp=3ebff8fd87bda60546d1cab44c6b2042754a844a;hpb=a7e38f13f1f0c03b037c4173a7e985846f3e05ad;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/ElmSharp/ElmSharp/Icon.cs b/src/ElmSharp/ElmSharp/Icon.cs old mode 100755 new mode 100644 index 3ebff8f..a8493d9 --- a/src/ElmSharp/ElmSharp/Icon.cs +++ b/src/ElmSharp/ElmSharp/Icon.cs @@ -21,37 +21,43 @@ namespace ElmSharp /// /// Enumeration for the icon lookup order. Should look for icons in the theme, FDO paths, or both. /// + /// preview + [Obsolete("This has been deprecated in API12")] public enum IconLookupOrder { /// - /// Icon look up order: freedesktop, theme + /// Icon look up order: freedesktop, theme. /// FreeDesktopFirst = 0, /// - /// Icon look up order: theme, freedesktop + /// Icon look up order: theme, freedesktop. /// ThemeFirst, /// - /// Icon look up order: freedesktop + /// Icon look up order: freedesktop. /// FreeDesktopOnly, /// - /// Icon look up order: theme + /// Icon look up order: theme. /// ThemeOnly } /// - /// The Icon is a widget that displays standard icon images ("delete", "edit", "arrows", etc.) - /// or images coming from a custom file (PNG, JPG, EDJE, etc.), on icon context. - /// Inherits Image + /// The Icon is a widget that displays the standard icon images ("delete", "edit", "arrows", etc.) + /// or images coming from a custom file (PNG, JPG, EDJE, etc.), on the icon context. + /// Inherits Image. /// + /// preview + [Obsolete("This has been deprecated in API12")] public class Icon : Image { /// - /// Creates and initializes a new instance of Icon class. + /// Creates and initializes a new instance of the Icon class. /// - /// The parent is a given container which will be attached by Icon as a child. It's type. + /// The parent is a given container, which will be attached by Icon as a child. It's type. + /// preview + [Obsolete("This has been deprecated in API12")] public Icon(EvasObject parent) : base(parent) { } @@ -59,6 +65,8 @@ namespace ElmSharp /// /// Sets or gets the standard icon name of a given Icon widget. /// + /// preview + [Obsolete("This has been deprecated in API12")] public string StandardIconName { get @@ -74,6 +82,8 @@ namespace ElmSharp /// /// Sets or gets the icon lookup order of a given Icon widget. /// + /// preview + [Obsolete("This has been deprecated in API12")] public IconLookupOrder IconLookupOrder { get @@ -89,8 +99,10 @@ namespace ElmSharp /// /// Sets the file that is used, but uses a generated thumbnail. /// - /// The path to the file that is used as an icon image - /// The group that the icon belongs to + /// The path to the file that is used as an icon image. + /// The group that the icon belongs to. + /// preview + [Obsolete("This has been deprecated in API12")] public void SetThumb(string file, string group) { Interop.Elementary.elm_icon_thumb_set(RealHandle, file, group); @@ -100,7 +112,9 @@ namespace ElmSharp /// Adds a new icon object to the parent. /// /// EvasObject - /// The new object, otherwise NULL if it cannot be created + /// The new object, otherwise null if it cannot be created. + /// preview + [Obsolete("This has been deprecated in API12")] protected override IntPtr CreateHandle(EvasObject parent) { IntPtr handle = Interop.Elementary.elm_layout_add(parent.Handle);