Skip to content

Commit

Permalink
[Spectrum] Include all visualizer options in VJ HUD window dropdown
Browse files Browse the repository at this point in the history
Long-term solution is tracked by #19
  • Loading branch information
Ashoat committed Sep 4, 2019
1 parent 8394979 commit 7590a32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions Spectrum/Windows/VJHUDWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@
<ComboBoxItem x:Name="domeActiveVisualizerVolume" Content='"Volume" (OG)' IsSelected="True" />
<ComboBoxItem x:Name="domeActiveVisualizerRadial" Content='Radial Effects' />
<ComboBoxItem x:Name="domeActiveVisualizerRace" Content='Race' />
<ComboBoxItem x:Name="domeActiveVisualizerSnakes" Content='Snakes' />
</ComboBox>
</Grid>
<Grid Height="24">
Expand Down
5 changes: 4 additions & 1 deletion Spectrum/Windows/VJHUDWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,10 @@ private void InitializeBindings() {

this.Bind("domeActiveVis", this.domeActiveVisualizer, ComboBox.SelectedItemProperty, BindingMode.TwoWay, new SpecificValuesConverter<int, ComboBoxItem>(new Dictionary<int, ComboBoxItem> {
[0] = this.domeActiveVisualizerVolume,
[1] = this.domeActiveVisualizerRadial
[1] = this.domeActiveVisualizerRadial,
[2] = this.domeActiveVisualizerRace,
[3] = this.domeActiveVisualizerSnakes

}, true));
this.Bind("domeVolumeRotationSpeed", this.domeVolumeRotationSpeed, ComboBox.SelectedItemProperty, BindingMode.TwoWay, new SpecificValuesConverter<double, ComboBoxItem>(new Dictionary<double, ComboBoxItem> { [0] = this.dprs0, [0.125] = this.dprs1, [0.25] = this.dprs2, [0.5] = this.dprs3, [1.0] = this.dprs4, [2.0] = this.dprs5, [4.0] = this.dprs6 }, true));
this.Bind("domeGradientSpeed", this.domeGradientSpeed, ComboBox.SelectedItemProperty, BindingMode.TwoWay, new SpecificValuesConverter<double, ComboBoxItem>(new Dictionary<double, ComboBoxItem> { [0] = this.dsrs0, [0.125] = this.dsrs1, [0.25] = this.dsrs2, [0.5] = this.dsrs3, [1.0] = this.dsrs4, [2.0] = this.dsrs5, [4.0] = this.dsrs6 }, true));
Expand Down

0 comments on commit 7590a32

Please sign in to comment.