Files
2025-09-29 00:52:08 +02:00

94 lines
7.2 KiB
XML
Executable File

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Stated Animation Tool" Width="270" SizeToContent="Height" ResizeMode="NoResize" Style="{DynamicResource WindowBase}" Icon="X:\gta5\tools\wildwest\script\3dsMax\UI\WW_banner_rsLogo.png">
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="X:\gta5\tools_ng\wildwest\script\3dsMax\UI\Resources\Base.xaml"></ResourceDictionary>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="7"></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<Frame Content="{StaticResource ToolHeader}"/>
<TabControl Grid.Row="3" BorderThickness="0,2,0,0" BorderBrush="{StaticResource BackgroundLightBrush}" Padding="0">
<TabItem Header="Manage" ToolTip="Controls for managing/editing Stated Animations that already exist." >
<StackPanel>
<GroupBox VerticalAlignment="Top" Header="Selected Stated Animation">
<StackPanel>
<ComboBox HorizontalContentAlignment="Center" x:Name="Combo_SelectedStatedAnim" ToolTip="Select the stated animation to edit." />
<Grid Height="4"></Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<Button Grid.Column="0" IsEnabled="False" ToolTip="Create a new Stated Animation.">Create</Button>
<Button Grid.Column="1" IsEnabled="False" ToolTip="Rename this Stated Animations.">Rename</Button>
</Grid>
<Button x:Name="Button_Create_Proxy" IsEnabled="False" ToolTip="Removes the current proxy and creates a new proxy for the currently selected stated anim group..">Make Proxy Object</Button>
</StackPanel>
</GroupBox>
<GroupBox VerticalAlignment="Top" Header="States">
<StackPanel Orientation="Vertical">
<Button IsEnabled="False" x:Name="Button_Remove_State" ToolTip="Remove the currently selected state">Remove State</Button>
<ListBox Visibility="Collapsed" BorderBrush="{StaticResource Black_40}" Background="{StaticResource White_90}" BorderThickness="1" Margin="0,4,0,4" Padding="0" x:Name="ListBox_GroupMembers" HorizontalContentAlignment="Stretch">
<ListBox.ItemTemplate>
<DataTemplate>
<Grid HorizontalAlignment="Stretch">
<TextBlock Text="{Binding Path=Name}" VerticalAlignment="Center"></TextBlock>
<ComboBox BorderBrush="{StaticResource Black_40}" Background="{StaticResource White_90}" SelectedValuePath="Content" HorizontalAlignment="Right" Width="80" SelectedValue="{Binding Path=State, Mode=TwoWay}" ToolTip="Click to change state">
<ComboBoxItem>Start</ComboBoxItem>
<ComboBoxItem>Animation</ComboBoxItem>
<ComboBoxItem>End</ComboBoxItem>
</ComboBox>
</Grid>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<Button IsEnabled="False" x:Name="Button_Add_State" ToolTip="Add new state to the currently selected stated animation.">Add State</Button>
<ComboBox x:Name="Combo_Add_State_Type" Grid.Column="1" SelectedIndex="0" SelectedValuePath="Content" ToolTip="Select the type of state to add.">
<ComboBoxItem>Animation</ComboBoxItem>
<ComboBoxItem>Mesh Start</ComboBoxItem>
<ComboBoxItem>IMAP Start</ComboBoxItem>
<ComboBoxItem>Mesh End</ComboBoxItem>
<ComboBoxItem>IMAP End</ComboBoxItem>
</ComboBox>
</StackPanel>
</GroupBox>
</StackPanel>
</TabItem>
<TabItem Header="Create" ToolTip="Controls for creating an exportable stated animation from WIP source animation.">
<StackPanel>
<GroupBox VerticalAlignment="Top" Header="Target Selection Set">
<StackPanel Orientation="Vertical">
<ComboBox HorizontalContentAlignment="Center" x:Name="Combo_Selected" ToolTip="Select target selection set. If it doesn't appear remember to prefix the selection set with 'DES_' and also include an object called '__ROOT__' (this will be the basis for the pivot of the resulting stated anim)" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="52"></ColumnDefinition>
<ColumnDefinition Width="40"></ColumnDefinition>
<ColumnDefinition Width="96"></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" HorizontalAlignment="Center">Objects:</Label>
<Label Grid.Column="1" HorizontalAlignment="Left" x:Name="Label_Count">N/A</Label>
<Label Grid.Column="2" HorizontalAlignment="Center">Estimated Time:</Label>
<Label Grid.Column="3" HorizontalAlignment="Left" x:Name="Label_EstimatedTime">N/A</Label>
</Grid>
<Button x:Name="Button_Create" IsEnabled="False" ToolTip="Create a stated anim from the selected selection set.">Create</Button>
<Grid Height="7"></Grid>
<Grid Height="22">
<ProgressBar x:Name="Progress_Create" ></ProgressBar>
<Label Foreground="{StaticResource DarkForegroundFontBrush}" x:Name="Label_Progress_Status" Padding="0" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></Label>
</Grid>
</StackPanel>
</GroupBox>
</StackPanel>
</TabItem>
</TabControl>
</Grid>
</Window>