mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-16 21:17:39 +03:00
* - tweak: update StyleSheetify * - add: flexbox * - fix: size of flexbox in launchergui * - tweak: Profile editor: start. * - add: categories * - tweak: help me please with this shi... loadouts * - fix: container path think * - tweak: thinks for optimisation * - add: group selection for loadoutpicker * - tweak: change position of preview * - add: reason text * - fix: Кролькины фиксы * - fix: кролькины фиксы ч.2 * - fix: кролькины фиксы ч.3 * - кролькины фиксы - финал * - fix: Ворчливого дедушкины фиксы, удаление старого барахла и пометка wwdp * - tweak: some ui change for LoadoutCategories and LoadoutEntry * - ворчливый дед фиксы ч.2 * - fix: очередные кролькины фиксы * - add: loadout prototype validation * - fix: description read from edit field
137 lines
9.6 KiB
XML
137 lines
9.6 KiB
XML
<!-- White Dream Lobby -->
|
|
<lobbyUi:LobbyGui
|
|
xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:maths="clr-namespace:Robust.Shared.Maths;assembly=Robust.Shared.Maths"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
|
xmlns:lobbyUi="clr-namespace:Content.Client.Lobby.UI"
|
|
xmlns:info="clr-namespace:Content.Client.Info"
|
|
xmlns:widgets="clr-namespace:Content.Client.UserInterface.Systems.Chat.Widgets"
|
|
xmlns:wdcontrols="clr-namespace:Content.Client._White.UserInterface.Controls"
|
|
xmlns:animatedBackground="clr-namespace:Content.Client._White.UserInterface.AnimatedBackground"
|
|
xmlns:buttons="clr-namespace:Content.Client._White.UserInterface.Buttons">
|
|
<!-- Background -->
|
|
<animatedBackground:AnimatedBackgroundControl Access="Public" Name="Background" VerticalExpand="True" HorizontalExpand="True"/>
|
|
<BoxContainer Name="MainContainer" VerticalExpand="True" HorizontalExpand="True" Orientation="Horizontal"
|
|
Margin="10 10 10 10" SeparationOverride="2">
|
|
<SplitContainer State="Auto" ResizeMode="NotResizable" HorizontalExpand="True">
|
|
<!-- LHS Controls -->
|
|
<BoxContainer Name="LeftSide" Orientation="Vertical" SeparationOverride="4" HorizontalExpand="True">
|
|
<Control Name="DefaultState" VerticalExpand="True">
|
|
<!-- Character Setup State -->
|
|
<Control Access="Public" Visible="False" Name="CharacterSetupState" VerticalExpand="True" />
|
|
<!-- Vote Container -->
|
|
<BoxContainer Orientation="Vertical" SeparationOverride="4" Name="VoteContainer" Access="Public"
|
|
HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0 8" />
|
|
<!-- Vertical Padding -->
|
|
<Control VerticalExpand="True" />
|
|
<RichTextLabel Name="LabelName" Access="Public" HorizontalAlignment="Left"
|
|
VerticalAlignment="Center" Margin="20 0 0 420" />
|
|
<!-- Left Bot Panel -->
|
|
<PanelContainer Name="BottomLeftPanel" HorizontalAlignment="Left" VerticalAlignment="Bottom">
|
|
<BoxContainer Orientation="Vertical" SeparationOverride="4" Margin="2"> <!-- wwdp edit start -->
|
|
<BoxContainer Orientation="Horizontal" SeparationOverride="4" Margin="6,8,6,8">
|
|
<wdcontrols:CvarToggleableBoxContainer CVar="white.funny_features_enabled" Flip="True">
|
|
<buttons:ViewPremiumInfoButton StyleClasses="NovaButton" SetSize="154 64">
|
|
<TextureRect TextureScale="1 1" TexturePath="/Textures/_White/sneed.png" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
</buttons:ViewPremiumInfoButton>
|
|
</wdcontrols:CvarToggleableBoxContainer>
|
|
<wdcontrols:CvarToggleableBoxContainer CVar="white.funny_features_enabled">
|
|
<buttons:CustomGhostsMenuOpenButton StyleClasses="NovaButton" SetSize="77 66">
|
|
<TextureRect TextureScale="2 2" TexturePath="/Textures/_White/Ghosts/buttonicon.png" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
</buttons:CustomGhostsMenuOpenButton>
|
|
</wdcontrols:CvarToggleableBoxContainer>
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" SeparationOverride="4" Margin="2">
|
|
<info:DevInfoBanner Name="DevInfoBanner" VerticalExpand="false" Margin="6,8,6,8" />
|
|
<PanelContainer StyleClasses="ChatPanel">
|
|
<BoxContainer Orientation="Vertical">
|
|
<RichTextLabel Name="LobbySong" Access="Public" HorizontalAlignment="Center" />
|
|
<RichTextLabel Name="LobbyBackground" Access="Public" HorizontalAlignment="Center" />
|
|
</BoxContainer>
|
|
</PanelContainer>
|
|
</BoxContainer>
|
|
</BoxContainer> <!-- wwdp edit end -->
|
|
</PanelContainer>
|
|
<!-- Left Panel -->
|
|
<PanelContainer HorizontalAlignment="Left" Name="Center" VerticalAlignment="Center">
|
|
<BoxContainer Orientation="Vertical" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" Margin="40 0 0 150">
|
|
<buttons:WhiteLobbyTextButton
|
|
Name="ReadyButton"
|
|
Access="Public"
|
|
ToggleMode="True"
|
|
ButtonText="{Loc 'lobby-state-player-status-not-ready'}"
|
|
Margin="0 50 0 10" />
|
|
<buttons:WhiteUICommandButton
|
|
Name="ObserveButton"
|
|
WindowType="{x:Type lobbyUi:ObserveWarningWindow}"
|
|
Access="Public"
|
|
ButtonText="{Loc 'ui-lobby-observe-button'}"
|
|
Margin="0 10 0 10" />
|
|
<buttons:WhiteLobbyTextButton
|
|
Name="CharacterSetupButton"
|
|
Access="Public"
|
|
ButtonText="{Loc 'lobby-character-preview-panel-character-setup-button'}"
|
|
Margin="0 10 0 10" />
|
|
<buttons:WhiteLobbyTextButton
|
|
Name="ManifestButton"
|
|
Access="Public"
|
|
ButtonText="{Loc 'ui-lobby-manifest-button'}"
|
|
Margin="0 10 0 10" />
|
|
<buttons:WhiteLobbyTextButton
|
|
Name="OptionsButton"
|
|
Access="Public"
|
|
ButtonText="{Loc 'ui-lobby-options-button'}"
|
|
Margin="0 10 0 10" />
|
|
<buttons:WhiteLobbyTextButton
|
|
Name="AHelpButton"
|
|
Access="Public"
|
|
ButtonText="{Loc 'ui-lobby-ahelp-button'}"
|
|
Margin="0 10 0 10" />
|
|
<buttons:WhiteLobbyTextButton
|
|
Name="ChangelogButton"
|
|
Access="Public"
|
|
ButtonText="{Loc 'ui-lobby-changelog-button'}"
|
|
Margin="0 10 0 10" />
|
|
<buttons:WhiteLobbyTextButton
|
|
Name="QuitButton"
|
|
Access="Public"
|
|
ButtonText="{Loc 'ui-lobby-leave-button'}"
|
|
Margin="0 10 0 0" />
|
|
</BoxContainer>
|
|
</PanelContainer>
|
|
</Control>
|
|
</BoxContainer>
|
|
<!-- Right Panel -->
|
|
<PanelContainer Name="RightSide" Access="Public" StyleClasses="ChatMainPanel" HorizontalAlignment="Right" VerticalExpand="True"
|
|
VerticalAlignment="Stretch">
|
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
|
|
<!-- Top row -->
|
|
<Control Margin="0,3,0,0">
|
|
<PanelContainer StyleClasses="PaperBackground" Margin="5,10,5,5">
|
|
<BoxContainer Orientation="Horizontal">
|
|
<BoxContainer Orientation="Vertical" Margin="5,12,5,5">
|
|
<!-- Server info -->
|
|
<Label Text="{Loc 'ui-lobby-server-info-block'}" StyleClasses="MenuLabel15" Align="Center"/>
|
|
<info:ServerInfo Name="ServerInfo" Access="Public" MinSize="0 100" VerticalExpand="false"
|
|
Margin="3 3 3 3" MaxWidth="400" HorizontalAlignment="Left"/>
|
|
<Label Name="StationTime" Access="Public" FontColorOverride="{x:Static maths:Color.MediumVioletRed}"
|
|
Margin="3 3 3 3" HorizontalAlignment="Left" StyleClasses="MenuLabel15"/>
|
|
<Label Name="StartTime" Access="Public" FontColorOverride="{x:Static maths:Color.MediumVioletRed}"
|
|
Margin="3 3 3 3" StyleClasses="MenuLabel15" HorizontalExpand="True" />
|
|
</BoxContainer>
|
|
<controls:VSpacer Spacing="10"/>
|
|
<lobbyUi:LobbyCharacterPreviewPanel Name="CharacterPreview" Access="Public" />
|
|
</BoxContainer>
|
|
</PanelContainer>
|
|
<TextureRect TextureScale="2 2" TexturePath="/Textures/_White/NovaUI/Details/screpka.png" HorizontalAlignment="Right" Margin="0,0,20,0"/>
|
|
</Control>
|
|
<controls:HSpacer Spacing="10" />
|
|
<widgets:ChatBox Name="Chat" Access="Public" VerticalExpand="True" Margin="3 3 3 3" MinHeight="50" />
|
|
</BoxContainer>
|
|
</PanelContainer>
|
|
</SplitContainer>
|
|
</BoxContainer>
|
|
</lobbyUi:LobbyGui>
|