aboutsummaryrefslogtreecommitdiff
path: root/V3/Widgets/IBasicWidgetFactory.cs
blob: dd0a28d7834a43cdbb5529788c5510c421a0ce16 (plain)
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
29
30
31
32
33
34
35
36
37
38
namespace V3.Widgets
{
    /// <summary>
    /// A widget factory that is automatically implemented by Ninject.
    /// </summary>
    public interface IBasicWidgetFactory
    {
        /// <summary>
        /// Creates a new button widget.
        /// </summary>
        /// <returns>a new button widget</returns>
        Button CreateButton();

        /// <summary>
        /// Creates a new empty widget.
        /// </summary>
        /// <returns>a new empty widget</returns>
        EmptyWidget CreateEmptyWidget();

        /// <summary>
        /// Creates a new select button widget.
        /// </summary>
        /// <returns>a new select button widget</returns>
        SelectButton CreateSelectButton();

        /// <summary>
        /// Creates a new label widget.
        /// </summary>
        /// <returns>a new label widget</returns>
        Label CreateLabel();

        /// <summary>
        /// Creates a new Achievement Box.
        /// </summary>
        /// <returns>a new achievement box widget.</returns>
        AchievementBox CreateAchievementBox();
    }
}