From ced3d03bdb3ce866d832e03fb212865140905a9a Mon Sep 17 00:00:00 2001 From: Thomas Leyh Date: Sun, 24 Jul 2016 08:14:18 +0200 Subject: Add project files. --- V3/Widgets/IBasicWidgetFactory.cs | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 V3/Widgets/IBasicWidgetFactory.cs (limited to 'V3/Widgets/IBasicWidgetFactory.cs') diff --git a/V3/Widgets/IBasicWidgetFactory.cs b/V3/Widgets/IBasicWidgetFactory.cs new file mode 100644 index 0000000..dd0a28d --- /dev/null +++ b/V3/Widgets/IBasicWidgetFactory.cs @@ -0,0 +1,38 @@ +namespace V3.Widgets +{ + /// + /// A widget factory that is automatically implemented by Ninject. + /// + public interface IBasicWidgetFactory + { + /// + /// Creates a new button widget. + /// + /// a new button widget + Button CreateButton(); + + /// + /// Creates a new empty widget. + /// + /// a new empty widget + EmptyWidget CreateEmptyWidget(); + + /// + /// Creates a new select button widget. + /// + /// a new select button widget + SelectButton CreateSelectButton(); + + /// + /// Creates a new label widget. + /// + /// a new label widget + Label CreateLabel(); + + /// + /// Creates a new Achievement Box. + /// + /// a new achievement box widget. + AchievementBox CreateAchievementBox(); + } +} -- cgit v1.2.1