1
0

ReplayMainMenuControl.xaml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <Control xmlns="https://spacestation14.io"
  2. xmlns:pllax="clr-namespace:Content.Client.Parallax;assembly=Content.Client"
  3. xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls;assembly=Content.Client"
  4. xmlns:style="clr-namespace:Content.Client.Stylesheets;assembly=Content.Client"
  5. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  6. <pllax:ParallaxControl />
  7. <LayoutContainer>
  8. <BoxContainer Name="VBox" Orientation="Vertical" StyleIdentifier="mainMenuVBox">
  9. <TextureRect Name="Logo" Stretch="KeepCentered" />
  10. <Label Name="Subtext" Access="Public" Text="{Loc 'replay-menu-subtext'}"/>
  11. <Button Name="LoadButton"
  12. Access="Public"
  13. Text="{Loc 'replay-menu-load'}"
  14. TextAlign="Center"
  15. StyleIdentifier="mainMenu"
  16. Disabled="True"/>
  17. <Button Name="SelectButton"
  18. Access="Public"
  19. Text="{Loc 'replay-menu-select'}"
  20. TextAlign="Center"
  21. StyleIdentifier="mainMenu"/>
  22. <Button Name="FolderButton"
  23. Access="Public"
  24. Text="{Loc 'replay-menu-open'}"
  25. TextAlign="Center"
  26. StyleIdentifier="mainMenu" />
  27. <Control MinSize="0 2" />
  28. <Button Name="OptionsButton"
  29. Access="Public"
  30. Text="{Loc 'main-menu-options-button'}"
  31. TextAlign="Center"
  32. StyleIdentifier="mainMenu" />
  33. <Button Name="QuitButton"
  34. Access="Public"
  35. Text="{Loc 'main-menu-quit-button'}"
  36. TextAlign="Center"
  37. StyleIdentifier="mainMenu" />
  38. </BoxContainer>
  39. <PanelContainer Name="InfoContainer"
  40. HorizontalAlignment="Center"
  41. VerticalAlignment="Center"
  42. Access="Public"
  43. Margin="16"
  44. MinSize="300 150">
  45. <BoxContainer Orientation="Vertical" Align="Begin" Margin="8">
  46. <Label Text="{Loc 'replay-info-title'}" Margin="4" HorizontalAlignment="Center"/>
  47. <controls:HLine Color="{x:Static style:StyleNano.NanoGold}" Thickness="4"/>
  48. <RichTextLabel Access="Public" Name="Info"/>
  49. </BoxContainer>
  50. </PanelContainer>
  51. </LayoutContainer>
  52. </Control>