X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FPixelData.cs;h=34572915b94b0c42d60de8d3a79eabf5a9ea37a9;hp=40fe2f191215771f6e08796eba168d51b2696af0;hb=318378db7fbb0bcfb08c3c603f54857d6f5c9639;hpb=6fa08daf440e496896babb230e404aae7e77a5bb diff --git a/plugins/dali-sharp/sharp/internal/PixelData.cs b/plugins/dali-sharp/sharp/internal/PixelData.cs index 40fe2f1..3457291 100644 --- a/plugins/dali-sharp/sharp/internal/PixelData.cs +++ b/plugins/dali-sharp/sharp/internal/PixelData.cs @@ -26,7 +26,7 @@ namespace Dali { -public class PixelData : BaseHandle { +internal class PixelData : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; internal PixelData(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PixelData_SWIGUpcast(cPtr), cMemoryOwn) { @@ -42,7 +42,7 @@ public class PixelData : BaseHandle { } public override void Dispose() { - if (!Stage.IsInstalled()) { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -65,15 +65,6 @@ public class PixelData : BaseHandle { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public PixelData(PixelData handle) : this(NDalicPINVOKE.new_PixelData__SWIG_1(PixelData.getCPtr(handle)), true) { - if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); - } - - public PixelData Assign(PixelData rhs) { - PixelData ret = new PixelData(NDalicPINVOKE.PixelData_Assign(swigCPtr, PixelData.getCPtr(rhs)), false); - if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } public uint GetWidth() { uint ret = NDalicPINVOKE.PixelData_GetWidth(swigCPtr);