mirror of
https://git.tonybark.com/tonytins/CyberBits.git
synced 2026-06-28 04:03:37 -04:00
Swapped combo boxes for lists boxes
This commit is contained in:
parent
cf5866ef3f
commit
15cdb3f3d3
3 changed files with 72 additions and 30 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<TargetFramework>net10.0</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<RollForward>LatestMajor</RollForward>
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
|
||||||
|
|
@ -5,31 +5,62 @@ namespace CyberBits.ViewModels;
|
||||||
|
|
||||||
public partial class ViewModelBase : ObservableObject
|
public partial class ViewModelBase : ObservableObject
|
||||||
{
|
{
|
||||||
public ObservableCollection<string> Genitals { get; } = ["Cock", "Pussy"];
|
public ObservableCollection<string> GenitalsList { get; } = ["Cock", "Pussy"];
|
||||||
|
|
||||||
public ObservableCollection<string> Models { get; } =
|
public ObservableCollection<string> ModelsList { get; } =
|
||||||
[
|
[
|
||||||
"Au Natural",
|
"Au Natural",
|
||||||
"Les Americaines"
|
"Les Americaines",
|
||||||
|
"La Grand Chungus",
|
||||||
|
"Veini Vici",
|
||||||
|
"Das Banane",
|
||||||
|
"The Ace Custom"
|
||||||
];
|
];
|
||||||
|
|
||||||
public ObservableCollection<string> Styles { get; } =
|
public ObservableCollection<string> AestheticsList { get; } =
|
||||||
[
|
[
|
||||||
"Bioware",
|
"Bioware",
|
||||||
"Cyberware"
|
"Cyberware",
|
||||||
|
"Roboware",
|
||||||
|
"Holoware"
|
||||||
];
|
];
|
||||||
|
|
||||||
public ObservableCollection<string> Cyberware { get; } =
|
public ObservableCollection<string> CyberwareList { get; } =
|
||||||
[
|
[
|
||||||
"Piercings",
|
"Piercings",
|
||||||
"Datajack"
|
"Datajack",
|
||||||
|
"Censor Field",
|
||||||
|
"Laser Sight",
|
||||||
|
"AI-Controlled Booster Module",
|
||||||
|
"Second Bladder",
|
||||||
|
"Map Hack",
|
||||||
|
"Monowire Blade",
|
||||||
|
"Projectile Launcher"
|
||||||
|
];
|
||||||
|
|
||||||
|
public ObservableCollection<string> PubesList { get; } =
|
||||||
|
[
|
||||||
|
"The Baldie",
|
||||||
|
"The Peach",
|
||||||
|
"The Landing Strip",
|
||||||
|
"The Peek-a-Boo",
|
||||||
|
"The Rectangle",
|
||||||
|
"The Bar Code",
|
||||||
|
"The Heart",
|
||||||
|
"The Lighting Bolt",
|
||||||
|
"The Neat Triangle",
|
||||||
|
"The Forest",
|
||||||
|
"The Jungle",
|
||||||
|
"The Breath of the Wild"
|
||||||
];
|
];
|
||||||
|
|
||||||
[ObservableProperty] private string? _selectedBits;
|
[ObservableProperty] private string? _selectedBits;
|
||||||
|
|
||||||
[ObservableProperty] private string? _selectedModels;
|
[ObservableProperty] private string? _selectedModels;
|
||||||
|
|
||||||
[ObservableProperty] private string? _selectedStyles;
|
[ObservableProperty] private string? _selectedAesthetics;
|
||||||
|
|
||||||
[ObservableProperty] private string? _selectedCyberware;
|
[ObservableProperty] private string? _selectedCyberware;
|
||||||
|
|
||||||
|
[ObservableProperty] private string? _selectedPubes;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,35 +29,45 @@
|
||||||
<Image x:Name="BitsImage" Grid.Column="0" Source="avares://CyberBits/Assets/cock.jpg" />
|
<Image x:Name="BitsImage" Grid.Column="0" Source="avares://CyberBits/Assets/cock.jpg" />
|
||||||
<GridSplitter Grid.Column="1" ResizeDirection="Columns"/>
|
<GridSplitter Grid.Column="1" ResizeDirection="Columns"/>
|
||||||
<StackPanel Grid.Column="1">
|
<StackPanel Grid.Column="1">
|
||||||
|
<ComboBox ItemsSource="{Binding GenitalsList}"
|
||||||
|
SelectedItem="{Binding SelectedBits}"
|
||||||
|
PlaceholderText="Genitals"
|
||||||
|
Width="100"
|
||||||
|
HorizontalContentAlignment="Center"
|
||||||
|
SelectedValue="0"
|
||||||
|
x:Name="BitSelection"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
SelectionChanged="SelectedBitsControl_OnSelectionChanged"
|
||||||
|
Margin="5"/>
|
||||||
|
<Border Height="10" />
|
||||||
<Grid ColumnDefinitions="*,*">
|
<Grid ColumnDefinitions="*,*">
|
||||||
<GridSplitter ResizeDirection="Columns"/>
|
<GridSplitter ResizeDirection="Columns"/>
|
||||||
<StackPanel Grid.Column="0" >
|
<StackPanel Grid.Column="0" >
|
||||||
<TextBlock Margin="2" Text="Feat: Aim Piss" />
|
<TextBlock Text="Models" />
|
||||||
<Border Margin="3" />
|
<ListBox ItemsSource="{Binding ModelsList}"
|
||||||
<ComboBox ItemsSource="{Binding Genitals}"
|
|
||||||
SelectedItem="{Binding SelectedBits}"
|
|
||||||
PlaceholderText="Select your bits"
|
|
||||||
SelectedValue="0"
|
|
||||||
x:Name="BitSelection"
|
|
||||||
SelectionChanged="SelectedBitsControl_OnSelectionChanged"
|
|
||||||
Margin="5"/>
|
|
||||||
<ComboBox ItemsSource="{Binding Models}"
|
|
||||||
SelectedItem="{Binding SelectedModels}"
|
SelectedItem="{Binding SelectedModels}"
|
||||||
PlaceholderText="Select your model"
|
Margin="5"
|
||||||
Margin="5"/>
|
Height="110"/>
|
||||||
|
<Border Height="10" />
|
||||||
|
<TextBlock Text="Pubes" />
|
||||||
|
<ListBox ItemsSource="{Binding PubesList}"
|
||||||
|
SelectedItem="{Binding SelectedPubes}"
|
||||||
|
Margin="5"
|
||||||
|
Height="110"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<GridSplitter Grid.Column="1" ResizeDirection="Columns"/>
|
<GridSplitter Grid.Column="1" ResizeDirection="Columns"/>
|
||||||
<StackPanel Grid.Column="1">
|
<StackPanel Grid.Column="1">
|
||||||
<TextBlock Margin="2" Text="Bio-Essence: 10" />
|
<TextBlock Text="Aesthetics" />
|
||||||
<Border Margin="3" />
|
<ListBox ItemsSource="{Binding AestheticsList}"
|
||||||
<ComboBox ItemsSource="{Binding Styles}"
|
SelectedItem="{Binding SelectedAesthetics}"
|
||||||
SelectedItem="{Binding SelectedStyles}"
|
Margin="5"
|
||||||
PlaceholderText="Select your style"
|
Height="110"/>
|
||||||
Margin="5"/>
|
<Border Height="10" />
|
||||||
<!-- <ComboBox ItemsSource="{Binding Cyberware}"
|
<TextBlock Text="CyberwareList" />
|
||||||
|
<ListBox ItemsSource="{Binding CyberwareList}"
|
||||||
SelectedItem="{Binding SelectedCyberware}"
|
SelectedItem="{Binding SelectedCyberware}"
|
||||||
PlaceholderText="Select your Cyberware"
|
Margin="5"
|
||||||
Margin="5"/> -->
|
Height="110" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue