-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDynamicInputTextureEvents.cs
More file actions
28 lines (24 loc) · 1.04 KB
/
Copy pathDynamicInputTextureEvents.cs
File metadata and controls
28 lines (24 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
namespace DolphinDynamicInputTexture.Data
{
public static class DynamicInputTextureEvents
{
/// <summary>
/// Is triggered when an image is not found.
/// </summary>
/// <returns>true = image was reassigned</returns>
public static ImageNotExistAction ImageNotExist { get; set; }
public delegate bool ImageNotExistAction(Interfaces.IImage image, string details);
/// <summary>
/// Allows editing the terxtures during exporting.
/// </summary>
/// <param name="savepath">Path where the new texture should be saved</param>
/// <param name="dynamicinputtexture">texture that should be scaled</param>
/// <returns></returns>
public delegate bool ExternalScalingProcesses(string savepath, DynamicInputTexture dynamicinputtexture);
/// <summary>
/// Allows editing the DynamicInputTextures during exporting.
/// </summary>
public static ExternalScalingProcesses DynamicInputTextureExportProcessor { get; set; }
}
}