return ret;
}
- public new void SetBackgroundColor(Vector4 color)
+ public void SetBackgroundColor(Vector4 color)
{
Interop.GaussianBlurView.GaussianBlurView_SetBackgroundColor(swigCPtr, Vector4.getCPtr(color));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public new Vector4 GetBackgroundColor()
+ public Vector4 GetBackgroundColor()
{
Vector4 ret = new Vector4(Interop.GaussianBlurView.GaussianBlurView_GetBackgroundColor(swigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_Property_SELECTED_get")]
public static extern int Button_Property_SELECTED_get();
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_Property_UNSELECTED_STATE_IMAGE_get")]
- public static extern int Button_Property_UNSELECTED_STATE_IMAGE_get();
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_Property_SELECTED_STATE_IMAGE_get")]
- public static extern int Button_Property_SELECTED_STATE_IMAGE_get();
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_Property_DISABLED_STATE_IMAGE_get")]
- public static extern int Button_Property_DISABLED_STATE_IMAGE_get();
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_Property_UNSELECTED_COLOR_get")]
- public static extern int Button_Property_UNSELECTED_COLOR_get();
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_Property_SELECTED_COLOR_get")]
- public static extern int Button_Property_SELECTED_COLOR_get();
-
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_Property_LABEL_get")]
public static extern int Button_Property_LABEL_get();
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_Property_LABEL_TEXT_get")]
- public static extern int Button_Property_LABEL_TEXT_get();
-
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Button_Property")]
public static extern global::System.IntPtr new_Button_Property();
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_IsSelected")]
public static extern bool Button_IsSelected(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_GetAnimationTime")]
- public static extern float Button_GetAnimationTime(global::System.Runtime.InteropServices.HandleRef jarg1);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_GetLabelText")]
- public static extern string Button_GetLabelText(global::System.Runtime.InteropServices.HandleRef jarg1);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_SetLabel")]
- public static extern void Button_SetLabel(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_SetButtonImage")]
- public static extern void Button_SetButtonImage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_SetSelectedImage")]
- public static extern void Button_SetSelectedImage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_GetButtonImage")]
- public static extern global::System.IntPtr Button_GetButtonImage(global::System.Runtime.InteropServices.HandleRef jarg1);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_GetSelectedImage")]
- public static extern global::System.IntPtr Button_GetSelectedImage(global::System.Runtime.InteropServices.HandleRef jarg1);
-
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_PressedSignal")]
public static extern global::System.IntPtr Button_PressedSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Button_Property_VISUAL_PADDING_get")]
public static extern int Button_Property_VISUAL_PADDING_get();
-
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Button_SWIGUpcast")]
public static extern global::System.IntPtr Button_SWIGUpcast(global::System.IntPtr jarg1);
{
internal static partial class ImageView
{
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ImageView_Property_RESOURCE_URL_get")]
- public static extern int ImageView_Property_RESOURCE_URL_get();
-
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ImageView_Property_IMAGE_get")]
public static extern int ImageView_Property_IMAGE_get();
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_DownCast")]
public static extern global::System.IntPtr PushButton_DownCast(global::System.Runtime.InteropServices.HandleRef jarg1);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_SetButtonImage__SWIG_0_0")]
- public static extern void PushButton_SetButtonImage__SWIG_0_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_SetButtonImage__SWIG_1")]
- public static extern void PushButton_SetButtonImage__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_SetBackgroundImage")]
- public static extern void PushButton_SetBackgroundImage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_SetSelectedImage__SWIG_0_0")]
- public static extern void PushButton_SetSelectedImage__SWIG_0_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_SetSelectedImage__SWIG_1")]
- public static extern void PushButton_SetSelectedImage__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_SetSelectedBackgroundImage")]
- public static extern void PushButton_SetSelectedBackgroundImage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_SetDisabledBackgroundImage")]
- public static extern void PushButton_SetDisabledBackgroundImage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_SetDisabledImage")]
- public static extern void PushButton_SetDisabledImage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_SetDisabledSelectedImage")]
- public static extern void PushButton_SetDisabledSelectedImage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
}
}
}
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_GetBackgroundColor")]
public static extern global::System.IntPtr ViewImpl_GetBackgroundColor(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_SetBackgroundImage")]
- public static extern void ViewImpl_SetBackgroundImage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_SetBackground")]
public static extern void ViewImpl_SetBackground(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_SetBackgroundColor")]
public static extern void View_SetBackgroundColor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_GetBackgroundColor")]
- public static extern global::System.IntPtr View_GetBackgroundColor(global::System.Runtime.InteropServices.HandleRef jarg1);
-
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_SetBackgroundImage")]
public static extern void View_SetBackgroundImage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_Property_STYLE_NAME_get")]
public static extern int View_Property_STYLE_NAME_get();
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_Property_BACKGROUND_COLOR_get")]
- public static extern int View_Property_BACKGROUND_COLOR_get();
-
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_Property_BACKGROUND_IMAGE_get")]
- public static extern int View_Property_BACKGROUND_IMAGE_get();
-
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_Property_KEY_INPUT_FOCUS_get")]
public static extern int View_Property_KEY_INPUT_FOCUS_get();
/// <summary>
/// The conditions for transitions.
/// </summary>
- [FlagsAttribute]
/// Hidden-API which is usually used as Inhouse-API. If required to be opened as Public-API, ACR process is needed.
[EditorBrowsable(EditorBrowsableState.Never)]
- public enum TransitionCondition
+ [FlagsAttribute] public enum TransitionCondition
{
/// <summary>
/// Default when a condition has not been set.
/// Hidden-API which is usually used as Inhouse-API. If required to be opened as Public-API, ACR process is needed.
[EditorBrowsable(EditorBrowsableState.Never)]
Unspecified = 0,
-
/// <summary>
/// Animate changing layout to another layout.
/// </summary>
/// Hidden-API which is usually used as Inhouse-API. If required to be opened as Public-API, ACR process is needed.
[EditorBrowsable(EditorBrowsableState.Never)]
LayoutChanged = 1,
-
/// <summary>
/// Animate adding item.
/// </summary>
/// Hidden-API which is usually used as Inhouse-API. If required to be opened as Public-API, ACR process is needed.
[EditorBrowsable(EditorBrowsableState.Never)]
Add = 2,
-
/// <summary>
/// Animate removing item.
/// </summary>
/// Hidden-API which is usually used as Inhouse-API. If required to be opened as Public-API, ACR process is needed.
[EditorBrowsable(EditorBrowsableState.Never)]
Remove = 4,
-
/// <summary>
/// Animation when an item changes due to a sibbling being added.
/// </summary>
/// Hidden-API which is usually used as Inhouse-API. If required to be opened as Public-API, ACR process is needed.
[EditorBrowsable(EditorBrowsableState.Never)]
ChangeOnAdd = 8,
-
/// <summary>
/// Animation when an item changes due to a sibbling being removed.
/// </summary>
/// Hidden-API which is usually used as Inhouse-API. If required to be opened as Public-API, ACR process is needed.
[EditorBrowsable(EditorBrowsableState.Never)]
public int Duration;
-
/// <summary>
/// Delay before the transition executes. Milliseconds.
/// </summary>
/// Hidden-API which is usually used as Inhouse-API. If required to be opened as Public-API, ACR process is needed.
[EditorBrowsable(EditorBrowsableState.Never)]
public int Delay;
-
/// <summary>
/// Function to alter the transition path over time.
/// </summary>
Animator = null;
TargetValue = 0;
}
-
/// <summary>
/// LayoutTransition constructor.
/// </summary>
/// Hidden-API which is usually used as Inhouse-API. If required to be opened as Public-API, ACR process is needed.
[EditorBrowsable(EditorBrowsableState.Never)]
public TransitionCondition Condition{get; set;}
-
/// <summary>
/// Property to animate.
/// </summary>
/// Hidden-API which is usually used as Inhouse-API. If required to be opened as Public-API, ACR process is needed.
[EditorBrowsable(EditorBrowsableState.Never)]
public AnimatableProperties AnimatableProperty{get; set;}
-
/// <summary>
/// Components of the Animator.
/// </summary>
/// Hidden-API which is usually used as Inhouse-API. If required to be opened as Public-API, ACR process is needed.
[EditorBrowsable(EditorBrowsableState.Never)]
public TransitionComponents Animator{get; set;}
-
/// <summary>
/// Target value to animate to.
/// </summary>
/*
- * Copyright(c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright(c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
-
- internal void SetBackgroundImage(Image image)
- {
- Interop.ViewImpl.ViewImpl_SetBackgroundImage(swigCPtr, Image.getCPtr(image));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
public void SetBackground(PropertyMap map)
{
Interop.ViewImpl.ViewImpl_SetBackground(swigCPtr, PropertyMap.getCPtr(map));
/*
-* Copyright(c) 2018 Samsung Electronics Co., Ltd.
+* Copyright(c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
internal new class Property
{
- internal static readonly int RESOURCE_URL = Interop.ImageView.ImageView_Property_RESOURCE_URL_get();
internal static readonly int IMAGE = Interop.ImageView.ImageView_Property_IMAGE_get();
internal static readonly int PRE_MULTIPLIED_ALPHA = Interop.ImageView.ImageView_Property_PRE_MULTIPLIED_ALPHA_get();
internal static readonly int PIXEL_AREA = Interop.ImageView.ImageView_Property_PIXEL_AREA_get();
return;
bool hasLayout = (_layout != null);
- Log.Info("NUI","Removing View:" + child.Name + "layout[" + hasLayout.ToString() +"]\n");
+ Log.Info("NUI","Removing View:" + child.Name + " layout[" + hasLayout.ToString() +"]\n");
// If View has a layout then do a deferred child removal
// Actual child removal is performed by the layouting system so
(_layout as LayoutGroup)?.RemoveChildFromLayoutGroup( child );
}
else
- {
+ {
RemoveChild(child);
}
}
return ret;
}
- internal void SetBackgroundColor(Vector4 color)
- {
- Interop.ViewInternal.View_SetBackgroundColor(swigCPtr, Vector4.getCPtr(color));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal Vector4 GetBackgroundColor()
- {
- Vector4 ret = new Vector4(Interop.ViewInternal.View_GetBackgroundColor(swigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal void SetBackgroundImage(Image image)
- {
- Interop.ViewInternal.View_SetBackgroundImage(swigCPtr, Image.getCPtr(image));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
internal ControlKeySignal KeyEventSignal()
{
ControlKeySignal ret = new ControlKeySignal(Interop.ViewSignal.View_KeyEventSignal(swigCPtr), false);
/*
- * Copyright(c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright(c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
var button = (Button)bindable;
if (newValue != null)
{
- Tizen.NUI.Object.SetProperty(button.swigCPtr, Button.Property.UNSELECTED_COLOR, new Tizen.NUI.PropertyValue((Color)newValue));
+ PropertyMap background = new PropertyMap();
+ background.Add( Visual.Property.Type, new PropertyValue((int)Visual.Type.Color) )
+ .Add( ColorVisualProperty.MixColor, new PropertyValue((Color)newValue) );
+ Tizen.NUI.Object.SetProperty(button.swigCPtr, Button.Property.UNSELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(background));
}
},
defaultValueCreator:(bindable) =>
{
var button = (Button)bindable;
Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty(button.swigCPtr, Button.Property.UNSELECTED_COLOR).Get(temp);
+ Tizen.NUI.PropertyMap map = new Tizen.NUI.PropertyMap();
+ Tizen.NUI.Object.GetProperty(button.swigCPtr, Button.Property.UNSELECTED_BACKGROUND_VISUAL).Get(map);
+ Tizen.NUI.PropertyValue value = map.Find( Visual.Property.MixColor);
+ value?.Get(temp);
return temp;
});
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
var button = (Button)bindable;
if (newValue != null)
{
- Tizen.NUI.Object.SetProperty(button.swigCPtr, Button.Property.SELECTED_COLOR, new Tizen.NUI.PropertyValue((Color)newValue));
+ PropertyMap background = new PropertyMap();
+ background.Add( Visual.Property.Type, new PropertyValue((int)Visual.Type.Color) )
+ .Add( ColorVisualProperty.MixColor, new PropertyValue((Color)newValue) );
+ Tizen.NUI.Object.SetProperty(button.swigCPtr, Button.Property.SELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(background));
}
},
defaultValueCreator:(bindable) =>
{
var button = (Button)bindable;
Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty(button.swigCPtr, Button.Property.SELECTED_COLOR).Get(temp);
+ Tizen.NUI.PropertyMap map = new Tizen.NUI.PropertyMap();
+ Tizen.NUI.Object.GetProperty(button.swigCPtr, Button.Property.SELECTED_BACKGROUND_VISUAL).Get(map);
+ Tizen.NUI.PropertyValue value = map.Find( Visual.Property.MixColor);
+ value?.Get(temp);
return temp;
});
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
internal static readonly int NEXT_AUTO_REPEATING_DELAY = Interop.Button.Button_Property_NEXT_AUTO_REPEATING_DELAY_get();
internal static readonly int TOGGLABLE = Interop.Button.Button_Property_TOGGLABLE_get();
internal static readonly int SELECTED = Interop.Button.Button_Property_SELECTED_get();
- internal static readonly int UNSELECTED_COLOR = Interop.Button.Button_Property_UNSELECTED_COLOR_get();
- internal static readonly int SELECTED_COLOR = Interop.Button.Button_Property_SELECTED_COLOR_get();
internal static readonly int LABEL = Interop.Button.Button_Property_LABEL_get();
}
}