FizVizController/FizVizController/Views/FizVizConfig.xaml.cs
/// <summary>
/// Set up current lighting modes and default colors
/// </summary>
Set up current lighting modes and default colors
Set up current lighting modes and default colors
private void InitializeLightingModes()
        {
            LightingModeComboBox.DisplayMemberPath = "Key";
            LightingModeComboBox.SelectedValuePath = "Value";
            LightingModeComboBox.Items.Add(new KeyValuePair<string, DisplayMode.DisplayModeValue>("Hot Needle", DisplayMode.DisplayModeValue.HotNeedle));
            LightingModeComboBox.Items.Add(new KeyValuePair<string, DisplayMode.DisplayModeValue>("Block Needle", DisplayMode.DisplayModeValue.BlockNeedle));
            LightingModeComboBox.Items.Add(new KeyValuePair<string, DisplayMode.DisplayModeValue>("BG Rotate", DisplayMode.DisplayModeValue.BackgroundRotate));
            LightingModeComboBox.Items.Add(new KeyValuePair<string, DisplayMode.DisplayModeValue>("Min Max", DisplayMode.DisplayModeValue.MinMax));
            LightingModeComboBox.SelectedIndex = 0;
            ViewUtility.InitializeColorComboBox(HotColorComboBox);
            HotColorComboBox.SelectedIndex = 0;
        }
private void InitializeLightingModes ( ) { LightingModeComboBox . DisplayMemberPath = " " ; LightingModeComboBox . SelectedValuePath = " " ; LightingModeComboBox . Items . Add ( new KeyValuePair < string , DisplayMode . DisplayModeValue > ( " " , DisplayMode . DisplayModeValue . HotNeedle ) ) ; LightingModeComboBox . Items . Add ( new KeyValuePair < string , DisplayMode . DisplayModeValue > ( " " , DisplayMode . DisplayModeValue . BlockNeedle ) ) ; LightingModeComboBox . Items . Add ( new KeyValuePair < string , DisplayMode . DisplayModeValue > ( " " , DisplayMode . DisplayModeValue . BackgroundRotate ) ) ; LightingModeComboBox . Items . Add ( new KeyValuePair < string , DisplayMode . DisplayModeValue > ( " " , DisplayMode . DisplayModeValue . MinMax ) ) ; LightingModeComboBox . SelectedIndex = 0 ; ViewUtility . InitializeColorComboBox ( HotColorComboBox ) ; HotColorComboBox . SelectedIndex = 0 ; }
Set up current lighting modes and default colors
Set up current lighting modes and default colors
// TODO - read current values from FizViz on connect