Пример #1
0
        public ProgressBar CreateProgressBar(string type, string name)
        {
            IntPtr      cPtr = CeguiBindingsPINVOKE.WindowManager_CreateProgressBar(swigCPtr, new CeguiDotNet.String(type).HandleRef, new CeguiDotNet.String(name).HandleRef);
            ProgressBar ret  = (cPtr == IntPtr.Zero) ? null : new ProgressBar(cPtr, false);

            if (CeguiBindingsPINVOKE.SWIGPendingException.Pending)
            {
                throw CeguiBindingsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }