diff --git a/Icarus/CustomControls/CheckedImageRadioButton.xaml b/Icarus/CustomControls/CheckedImageRadioButton.xaml new file mode 100644 index 0000000..ba41992 --- /dev/null +++ b/Icarus/CustomControls/CheckedImageRadioButton.xaml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Icarus/CustomControls/CheckedImageRadioButton.xaml.vb b/Icarus/CustomControls/CheckedImageRadioButton.xaml.vb new file mode 100644 index 0000000..10b558b --- /dev/null +++ b/Icarus/CustomControls/CheckedImageRadioButton.xaml.vb @@ -0,0 +1,25 @@ +Public Class CheckedImageRadioButton + + Public Shared ReadOnly ImageSourceProperty As DependencyProperty = DependencyProperty.Register("ImageSource", GetType(String), GetType(CheckedImageRadioButton), New FrameworkPropertyMetadata("")) + + Public Shadows Property ImageSource As String + Get + Return CStr(MyBase.GetValue(ImageSourceProperty)) + End Get + Set(value As String) + MyBase.SetValue(ImageSourceProperty, value) + End Set + End Property + + Public Shared ReadOnly CheckedImageSourceProperty As DependencyProperty = DependencyProperty.Register("CheckedImageSource", GetType(String), GetType(CheckedImageRadioButton), New FrameworkPropertyMetadata("")) + + Public Shadows Property CheckedImageSource As String + Get + Return CStr(MyBase.GetValue(CheckedImageSourceProperty)) + End Get + Set(value As String) + MyBase.SetValue(ImageSourceProperty, value) + End Set + End Property + +End Class diff --git a/Icarus/CustomControls/CheckedImageToggleButton.xaml b/Icarus/CustomControls/CheckedImageToggleButton.xaml new file mode 100644 index 0000000..51ea129 --- /dev/null +++ b/Icarus/CustomControls/CheckedImageToggleButton.xaml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Icarus/CustomControls/CheckedImageToggleButton.xaml.vb b/Icarus/CustomControls/CheckedImageToggleButton.xaml.vb new file mode 100644 index 0000000..5377626 --- /dev/null +++ b/Icarus/CustomControls/CheckedImageToggleButton.xaml.vb @@ -0,0 +1,25 @@ +Public Class CheckedImageToggleButton + + Public Shared ReadOnly ImageSourceProperty As DependencyProperty = DependencyProperty.Register("ImageSource", GetType(String), GetType(CheckedImageToggleButton), New FrameworkPropertyMetadata("")) + + Public Shadows Property ImageSource As String + Get + Return CStr(MyBase.GetValue(ImageSourceProperty)) + End Get + Set(value As String) + MyBase.SetValue(ImageSourceProperty, value) + End Set + End Property + + Public Shared ReadOnly CheckedImageSourceProperty As DependencyProperty = DependencyProperty.Register("CheckedImageSource", GetType(String), GetType(CheckedImageToggleButton), New FrameworkPropertyMetadata("")) + + Public Shadows Property CheckedImageSource As String + Get + Return CStr(MyBase.GetValue(CheckedImageSourceProperty)) + End Get + Set(value As String) + MyBase.SetValue(ImageSourceProperty, value) + End Set + End Property + +End Class diff --git a/Icarus/Icarus.vbproj b/Icarus/Icarus.vbproj index 48f333d..45203b0 100644 --- a/Icarus/Icarus.vbproj +++ b/Icarus/Icarus.vbproj @@ -139,6 +139,12 @@ CurrLayerSliderV.xaml + + CheckedImageRadioButton.xaml + + + CheckedImageToggleButton.xaml + @@ -323,6 +329,14 @@ Designer MSBuild:Compile + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + MSBuild:Compile Designer @@ -689,6 +703,24 @@ + + + + + + + + + + + + + + + + + + IF "$(PlatformName)"=="x86" IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\Icarus\IcarusR32.exe diff --git a/Icarus/InstrumentPanel/InstrumentPanelV.xaml b/Icarus/InstrumentPanel/InstrumentPanelV.xaml index bdc973d..4eda202 100644 --- a/Icarus/InstrumentPanel/InstrumentPanelV.xaml +++ b/Icarus/InstrumentPanel/InstrumentPanelV.xaml @@ -1,26 +1,29 @@  - - - - - - + + + 25 + 25 + + + + diff --git a/Icarus/Resources/InstrumentPanel/EdgeAnalysis_White.png b/Icarus/Resources/InstrumentPanel/EdgeAnalysis_White.png new file mode 100644 index 0000000..e093d05 Binary files /dev/null and b/Icarus/Resources/InstrumentPanel/EdgeAnalysis_White.png differ diff --git a/Icarus/Resources/InstrumentPanel/GetDist_White.png b/Icarus/Resources/InstrumentPanel/GetDist_White.png new file mode 100644 index 0000000..347bb3d Binary files /dev/null and b/Icarus/Resources/InstrumentPanel/GetDist_White.png differ diff --git a/Icarus/Resources/ProjectManager/Import.png b/Icarus/Resources/ProjectManager/Import.png index c114e05..5fb8d4b 100644 Binary files a/Icarus/Resources/ProjectManager/Import.png and b/Icarus/Resources/ProjectManager/Import.png differ diff --git a/Icarus/Resources/ProjectManager/Options.png b/Icarus/Resources/ProjectManager/Options.png index d5015b2..4163449 100644 Binary files a/Icarus/Resources/ProjectManager/Options.png and b/Icarus/Resources/ProjectManager/Options.png differ diff --git a/Icarus/Resources/ProjectManager/SaveAs.png b/Icarus/Resources/ProjectManager/SaveAs.png index 9b22379..91c00a3 100644 Binary files a/Icarus/Resources/ProjectManager/SaveAs.png and b/Icarus/Resources/ProjectManager/SaveAs.png differ diff --git a/Icarus/Resources/ShowPanel/CurveDir_White.png b/Icarus/Resources/ShowPanel/CurveDir_White.png new file mode 100644 index 0000000..0b7cef3 Binary files /dev/null and b/Icarus/Resources/ShowPanel/CurveDir_White.png differ diff --git a/Icarus/Resources/ShowPanel/RenderingHL_White.png b/Icarus/Resources/ShowPanel/RenderingHL_White.png new file mode 100644 index 0000000..2bbd86d Binary files /dev/null and b/Icarus/Resources/ShowPanel/RenderingHL_White.png differ diff --git a/Icarus/Resources/ShowPanel/RenderingSH_White.png b/Icarus/Resources/ShowPanel/RenderingSH_White.png new file mode 100644 index 0000000..6b2bbe4 Binary files /dev/null and b/Icarus/Resources/ShowPanel/RenderingSH_White.png differ diff --git a/Icarus/Resources/ShowPanel/RenderingWF_White.png b/Icarus/Resources/ShowPanel/RenderingWF_White.png new file mode 100644 index 0000000..e6f1b7d Binary files /dev/null and b/Icarus/Resources/ShowPanel/RenderingWF_White.png differ diff --git a/Icarus/ShowPanel/ShowPanelV.xaml b/Icarus/ShowPanel/ShowPanelV.xaml index 21b0e21..99afe9c 100644 --- a/Icarus/ShowPanel/ShowPanelV.xaml +++ b/Icarus/ShowPanel/ShowPanelV.xaml @@ -1,35 +1,33 @@  - - - - - - - - - - - - + + + + + diff --git a/Icarus/SliderManager/LayerIndexSliderV.xaml b/Icarus/SliderManager/LayerIndexSliderV.xaml index ee0a83f..61418ff 100644 --- a/Icarus/SliderManager/LayerIndexSliderV.xaml +++ b/Icarus/SliderManager/LayerIndexSliderV.xaml @@ -57,6 +57,7 @@ - - - - - - - - - - - - - - - + diff --git a/Icarus/TSFEditor/TFSEditorV.xaml b/Icarus/TSFEditor/TFSEditorV.xaml index 093fa19..d7063dd 100644 --- a/Icarus/TSFEditor/TFSEditorV.xaml +++ b/Icarus/TSFEditor/TFSEditorV.xaml @@ -156,6 +156,8 @@ PrintApp:MultiSelectorBehaviours.SynchronizedSelectedItems="{Binding SelLayers}" SelectedItem="{Binding SelLayer}" SelectionMode="Extended" + HorizontalGridLinesBrush="White" + VerticalGridLinesBrush="White" Margin="0,2.5,0,2.5"> = Map.refTFSEditorVM.dSpeedMax Then - Return New BrushConverter().ConvertFrom("#402918") + If (Not Map.refTFSEditorVM.bWaitingTime AndAlso m_dTCurr + 1 < m_dTMin) OrElse + (Map.refTFSEditorVM.bWaitingTime AndAlso m_dTCurr + m_dTWait + 1 < m_dTMin) OrElse + m_dTCurr - 1 > m_dTMax Then + Return New BrushConverter().ConvertFrom("#63181b") + Else + Return New BrushConverter().ConvertFrom("#961824") + End If Else Return Brushes.White End If diff --git a/Icarus/Utility/Dictionary.xaml b/Icarus/Utility/Dictionary.xaml index 8864959..817926a 100644 --- a/Icarus/Utility/Dictionary.xaml +++ b/Icarus/Utility/Dictionary.xaml @@ -1,10 +1,11 @@ - + @@ -127,14 +128,22 @@ - + - + + + + + + + + + @@ -160,6 +169,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + NaN + NaN + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -578,6 +656,18 @@ + + @@ -627,7 +717,7 @@ @@ -727,6 +817,15 @@ + + @@ -1150,11 +1249,11 @@ - + + @@ -2568,284 +2675,6 @@ - - + 28 @@ -2893,7 +2723,8 @@ @@ -2941,19 +2772,25 @@ - - - + + + - + + + + + + + + VerticalAlignment="Stretch"> + VerticalAlignment="Center"/> @@ -3089,7 +2925,8 @@ @@ -3143,19 +2980,25 @@ - - - + + + - + + + + + + + + Visibility="Hidden"/> @@ -3196,11 +3037,11 @@ + VerticalAlignment="Top"/> diff --git a/Icarus/ViewPanel/ViewPanelV.xaml b/Icarus/ViewPanel/ViewPanelV.xaml index 4eaf7fc..1002559 100644 --- a/Icarus/ViewPanel/ViewPanelV.xaml +++ b/Icarus/ViewPanel/ViewPanelV.xaml @@ -6,50 +6,58 @@