Scene/source builder with image overlays, reuse dialog, and SQLite layout persistence

This commit is contained in:
2026-08-04 17:12:32 -07:00
parent d6ae048583
commit 7dc8490d96
24 changed files with 2375 additions and 170 deletions
+3 -31
View File
@@ -2,6 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Start Stream" Height="430" Width="520"
Icon="/Assets/llama-logo-icon.png"
WindowStartupLocation="CenterOwner" ResizeMode="NoResize"
ShowInTaskbar="False" Background="#1a1a2e">
@@ -62,8 +63,6 @@
<Grid Margin="24">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
@@ -73,35 +72,8 @@
<TextBlock Grid.Row="0" Text="Start Stream" FontSize="18" FontWeight="Bold"
Foreground="#e0e0e0" Margin="0,0,0,16"/>
<!-- ACCOUNT -->
<StackPanel Grid.Row="1" Margin="0,0,0,16">
<TextBlock Text="YOUTUBE ACCOUNT" FontSize="12" FontWeight="SemiBold"
Foreground="#a0a0b0" Margin="0,0,0,8"/>
<!-- Not signed in -->
<StackPanel Visibility="{Binding ShowSignIn, Converter={StaticResource BoolToVis}}">
<TextBlock Text="Sign in to connect your channel." Style="{StaticResource GoLiveLabel}"/>
<Button Content="Sign In" Command="{Binding SignInCommand}"
Style="{StaticResource GoLiveButtonSecondary}" HorizontalAlignment="Left"
Padding="20,8" Margin="0,4,0,0"/>
</StackPanel>
<!-- Signed in: saved account as default + change option -->
<StackPanel Visibility="{Binding ShowAccount, Converter={StaticResource BoolToVis}}">
<StackPanel Orientation="Horizontal" Margin="0,0,0,4">
<TextBlock Text="{Binding AccountName}" FontSize="14" FontWeight="SemiBold"
Foreground="#e0e0e0" VerticalAlignment="Center"/>
<TextBlock Text="(signed in)" Foreground="#7fb069" FontSize="12"
VerticalAlignment="Center" Margin="8,0,0,0"/>
</StackPanel>
<Button Content="Change Account" Command="{Binding ChangeAccountCommand}"
Style="{StaticResource GoLiveButtonSecondary}" HorizontalAlignment="Left"
Padding="16,6" Margin="0,4,0,0" FontSize="12"/>
</StackPanel>
</StackPanel>
<!-- STREAM METADATA -->
<StackPanel Grid.Row="2">
<StackPanel Grid.Row="1">
<TextBlock Text="STREAM DETAILS" FontSize="12" FontWeight="SemiBold"
Foreground="#a0a0b0" Margin="0,0,0,8"/>
@@ -121,7 +93,7 @@
</StackPanel>
<!-- ACTIONS -->
<StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Right">
<StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="Cancel" Command="{Binding CancelCommand}"
Style="{StaticResource GoLiveButtonSecondary}" Margin="0,0,8,0"/>
<Button Content="Start Stream" Command="{Binding StartCommand}"