Files
RobustToolbox/Robust.Client/UserInterface/DevWindow/DevWindowTabRenderTargets.xaml
T
PJB3005 60d26be139 Add devwindow tab listing render targets
Copy TableContainer from content into engine. It's internal though.

Add various stuff to Clyde to allow the UI to access it. Includes a new IClydeInternal.RenderNow() which seems to not completely explode in my face.
2025-09-13 01:21:22 +02:00

27 lines
1.5 KiB
XML

<Control xmlns="https://spacestation14.io"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Robust.Client.UserInterface.DevWindowTabRenderTargets">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Button Text="{Loc 'dev-window-tab-render-targets-reload'}" Name="ReloadButton" />
</BoxContainer>
<LineEdit Name="FilterEdit" PlaceHolder="{Loc 'dev-window-tab-render-targets-filter'}" />
<ScrollContainer VerticalExpand="True" VScrollEnabled="True" HScrollEnabled="False">
<BoxContainer Orientation="Vertical">
<TableContainer Name="Table" Margin="2" Columns="6">
<Label Margin="4" Text="{Loc 'dev-window-tab-render-targets-column-id'}" />
<Label Margin="4" Text="{Loc 'dev-window-tab-render-targets-column-name'}" />
<Label Margin="4" Text="{Loc 'dev-window-tab-render-targets-column-size'}" />
<Label Margin="4" Text="{Loc 'dev-window-tab-render-targets-column-type'}" />
<Label Margin="4" Text="{Loc 'dev-window-tab-render-targets-column-vram'}" />
<Label Margin="4" Text="{Loc 'dev-window-tab-render-targets-column-thumbnail'}" />
</TableContainer>
</BoxContainer>
</ScrollContainer>
<BoxContainer Orientation="Horizontal">
<Label Name="TotalLabel" Margin="4" />
</BoxContainer>
</BoxContainer>
</Control>