From: Feng Jin Date: Tue, 2 May 2017 19:54:39 +0000 (+0800) Subject: Remove "SelectedStateImage","UnselectedStateImage" and "DisabledStateImage" property... X-Git-Tag: accepted/tizen/unified/20170502.165640~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e87681c5be5a6afe6e2d0d2265673a08e82c6aa6;p=platform%2Fcore%2Fcsapi%2Fnui.git Remove "SelectedStateImage","UnselectedStateImage" and "DisabledStateImage" property of Button. Change-Id: Idd59493611b6d10bbcb39c743ce829d81333b9f6 Signed-off-by: Feng Jin --- diff --git a/Tizen.NUI/src/public/UIComponents/Button.cs b/Tizen.NUI/src/public/UIComponents/Button.cs index f90ae13..bf5d35e 100755 --- a/Tizen.NUI/src/public/UIComponents/Button.cs +++ b/Tizen.NUI/src/public/UIComponents/Button.cs @@ -551,9 +551,6 @@ namespace Tizen.NUI.UIComponents internal static readonly int NEXT_AUTO_REPEATING_DELAY = NDalicPINVOKE.Button_Property_NEXT_AUTO_REPEATING_DELAY_get(); internal static readonly int TOGGLABLE = NDalicPINVOKE.Button_Property_TOGGLABLE_get(); internal static readonly int SELECTED = NDalicPINVOKE.Button_Property_SELECTED_get(); - internal static readonly int UNSELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_UNSELECTED_STATE_IMAGE_get(); - internal static readonly int SELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_SELECTED_STATE_IMAGE_get(); - internal static readonly int DISABLED_STATE_IMAGE = NDalicPINVOKE.Button_Property_DISABLED_STATE_IMAGE_get(); internal static readonly int UNSELECTED_COLOR = NDalicPINVOKE.Button_Property_UNSELECTED_COLOR_get(); internal static readonly int SELECTED_COLOR = NDalicPINVOKE.Button_Property_SELECTED_COLOR_get(); internal static readonly int LABEL = NDalicPINVOKE.Button_Property_LABEL_get(); @@ -825,57 +822,6 @@ namespace Tizen.NUI.UIComponents } /// - /// Gets/Sets the unselected button foreground image. - /// - public Tizen.NUI.PropertyMap UnselectedStateImage - { - get - { - Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap(); - GetProperty(Button.Property.UNSELECTED_STATE_IMAGE).Get(temp); - return temp; - } - set - { - SetProperty(Button.Property.UNSELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value)); - } - } - - /// - /// Gets/Sets the selected button foreground image. - /// - public Tizen.NUI.PropertyMap SelectedStateImage - { - get - { - Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap(); - GetProperty(Button.Property.SELECTED_STATE_IMAGE).Get(temp); - return temp; - } - set - { - SetProperty(Button.Property.SELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value)); - } - } - - /// - /// Gets/Sets the disabled whilst unselected foreground button visual. - /// - public Tizen.NUI.PropertyMap DisabledStateImage - { - get - { - Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap(); - GetProperty(Button.Property.DISABLED_STATE_IMAGE).Get(temp); - return temp; - } - set - { - SetProperty(Button.Property.DISABLED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value)); - } - } - - /// /// Gets/Sets unselected color. /// public Color UnselectedColor