aboutsummaryrefslogtreecommitdiff
path: root/V3/Widgets/IImageWidget.cs
diff options
context:
space:
mode:
Diffstat (limited to 'V3/Widgets/IImageWidget.cs')
-rw-r--r--V3/Widgets/IImageWidget.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/V3/Widgets/IImageWidget.cs b/V3/Widgets/IImageWidget.cs
new file mode 100644
index 0000000..5a5b368
--- /dev/null
+++ b/V3/Widgets/IImageWidget.cs
@@ -0,0 +1,15 @@
+using Microsoft.Xna.Framework.Graphics;
+
+namespace V3.Widgets
+{
+ /// <summary>
+ /// A widget that displays an image.
+ /// </summary>
+ public interface IImageWidget : IWidget
+ {
+ /// <summary>
+ /// The image to display.
+ /// </summary>
+ Texture2D Image { get; set; }
+ }
+}