Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
IElementRendererFactory.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 namespace SiliconStudio.Paradox.UI.Renderers
4 {
5  /// <summary>
6  /// A factory that can create <see cref="ElementRenderer"/>s.
7  /// </summary>
8  public interface IElementRendererFactory
9  {
10  /// <summary>
11  /// Try to create a renderer for the specified element.
12  /// </summary>
13  /// <param name="element">The element to render</param>
14  /// <returns>An instance of renderer that can render it.</returns>
15  ElementRenderer TryCreateRenderer(UIElement element);
16  }
17 }
Provides a base class for all the User Interface elements in Paradox applications.
Definition: UIElement.cs:21
Base class for UI element renderers