MainMenuControl.xaml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <Control xmlns="https://spacestation14.io"
  2. xmlns:pllax="clr-namespace:Content.Client.Parallax"
  3. xmlns:clog="clr-namespace:Content.Client.Changelog">
  4. <pllax:ParallaxControl />
  5. <BoxContainer Name="VBox"
  6. Orientation="Vertical"
  7. HorizontalAlignment="Center"
  8. VerticalAlignment="Center"
  9. HorizontalExpand="True"
  10. VerticalExpand="True"
  11. StyleIdentifier="mainMenuVBox"
  12. SeparationOverride="3">
  13. <TextureRect Name="Logo"
  14. Stretch="KeepCentered"/>
  15. <GridContainer Columns="2">
  16. <Label Text="{Loc 'main-menu-username-label'}" />
  17. <LineEdit Name="UsernameBox"
  18. Access="Public"
  19. PlaceHolder="{Loc 'main-menu-username-text'}"
  20. HorizontalExpand="True" />
  21. <Label Text="{Loc 'main-menu-address-label'}"/>
  22. <LineEdit Name="AddressBox"
  23. Access="Public"
  24. Text="localhost"
  25. PlaceHolder="server address:port"
  26. HorizontalExpand="True" />
  27. </GridContainer>
  28. <Button Name="DirectConnectButton"
  29. Access="Public"
  30. Text="{Loc 'main-menu-direct-connect-button'}"
  31. TextAlign="Center"
  32. StyleIdentifier="mainMenu"/>
  33. <Button Name="OptionsButton"
  34. Access="Public"
  35. Text="{Loc 'main-menu-options-button'}"
  36. TextAlign="Center"
  37. StyleIdentifier="mainMenu"/>
  38. <Button Name="QuitButton"
  39. Access="Public"
  40. Text="{Loc 'main-menu-quit-button'}"
  41. TextAlign="Center"
  42. StyleIdentifier="mainMenu"/>
  43. <clog:ChangelogButton
  44. Name="ChangelogButton"
  45. Access="Public"/>
  46. </BoxContainer>
  47. </Control>