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 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();
     }
 }