Beispiel #1
0
 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;
 }
Beispiel #2
0
 public ListMenu(string title, GraphicResources graphicResources, FontSize fontSize)
     : base(title, graphicResources)
 {
     _titleLabel = new Label(graphicResources.SpriteBatch, graphicResources.Font(fontSize), title);
 }
Beispiel #3
0
 public LabelBox(GraphicResources graphicResources, FontSize fontSize = FontSize.Normal)
     : base(graphicResources)
 {
     _label = new Label(graphicResources.SpriteBatch, graphicResources.Font(fontSize));
 }