}
/**
- * @brief Event arguments that passed via NUIApplicationResize signal
- *
- */
- internal class NUIApplicationResizedEventArgs : EventArgs
- {
- private Application _application;
- /**
- * @brief Application - is the application that is being Resized
- *
- */
- public Application Application
- {
- get
- {
- return _application;
- }
- set
- {
- _application = value;
- }
- }
- }
-
- /**
* @brief Event arguments that passed via NUIApplicationLanguageChanged signal
*
*/
this.ResetSignal().Disconnect(_applicationResetEventCallbackDelegate);
}
- if (_applicationResizeEventCallbackDelegate != null)
- {
- this.ResizeSignal().Disconnect(_applicationResizeEventCallbackDelegate);
- }
-
if (_applicationLanguageChangedEventCallbackDelegate != null)
{
this.LanguageChangedSignal().Disconnect(_applicationLanguageChangedEventCallbackDelegate);
private NUIApplicationResetEventCallbackDelegate _applicationResetEventCallbackDelegate;
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void NUIApplicationResizeEventCallbackDelegate(IntPtr application);
- private DaliEventHandler<object, NUIApplicationResizedEventArgs> _applicationResizeEventHandler;
- private NUIApplicationResizeEventCallbackDelegate _applicationResizeEventCallbackDelegate;
-
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate void NUIApplicationLanguageChangedEventCallbackDelegate(IntPtr application);
private DaliEventHandler<object, NUIApplicationLanguageChangedEventArgs> _applicationLanguageChangedEventHandler;
private NUIApplicationLanguageChangedEventCallbackDelegate _applicationLanguageChangedEventCallbackDelegate;
}
/**
- * @brief Event for Resized signal which can be used to subscribe/unsubscribe the event handler
- * provided by the user. Resized signal is emitted when application is resized
- */
- public event DaliEventHandler<object, NUIApplicationResizedEventArgs> Resized
- {
- add
- {
- lock (this)
- {
- // Restricted to only one listener
- if (_applicationResizeEventHandler == null)
- {
- _applicationResizeEventHandler += value;
-
- _applicationResizeEventCallbackDelegate = new NUIApplicationResizeEventCallbackDelegate(OnNUIApplicationResize);
- this.ResizeSignal().Connect(_applicationResizeEventCallbackDelegate);
- }
- }
- }
-
- remove
- {
- lock (this)
- {
- if (_applicationResizeEventHandler != null)
- {
- this.ResizeSignal().Disconnect(_applicationResizeEventCallbackDelegate);
- }
-
- _applicationResizeEventHandler -= value;
- }
- }
- }
-
- // Callback for Application ResizeSignal
- private void OnNUIApplicationResize(IntPtr data)
- {
- if (_applicationResizeEventHandler != null)
- {
- NUIApplicationResizedEventArgs e = new NUIApplicationResizedEventArgs();
- e.Application = this;
- _applicationResizeEventHandler.Invoke(this, e);
- }
- }
-
- /**
* @brief Event for LanguageChanged signal which can be used to subscribe/unsubscribe the event handler
* provided by the user. LanguageChanged signal is emitted when the region of the device is changed.
*/
return ret;
}
- public void ReplaceWindow(Rectangle windowPosition, string name)
- {
- Interop.Application.Application_ReplaceWindow(swigCPtr, Rectangle.getCPtr(windowPosition), name);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
public static string GetResourcePath()
{
string ret = Interop.Application.Application_GetResourcePath();
return ret;
}
- internal ApplicationSignal ResizeSignal()
- {
- ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_ResizeSignal(swigCPtr), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
internal ApplicationControlSignal AppControlSignal()
{
ApplicationControlSignal ret = new ApplicationControlSignal(NDalicPINVOKE.Application_AppControlSignal(swigCPtr), false);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_ActorSignal")]
public static extern void delete_ActorSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Actor_TouchedSignal")]
- public static extern global::System.IntPtr Actor_TouchedSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Actor_TouchSignal")]
public static extern global::System.IntPtr Actor_TouchSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Application_GetWindowHandleFromNUI")]
public static extern global::System.IntPtr Application_GetWindowHandleFromNUI(global::System.Runtime.InteropServices.HandleRef jarg1);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Application_ReplaceWindow")]
- public static extern void Application_ReplaceWindow(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3);
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Application_GetResourcePath")]
public static extern string Application_GetResourcePath();
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WrapActorConstraint")]
public static extern void WrapActorConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_DEFAULT_RENDERING_BACKEND_get")]
- public static extern uint DEFAULT_RENDERING_BACKEND_get();
}
}
}
\ No newline at end of file
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_SWIGUpcast")]
public static extern global::System.IntPtr PushButton_SWIGUpcast(global::System.IntPtr jarg1);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_Property_UNSELECTED_ICON_get")]
- public static extern int PushButton_Property_UNSELECTED_ICON_get();
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_Property_SELECTED_ICON_get")]
- public static extern int PushButton_Property_SELECTED_ICON_get();
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_Property_ICON_ALIGNMENT_get")]
- public static extern int PushButton_Property_ICON_ALIGNMENT_get();
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PushButton_Property_LABEL_PADDING_get")]
public static extern int PushButton_Property_LABEL_PADDING_get();
{
internal static partial class TextEditor
{
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_RENDERING_BACKEND_get")]
- public static extern int TextEditor_Property_RENDERING_BACKEND_get();
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_TEXT_get")]
public static extern int TextEditor_Property_TEXT_get();
{
internal static partial class TextField
{
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextField_Property_RENDERING_BACKEND_get")]
- public static extern int TextField_Property_RENDERING_BACKEND_get();
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextField_Property_TEXT_get")]
public static extern int TextField_Property_TEXT_get();
{
internal static partial class TextLabel
{
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_RENDERING_BACKEND_get")]
- public static extern int TextLabel_Property_RENDERING_BACKEND_get();
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_TEXT_get")]
public static extern int TextLabel_Property_TEXT_get();
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_OnInitializeSwigExplicitViewImpl")]
public static extern void ViewImpl_OnInitializeSwigExplicitViewImpl(global::System.Runtime.InteropServices.HandleRef jarg1);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_OnControlChildAdd")]
- public static extern void ViewImpl_OnControlChildAdd(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_OnControlChildAddSwigExplicitViewImpl")]
- public static extern void ViewImpl_OnControlChildAddSwigExplicitViewImpl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_OnControlChildRemove")]
- public static extern void ViewImpl_OnControlChildRemove(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_OnControlChildRemoveSwigExplicitViewImpl")]
- public static extern void ViewImpl_OnControlChildRemoveSwigExplicitViewImpl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_OnStyleChange")]
public static extern void ViewImpl_OnStyleChange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3);
public static extern void WindowFocusSignalType_Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WindowFocusSignalType_Emit")]
- public static extern void WindowFocusSignalType_Emit(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);
+ public static extern void WindowFocusSignalType_Emit(global::System.Runtime.InteropServices.HandleRef signalType, global::System.Runtime.InteropServices.HandleRef window, bool focusIn);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WindowFocusSignalType")]
public static extern global::System.IntPtr new_WindowFocusSignalType();
{
internal static partial class WindowInternal
{
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_ShowIndicator")]
- public static extern void Window_ShowIndicator(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_SetIndicatorBgOpacity")]
- public static extern void Window_SetIndicatorBgOpacity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_RotateIndicator")]
- public static extern void Window_RotateIndicator(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_GetNativeHandle")]
public static extern global::System.IntPtr Window_GetNativeHandle(global::System.Runtime.InteropServices.HandleRef jarg1);
}
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Application_ResetSignal")]
public static extern global::System.IntPtr Application_ResetSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Application_ResizeSignal")]
- public static extern global::System.IntPtr Application_ResizeSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Application_AppControlSignal")]
public static extern global::System.IntPtr Application_AppControlSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public virtual void OnControlChildAdd(View child)
- {
- if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22)) Interop.ViewImplSignal.ViewImpl_OnControlChildAddSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else Interop.ViewImplSignal.ViewImpl_OnControlChildAdd(swigCPtr, View.getCPtr(child));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public virtual void OnControlChildRemove(View child)
- {
- if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23)) Interop.ViewImplSignal.ViewImpl_OnControlChildRemoveSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else Interop.ViewImplSignal.ViewImpl_OnControlChildRemove(swigCPtr, View.getCPtr(child));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change)
{
if (SwigDerivedClassHasMethod("OnStyleChange", swigMethodTypes24)) Interop.ViewImplSignal.ViewImpl_OnStyleChangeSwigExplicitViewImpl(swigCPtr, StyleManager.getCPtr(styleManager), (int)change); else Interop.ViewImplSignal.ViewImpl_OnStyleChange(swigCPtr, StyleManager.getCPtr(styleManager), (int)change);
swigDelegate20 = new SwigDelegateViewImpl_20(SwigDirectorOnLayoutNegotiated);
if (SwigDerivedClassHasMethod("OnInitialize", swigMethodTypes21))
swigDelegate21 = new SwigDelegateViewImpl_21(SwigDirectorOnInitialize);
- if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22))
- swigDelegate22 = new SwigDelegateViewImpl_22(SwigDirectorOnControlChildAdd);
- if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23))
- swigDelegate23 = new SwigDelegateViewImpl_23(SwigDirectorOnControlChildRemove);
if (SwigDerivedClassHasMethod("OnStyleChange", swigMethodTypes24))
swigDelegate24 = new SwigDelegateViewImpl_24(SwigDirectorOnStyleChange);
if (SwigDerivedClassHasMethod("OnAccessibilityActivated", swigMethodTypes25))
OnInitialize();
}
- private void SwigDirectorOnControlChildAdd(global::System.IntPtr child)
- {
- View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
- if (view)
- {
- OnControlChildAdd(view);
- }
- }
-
- private void SwigDirectorOnControlChildRemove(global::System.IntPtr child)
- {
- View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
- if (view)
- {
- OnControlChildRemove(view);
- }
- }
-
private void SwigDirectorOnStyleChange(global::System.IntPtr styleManager, int change)
{
StyleManager stManager = Registry.GetManagedBaseHandleFromNativePtr(styleManager) as StyleManager;
/// <since_tizen> 3 </since_tizen>
public delegate void OnLayoutNegotiatedDelegate(float size, DimensionType dimension);
/// <since_tizen> 3 </since_tizen>
- public delegate void OnControlChildAddDelegate(View child);
- /// <since_tizen> 3 </since_tizen>
- public delegate void OnControlChildRemoveDelegate(View child);
- /// <since_tizen> 3 </since_tizen>
public delegate void OnStyleChangeDelegate(StyleManager styleManager, StyleChangeType change);
/// <since_tizen> 3 </since_tizen>
public delegate bool OnAccessibilityActivatedDelegate();
public new RelayoutDependentOnChildrenDelegate RelayoutDependentOnChildren;
public new OnCalculateRelayoutSizeDelegate OnCalculateRelayoutSize;
public new OnLayoutNegotiatedDelegate OnLayoutNegotiated;
- public new OnControlChildAddDelegate OnControlChildAdd;
- public new OnControlChildRemoveDelegate OnControlChildRemove;
public new OnStyleChangeDelegate OnStyleChange;
public new OnAccessibilityActivatedDelegate OnAccessibilityActivated;
public new OnAccessibilityPanDelegate OnAccessibilityPan;
Delegate19 = new DelegateViewWrapperImpl_19(DirectorOnCalculateRelayoutSize);
Delegate20 = new DelegateViewWrapperImpl_20(DirectorOnLayoutNegotiated);
Delegate21 = new DelegateViewWrapperImpl_21(DirectorOnInitialize);
- Delegate22 = new DelegateViewWrapperImpl_22(DirectorOnControlChildAdd);
- Delegate23 = new DelegateViewWrapperImpl_23(DirectorOnControlChildRemove);
Delegate24 = new DelegateViewWrapperImpl_24(DirectorOnStyleChange);
Delegate25 = new DelegateViewWrapperImpl_25(DirectorOnAccessibilityActivated);
Delegate26 = new DelegateViewWrapperImpl_26(DirectorOnAccessibilityPan);
{
}
- private void DirectorOnControlChildAdd(global::System.IntPtr child)
- {
- View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
- if (view)
- {
- if (null != OnControlChildAdd)
- {
- OnControlChildAdd(view);
- }
- }
- }
-
- private void DirectorOnControlChildRemove(global::System.IntPtr child)
- {
- View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
- if (view)
- {
- OnControlChildRemove(view);
- }
- }
-
private void DirectorOnStyleChange(global::System.IntPtr styleManager, int change)
{
if (OnStyleChange != null)
}
}
- public void Emit(bool arg)
+ public void Emit(Window window, bool focusIn)
{
- Interop.WindowFocusSignalType.WindowFocusSignalType_Emit(swigCPtr, arg);
+ Interop.WindowFocusSignalType.WindowFocusSignalType_Emit(swigCPtr, Window.getCPtr(window), focusIn);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
viewWrapperImpl.EmitFocusSignal(focusGained);
}
-
- private void OnControlChildAdd(View child)
- {
- }
-
- private void OnControlChildRemove(View child)
- {
- }
-
private void Initialize()
{
// Registering CustomView virtual functions to viewWrapperImpl delegates.
viewWrapperImpl.RelayoutDependentOnChildren = new ViewWrapperImpl.RelayoutDependentOnChildrenDelegate(RelayoutDependentOnChildren);
viewWrapperImpl.OnCalculateRelayoutSize = new ViewWrapperImpl.OnCalculateRelayoutSizeDelegate(OnCalculateRelayoutSize);
viewWrapperImpl.OnLayoutNegotiated = new ViewWrapperImpl.OnLayoutNegotiatedDelegate(OnLayoutNegotiated);
- viewWrapperImpl.OnControlChildAdd = new ViewWrapperImpl.OnControlChildAddDelegate(OnControlChildAdd);
- viewWrapperImpl.OnControlChildRemove = new ViewWrapperImpl.OnControlChildRemoveDelegate(OnControlChildRemove);
viewWrapperImpl.OnStyleChange = new ViewWrapperImpl.OnStyleChangeDelegate(OnStyleChange);
viewWrapperImpl.OnAccessibilityActivated = new ViewWrapperImpl.OnAccessibilityActivatedDelegate(OnAccessibilityActivated);
viewWrapperImpl.OnAccessibilityPan = new ViewWrapperImpl.OnAccessibilityPanDelegate(OnAccessibilityPan);
internal new class Property
{
- internal static readonly int RENDERING_BACKEND = Interop.TextEditor.TextEditor_Property_RENDERING_BACKEND_get();
internal static readonly int TEXT = Interop.TextEditor.TextEditor_Property_TEXT_get();
internal static readonly int TEXT_COLOR = Interop.TextEditor.TextEditor_Property_TEXT_COLOR_get();
internal static readonly int FONT_FAMILY = Interop.TextEditor.TextEditor_Property_FONT_FAMILY_get();
internal new class Property
{
- internal static readonly int RENDERING_BACKEND = Interop.TextField.TextField_Property_RENDERING_BACKEND_get();
internal static readonly int TEXT = Interop.TextField.TextField_Property_TEXT_get();
internal static readonly int PLACEHOLDER_TEXT = Interop.TextField.TextField_Property_PLACEHOLDER_TEXT_get();
internal static readonly int PLACEHOLDER_TEXT_FOCUSED = Interop.TextField.TextField_Property_PLACEHOLDER_TEXT_FOCUSED_get();
internal new class Property
{
- internal static readonly int RENDERING_BACKEND = Interop.TextLabel.TextLabel_Property_RENDERING_BACKEND_get();
internal static readonly int TEXT = Interop.TextLabel.TextLabel_Property_TEXT_get();
internal static readonly int FONT_FAMILY = Interop.TextLabel.TextLabel_Property_FONT_FAMILY_get();
internal static readonly int FONT_STYLE = Interop.TextLabel.TextLabel_Property_FONT_STYLE_get();
internal new class Property
{
- internal static readonly int UNSELECTED_ICON = Interop.PushButton.PushButton_Property_UNSELECTED_ICON_get();
- internal static readonly int SELECTED_ICON = Interop.PushButton.PushButton_Property_SELECTED_ICON_get();
- internal static readonly int ICON_ALIGNMENT = Interop.PushButton.PushButton_Property_ICON_ALIGNMENT_get();
internal static readonly int LABEL_PADDING = Interop.PushButton.PushButton_Property_LABEL_PADDING_get();
internal static readonly int ICON_PADDING = Interop.PushButton.PushButton_Property_ICON_PADDING_get();
}
}
/// <summary>
- /// Enumeration for opacity of the indicator.
- /// </summary>
- internal enum IndicatorBackgroundOpacity
- {
- Opaque = 100,
- Translucent = 50,
- Transparent = 0
- }
-
- /// <summary>
- /// Enumeration for visible mode of the indicator.
- /// </summary>
- internal enum IndicatorVisibleMode
- {
- Invisible = 0,
- Visible = 1,
- Auto = 2
- }
-
- /// <summary>
/// The stage instance property (read-only).<br />
/// Gets the current window.<br />
/// </summary>
return ret;
}
- internal void ShowIndicator(Window.IndicatorVisibleMode visibleMode)
- {
- Interop.WindowInternal.Window_ShowIndicator(swigCPtr, (int)visibleMode);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal void SetIndicatorBackgroundOpacity(Window.IndicatorBackgroundOpacity opacity)
- {
- Interop.WindowInternal.Window_SetIndicatorBgOpacity(swigCPtr, (int)opacity);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal void RotateIndicator(Window.WindowOrientation orientation)
- {
- Interop.WindowInternal.Window_RotateIndicator(swigCPtr, (int)orientation);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
/// <summary>
/// Adds an orientation to the list of available orientations.
/// </summary>