Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="name"></param>
        /// <param name="width"></param>
        /// <param name="height"></param>
        /// <param name="colorDepth"></param>
        /// <param name="fullScreen"></param>
        /// <param name="left"></param>
        /// <param name="top"></param>
        /// <param name="depthBuffer"></param>
        /// <param name="vsync"></param>
        /// <param name="target"></param>
        /// <returns></returns>
        public override RenderWindow NewWindow(string name, int width, int height, int colorDepth, bool fullScreen, int left, int top, bool depthBuffer, bool vsync, object target)
        {
            SdlWindow window = new SdlWindow();

            window.Create(name, width, height, colorDepth, fullScreen, left, top, depthBuffer, vsync);
            return(window);
        }
 /// <summary>
 ///		
 /// </summary>
 /// <param name="name"></param>
 /// <param name="width"></param>
 /// <param name="height"></param>
 /// <param name="colorDepth"></param>
 /// <param name="fullScreen"></param>
 /// <param name="left"></param>
 /// <param name="top"></param>
 /// <param name="depthBuffer"></param>
 /// <param name="vsync"></param>
 /// <param name="target"></param>
 /// <returns></returns>
 public override RenderWindow NewWindow(string name, int width, int height, int colorDepth, bool fullScreen, int left, int top, bool depthBuffer, bool vsync, object target)
 {
     SdlWindow window = new SdlWindow();
     window.Create(name, width, height, colorDepth, fullScreen, left, top, depthBuffer, vsync);
     return window;
 }