SurveillanceCameraMonitorWindow.xaml 1.5 KB

12345678910111213141516171819202122232425
  1. <DefaultWindow xmlns="https://spacestation14.io"
  2. xmlns:viewport="clr-namespace:Content.Client.Viewport"
  3. Title="{Loc 'surveillance-camera-monitor-ui-window'}">
  4. <BoxContainer Orientation="Horizontal">
  5. <BoxContainer Orientation="Vertical" MinWidth="350" VerticalExpand="True">
  6. <!-- lazy -->
  7. <OptionButton Name="SubnetSelector" />
  8. <Button Name="SubnetRefreshButton" Text="{Loc 'surveillance-camera-monitor-ui-refresh-subnets'}" />
  9. <ScrollContainer VerticalExpand="True">
  10. <ItemList Name="SubnetList" />
  11. </ScrollContainer>
  12. <Button Name="CameraRefreshButton" Text="{Loc 'surveillance-camera-monitor-ui-refresh-cameras'}" />
  13. <Button Name="CameraDisconnectButton" Text="{Loc 'surveillance-camera-monitor-ui-disconnect'}" />
  14. <Label Name="CameraStatus" />
  15. </BoxContainer>
  16. <Control VerticalExpand="True" HorizontalExpand="True" Margin="5 5 5 5" Name="CameraViewBox">
  17. <viewport:ScalingViewport Name="CameraView"
  18. VerticalExpand="True"
  19. HorizontalExpand="True"
  20. MinSize="500 500"
  21. MouseFilter="Ignore" />
  22. <TextureRect VerticalExpand="True" HorizontalExpand="True" MinSize="500 500" Name="CameraViewBackground" />
  23. </Control>
  24. </BoxContainer>
  25. </DefaultWindow>