/// <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); } }
public void DrawTextureViewer(IRenderContext context, Rectangle layout, TextureViewer textureViewer) { this.m_BasicSkin.DrawTextureViewer(context, layout, textureViewer); }