Contains changes from "gwen-dotnet" removing dependancies on Windows, which ultimately means certain features (e.g. file load/save dialogs) do not work. Those classes still exist, but the code has been commented out.
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
|
|
namespace Gwen.Renderer
|
|
{
|
|
public interface ICacheToTexture
|
|
{
|
|
void Initialize();
|
|
void ShutDown();
|
|
|
|
/// <summary>
|
|
/// Called to set the target up for rendering.
|
|
/// </summary>
|
|
/// <param name="control">Control to be rendered.</param>
|
|
void SetupCacheTexture(Control.Base control);
|
|
|
|
/// <summary>
|
|
/// Called when cached rendering is done.
|
|
/// </summary>
|
|
/// <param name="control">Control to be rendered.</param>
|
|
void FinishCacheTexture(Control.Base control);
|
|
|
|
/// <summary>
|
|
/// Called when gwen wants to draw the cached version of the control.
|
|
/// </summary>
|
|
/// <param name="control">Control to be rendered.</param>
|
|
void DrawCachedControlTexture(Control.Base control);
|
|
|
|
/// <summary>
|
|
/// Called to actually create a cached texture.
|
|
/// </summary>
|
|
/// <param name="control">Control to be rendered.</param>
|
|
void CreateControlCacheTexture(Control.Base control);
|
|
|
|
void UpdateControlCacheTexture(Control.Base control);
|
|
void SetRenderer(Base renderer);
|
|
}
|
|
}
|