return instance;
}
- public static Application NewApplication(string stylesheet, NUIApplication.WindowMode windowMode, Rectangle positionSize, WindowType type)
+ public static Application NewApplication(string stylesheet, NUIApplication.WindowMode windowMode, WindowType type)
{
if (instance)
{
return instance;
}
- Application ret = New(1, stylesheet, windowMode, positionSize, type);
+ Application ret = New(1, stylesheet, windowMode, type);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
instance = ret;
return ret;
}
- public static Application New(int argc, string stylesheet, NUIApplication.WindowMode windowMode, Rectangle positionSize, WindowType type)
+ public static Application New(int argc, string stylesheet, NUIApplication.WindowMode windowMode, WindowType type)
{
- Application ret = new Application(Interop.Application.New(argc, stylesheet, (int)windowMode, Rectangle.getCPtr(positionSize), (int)type), true);
+ // It will be removed until dali APIs are prepared.
+ Rectangle initRectangle = new Rectangle(0, 0, 0, 0);
+
+ Application ret = new Application(Interop.Application.New(argc, stylesheet, (int)windowMode, Rectangle.getCPtr(initRectangle), (int)type), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
/// This will be hidden as inhouse API. Because it is only for internal IME window.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public NUICoreBackend(string stylesheet, NUIApplication.WindowMode windowMode, Size2D windowSize, Position2D windowPosition, WindowType type)
+ public NUICoreBackend(string stylesheet, NUIApplication.WindowMode windowMode, WindowType type)
{
this.stylesheet = stylesheet;
this.windowMode = windowMode;
- if (windowSize != null && windowPosition != null)
- {
- this.windowRectangle = new Rectangle(windowPosition.X, windowPosition.Y, windowSize.Width, windowSize.Height);
- }
this.defaultWindowType = type;
}
if(defaultWindowType != WindowType.Normal)
{
- application = Application.NewApplication(stylesheet, windowMode, windowRectangle, defaultWindowType);
+ application = Application.NewApplication(stylesheet, windowMode, defaultWindowType);
}
else
{
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_GetNativeId")]
public static extern int GetNativeId(global::System.Runtime.InteropServices.HandleRef jarg1);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_SetPositionSizeWithOrientation")]
- public static extern void SetPositionSizeWithOrientation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3);
-
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_EnableFloatingMode")]
public static extern void EnableFloatingMode(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);