funziona
This commit is contained in:
parent
0a4b8ebeb2
commit
e988f5c310
13 changed files with 135 additions and 72 deletions
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -59,5 +59,18 @@
|
|||
</ScrollViewer>
|
||||
</VerticalStackPanel>
|
||||
</VerticalSplitPane>
|
||||
<HorizontalStackPanel Spacing="10" Height="25" Background="#333333FF">
|
||||
<HorizontalStackPanel.Proportions>
|
||||
<Proportion Type="Auto" />
|
||||
</HorizontalStackPanel.Proportions>
|
||||
<Label Text="Connection status:" />
|
||||
<Label Text="Disconnected" MinWidth="100" Id="lblConnectionStatus" />
|
||||
<VerticalSeparator />
|
||||
<Label Text="Username:" />
|
||||
<Label Text="n/a" MinWidth="100" Id="lblUsername" />
|
||||
<VerticalSeparator />
|
||||
<Label Text="Session name:" />
|
||||
<Label Text="n/a" MinWidth="100" Id="lblSessionName" />
|
||||
</HorizontalStackPanel>
|
||||
</VerticalStackPanel>
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue