Esempio n. 1
0
        public Scrollbar CreateScrollbar(string type, string name)
        {
            IntPtr    cPtr = CeguiBindingsPINVOKE.WindowManager_CreateScrollbar(swigCPtr, new CeguiDotNet.String(type).HandleRef, new CeguiDotNet.String(name).HandleRef);
            Scrollbar ret  = (cPtr == IntPtr.Zero) ? null : new Scrollbar(cPtr, false);

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