Exemplo n.º 1
0
 public override void Render()
 {
     if (disposing || !IsVisible())
     {
         return;
     }
     gradient.Render();
     Gorgon.CurrentRenderTarget.Rectangle(titleArea.X, titleArea.Y, titleArea.Width, titleArea.Height,
                                          Color.Black);
     base.Render();
     title.Render();
     if (closeButtonVisible)
     {
         closeButton.Render();
     }
 }
Exemplo n.º 2
0
        public override void Render() // Renders the main window
        {
            if (disposing || !IsVisible())
            {
                return;
            }
            gradient.Render();

            //TODO RenderTargetRectangle
            // CluwneLib.CurrentRenderTarget.Rectangle(titleArea.X, titleArea.Y, titleArea.Width, titleArea.Height, Color.Black);
            base.Render();
            title.Render();
            if (closeButtonVisible)
            {
                closeButton.Render();
            }
        }