Ejemplo n.º 1
0
 public Color4B(Color3B color)
     : this(CocoStudioEngineAdapterPINVOKE.new_Color4B__SWIG_2(Color3B.getCPtr(color)), true)
 {
     if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
     {
         throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public virtual void SetTextColor(System.Drawing.Color color)
 {
     CocoStudioEngineAdapterPINVOKE.CSButton_SetTextColor(this.swigCPtr, Color3B.getCPtr(new Color3B(color.R, color.G, color.B)));
     if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
     {
         throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
        public bool equals(Color3B other)
        {
            bool flag = CocoStudioEngineAdapterPINVOKE.Color3B_equals(this.swigCPtr, Color3B.getCPtr(other));

            if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
            {
                throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
            }
            return(flag);
        }
Ejemplo n.º 4
0
 public static HandleRef getCPtr(Color3B obj)
 {
     return(obj == null ? new HandleRef((object)null, IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 5
0
 public virtual void SetPlaceHolderTextColor(Color color)
 {
     CocoStudioEngineAdapterPINVOKE.CSTextField_SetPlaceHolderTextColor(this.swigCPtr, Color3B.getCPtr(new Color3B(color.R, color.G, color.B)));
     if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
     {
         throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
        public virtual Color GetPlaceHolderTextColor()
        {
            Color3B color3B = new Color3B(CocoStudioEngineAdapterPINVOKE.CSTextField_GetPlaceHolderTextColor(this.swigCPtr), true);

            return(Color.FromArgb((int)color3B.r, (int)color3B.g, (int)color3B.b));
        }
Ejemplo n.º 7
0
        public virtual Color GetColor()
        {
            Color3B color3B = new Color3B(CocoStudioEngineAdapterPINVOKE.CSTimelineColorFrame_GetColor(this.swigCPtr), true);

            return(Color.FromArgb((int)color3B.r, (int)color3B.g, (int)color3B.b));
        }
Ejemplo n.º 8
0
        public virtual System.Drawing.Color GetGroundLineEndColor()
        {
            Color3B color3B = new Color3B(CocoStudioEngineAdapterPINVOKE.CSPanel_GetGroundLineEndColor(this.swigCPtr), true);

            return(System.Drawing.Color.FromArgb((int)color3B.r, (int)color3B.g, (int)color3B.b));
        }