상속: IContainer
예제 #1
0
        /// <summary>
        /// The draw texture viewer.
        /// </summary>
        /// <param name="context">
        /// The context.
        /// </param>
        /// <param name="layout">
        /// The layout.
        /// </param>
        /// <param name="textureViewer">
        /// The texture viewer.
        /// </param>
        public void DrawTextureViewer(IRenderContext context, Rectangle layout, TextureViewer textureViewer)
        {
            this.DrawSunken(context, layout);

            if (textureViewer.Texture != null && textureViewer.Texture.PlatformData != null)
            {
                this.m_RenderUtilities.RenderTexture(context, new Vector2(layout.X, layout.Y), textureViewer.Texture);
            }
        }
예제 #2
0
        /// <summary>
        /// The draw texture viewer.
        /// </summary>
        /// <param name="context">
        /// The context.
        /// </param>
        /// <param name="layout">
        /// The layout.
        /// </param>
        /// <param name="textureViewer">
        /// The texture viewer.
        /// </param>
        public void DrawTextureViewer(IRenderContext context, Rectangle layout, TextureViewer textureViewer)
        {
            this.DrawSunken(context, layout);

            if (textureViewer.Texture != null && textureViewer.Texture.PlatformData != null)
            {
                this.m_RenderUtilities.RenderTexture(context, new Vector2(layout.X, layout.Y), textureViewer.Texture);
            }
        }
예제 #3
0
 public void DrawTextureViewer(IRenderContext context, Rectangle layout, TextureViewer textureViewer)
 {
     this.m_BasicSkin.DrawTextureViewer(context, layout, textureViewer);
 }