public DialogWindow(string title, GraphicResources graphicsResources) : base(title, graphicsResources) { _titleLabel = new Label(graphicsResources.SpriteBatch, graphicsResources.Font(FontSize.Normal), title); _textLabel = new AdvancedLabel(graphicsResources.SpriteBatch, graphicsResources.Font(FontSize.Normal)); Selected += This_Selected; }
public ListMenu(string title, GraphicResources graphicResources, FontSize fontSize) : base(title, graphicResources) { _titleLabel = new Label(graphicResources.SpriteBatch, graphicResources.Font(fontSize), title); }
public LabelBox(GraphicResources graphicResources, FontSize fontSize = FontSize.Normal) : base(graphicResources) { _label = new Label(graphicResources.SpriteBatch, graphicResources.Font(fontSize)); }