This commit is contained in:
Michele Scandura 2020-11-17 22:10:52 +00:00
parent 0a4b8ebeb2
commit e988f5c310
13 changed files with 135 additions and 72 deletions

View file

@ -1,4 +1,4 @@
/* Generated by MyraPad at 17/11/2020 15:10:52 */
/* Generated by MyraPad at 17/11/2020 22:10:31 */
using Myra.Graphics2D;
using Myra.Graphics2D.TextureAtlases;
using Myra.Graphics2D.UI;
@ -174,6 +174,51 @@ namespace Sledgemapper.UI
verticalSplitPane1.Widgets.Add(verticalStackPanel2);
verticalSplitPane1.Widgets.Add(verticalStackPanel3);
var label1 = new Label();
label1.Text = "Connection status:";
lblConnectionStatus = new Label();
lblConnectionStatus.Text = "Disconnected";
lblConnectionStatus.MinWidth = 100;
lblConnectionStatus.Id = "lblConnectionStatus";
var verticalSeparator1 = new VerticalSeparator();
var label2 = new Label();
label2.Text = "Username:";
lblUsername = new Label();
lblUsername.Text = "n/a";
lblUsername.MinWidth = 100;
lblUsername.Id = "lblUsername";
var verticalSeparator2 = new VerticalSeparator();
var label3 = new Label();
label3.Text = "Session name:";
lblSessionName = new Label();
lblSessionName.Text = "n/a";
lblSessionName.MinWidth = 100;
lblSessionName.Id = "lblSessionName";
var horizontalStackPanel1 = new HorizontalStackPanel();
horizontalStackPanel1.Spacing = 10;
horizontalStackPanel1.Proportions.Add(new Proportion
{
Type = Myra.Graphics2D.UI.ProportionType.Auto,
});
horizontalStackPanel1.Height = 25;
horizontalStackPanel1.Background = new SolidBrush("#333333FF");
horizontalStackPanel1.Widgets.Add(label1);
horizontalStackPanel1.Widgets.Add(lblConnectionStatus);
horizontalStackPanel1.Widgets.Add(verticalSeparator1);
horizontalStackPanel1.Widgets.Add(label2);
horizontalStackPanel1.Widgets.Add(lblUsername);
horizontalStackPanel1.Widgets.Add(verticalSeparator2);
horizontalStackPanel1.Widgets.Add(label3);
horizontalStackPanel1.Widgets.Add(lblSessionName);
Proportions.Add(new Proportion
{
@ -185,6 +230,7 @@ namespace Sledgemapper.UI
});
Widgets.Add(_mainMenu);
Widgets.Add(verticalSplitPane1);
Widgets.Add(horizontalStackPanel1);
}
@ -202,5 +248,8 @@ namespace Sledgemapper.UI
public Grid GridTiles;
public Grid GridWalls;
public Grid GridOverlays;
public Label lblConnectionStatus;
public Label lblUsername;
public Label lblSessionName;
}
}