Кнопка в лобби
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
<Control VerticalExpand="True" />
|
<Control VerticalExpand="True" />
|
||||||
|
|
||||||
<RichTextLabel Name="LabelName" Access="Public" HorizontalAlignment="Left"
|
<RichTextLabel Name="LabelName" Access="Public" HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Center" Margin="0 0 0 420" />
|
VerticalAlignment="Center" Margin="0 0 0 450" />
|
||||||
|
|
||||||
<!-- Left Bot Panel -->
|
<!-- Left Bot Panel -->
|
||||||
<BoxContainer Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Bottom">
|
<BoxContainer Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Bottom">
|
||||||
@@ -100,7 +100,13 @@
|
|||||||
Name="AHelpButton"
|
Name="AHelpButton"
|
||||||
Access="Public"
|
Access="Public"
|
||||||
ButtonText="AHelp"
|
ButtonText="AHelp"
|
||||||
Margin="0 7 0 8" />
|
Margin="0 7 0 7" />
|
||||||
|
|
||||||
|
<buttons:OhioLobbyTextButton
|
||||||
|
Name="ChangelogWD"
|
||||||
|
Access="Public"
|
||||||
|
ButtonText="Изменения"
|
||||||
|
Margin="0 7 0 7" />
|
||||||
|
|
||||||
<buttons:OhioLobbyTextButton
|
<buttons:OhioLobbyTextButton
|
||||||
Name="DiscordButton"
|
Name="DiscordButton"
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ namespace Content.Client.Lobby.UI
|
|||||||
|
|
||||||
OptionsButton.OnPressed += _ => _userInterfaceManager.GetUIController<OptionsUIController>().ToggleWindow();
|
OptionsButton.OnPressed += _ => _userInterfaceManager.GetUIController<OptionsUIController>().ToggleWindow();
|
||||||
DiscordButton.OnPressed += _ => _stalinManager.RequestUri();
|
DiscordButton.OnPressed += _ => _stalinManager.RequestUri();
|
||||||
|
ChangelogWD.OnPressed += _ => _userInterfaceManager.GetUIController<ChangelogUIController>().ToggleWindow();
|
||||||
QuitButton.OnPressed += _ => _consoleHost.ExecuteCommand("disconnect");
|
QuitButton.OnPressed += _ => _consoleHost.ExecuteCommand("disconnect");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user