InstrumentMenu.xaml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <DefaultWindow xmlns="https://spacestation14.io"
  2. xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client">
  3. <BoxContainer Orientation="Vertical" SeparationOverride="5">
  4. <BoxContainer Orientation="Horizontal" VerticalExpand="True">
  5. <Button Name="InputButton" ToggleMode="True" Text="{Loc 'instruments-component-menu-input-button'}" TextAlign="Center"
  6. HorizontalExpand="True" SizeFlagsStretchRatio="1" />
  7. <Control HorizontalExpand="True" SizeFlagsStretchRatio="0.5" />
  8. <Button Name="BandButton" Text="{Loc 'instruments-component-menu-band-button'}" TextAlign="Center" HorizontalExpand="True"
  9. SizeFlagsStretchRatio="1"/>
  10. <Control HorizontalExpand="True" SizeFlagsStretchRatio="0.5" />
  11. <Button Name="FileButton" Text="{Loc 'instruments-component-menu-play-button'}" TextAlign="Center" HorizontalExpand="True"
  12. SizeFlagsStretchRatio="1" />
  13. </BoxContainer>
  14. <BoxContainer Orientation="Horizontal" VerticalExpand="True">
  15. <Button Name="LoopButton" ToggleMode="True" Text="{Loc 'instruments-component-menu-loop-button'}" TextAlign="Center" HorizontalExpand="True"
  16. SizeFlagsStretchRatio="1" />
  17. <Control HorizontalExpand="True" SizeFlagsStretchRatio="0.5" />
  18. <Button Name="ChannelsButton" Text="{Loc 'instruments-component-menu-channels-button'}" TextAlign="Center" HorizontalExpand="True"
  19. SizeFlagsStretchRatio="1"/>
  20. <Control HorizontalExpand="True" SizeFlagsStretchRatio="0.5" />
  21. <Button Name="StopButton" Text="{Loc 'instruments-component-menu-stop-button'}" TextAlign="Center" HorizontalExpand="True"
  22. SizeFlagsStretchRatio="1" />
  23. </BoxContainer>
  24. <BoxContainer Orientation="Horizontal" VerticalExpand="True">
  25. <Control HorizontalExpand="True" SizeFlagsStretchRatio="0.125" />
  26. <Slider Name="PlaybackSlider" HorizontalExpand="True" />
  27. <Control HorizontalExpand="True" SizeFlagsStretchRatio="0.125" />
  28. </BoxContainer>
  29. </BoxContainer>
  30. <PanelContainer Name="UnavailableOverlay" Visible="False" MouseFilter="Stop">
  31. <PanelContainer.PanelOverride>
  32. <gfx:StyleBoxFlat BackgroundColor="#000000E5" />
  33. </PanelContainer.PanelOverride>
  34. <Label VerticalAlignment="Center" HorizontalAlignment="Center" Align="Center"
  35. StyleClasses="LabelBig"
  36. Text="{Loc instruments-component-menu-no-midi-support}" />
  37. </PanelContainer>
  38. </DefaultWindow>