//------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.9
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Dali {
using System;
using System.Runtime.InteropServices;
public class StyleManager : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal StyleManager(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.StyleManager_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StyleManager obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~StyleManager() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
NDalicPINVOKE.delete_StyleManager(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
base.Dispose();
}
}
/**
* @brief Event arguments that passed via StyleChanged signal
*
*/
public class StyleChangedEventArgs : EventArgs
{
private StyleManager _styleManager;
private Dali.StyleChangeType _styleChange;
/**
* @brief StyleManager - is the StyleManager that informs applications of system theme change,
* and supports application theme change at runtime.
*
*/
public StyleManager StyleManager
{
get
{
return _styleManager;
}
set
{
_styleManager = value;
}
}
/**
* @brief StyleChange - contains Style change information (default font changed or
* default font size changed or theme has changed)
*
*/
public Dali.StyleChangeType StyleChange
{
get
{
return _styleChange;
}
set
{
_styleChange = value;
}
}
}
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate void StyleChangedCallbackDelegate(IntPtr styleManager, Dali.StyleChangeType styleChange);
private DaliEventHandler