mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-21 21:30:12 +00:00
Add SimConnect download indicator
This commit is contained in:
parent
6c2bacda6c
commit
f9b504574f
12 changed files with 56 additions and 19 deletions
|
@ -11,9 +11,9 @@
|
||||||
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
||||||
<RootNamespace>MSFSPopoutPanelManager.DomainModel</RootNamespace>
|
<RootNamespace>MSFSPopoutPanelManager.DomainModel</RootNamespace>
|
||||||
<Platforms>x64</Platforms>
|
<Platforms>x64</Platforms>
|
||||||
<Version>4.0.2.4</Version>
|
<Version>4.0.2.5</Version>
|
||||||
<AssemblyVersion>4.0.2.4</AssemblyVersion>
|
<AssemblyVersion>4.0.2.5</AssemblyVersion>
|
||||||
<FileVersion>4.0.2.4</FileVersion>
|
<FileVersion>4.0.2.5</FileVersion>
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
<DebugType>Embedded</DebugType>
|
<DebugType>Embedded</DebugType>
|
||||||
<Configurations>Debug;Release;Local</Configurations>
|
<Configurations>Debug;Release;Local</Configurations>
|
||||||
|
|
|
@ -67,7 +67,10 @@
|
||||||
<ColumnDefinition Width="*" />
|
<ColumnDefinition Width="*" />
|
||||||
<ColumnDefinition Width="200" />
|
<ColumnDefinition Width="200" />
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<StackPanel Grid.Column="0" Margin="0,0,0,0">
|
<StackPanel
|
||||||
|
Grid.Column="0"
|
||||||
|
Margin="0,0,0,0"
|
||||||
|
Orientation="Horizontal">
|
||||||
<Button
|
<Button
|
||||||
Margin="0"
|
Margin="0"
|
||||||
Padding="0"
|
Padding="0"
|
||||||
|
@ -88,6 +91,27 @@
|
||||||
</Style>
|
</Style>
|
||||||
</Button.Style>
|
</Button.Style>
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button
|
||||||
|
Width="{StaticResource IconSize}"
|
||||||
|
Height="{StaticResource IconSize}"
|
||||||
|
Margin="5,4,0,0"
|
||||||
|
Padding="0"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
ToolTip="Receiving SimConnect data">
|
||||||
|
<Button.Style>
|
||||||
|
<Style BasedOn="{StaticResource MaterialDesignIconButton}" TargetType="Button">
|
||||||
|
<Style.Triggers>
|
||||||
|
<DataTrigger Binding="{Binding FlightSimData.IsSimConnectDataReceived}" Value="True">
|
||||||
|
<Setter Property="Foreground" Value="LightGreen" />
|
||||||
|
</DataTrigger>
|
||||||
|
<DataTrigger Binding="{Binding FlightSimData.IsSimConnectDataReceived}" Value="False">
|
||||||
|
<Setter Property="Foreground" Value="White" />
|
||||||
|
</DataTrigger>
|
||||||
|
</Style.Triggers>
|
||||||
|
</Style>
|
||||||
|
</Button.Style>
|
||||||
|
<materialDesign:PackIcon Kind="DownloadOutline" />
|
||||||
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Grid.Column="1" Width="Auto">
|
<StackPanel Grid.Column="1" Width="Auto">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
<RootNamespace>MSFSPopoutPanelManager.MainApp</RootNamespace>
|
<RootNamespace>MSFSPopoutPanelManager.MainApp</RootNamespace>
|
||||||
<ApplicationIcon>logo.ico</ApplicationIcon>
|
<ApplicationIcon>logo.ico</ApplicationIcon>
|
||||||
<Platforms>x64</Platforms>
|
<Platforms>x64</Platforms>
|
||||||
<Version>4.0.2.4</Version>
|
<Version>4.0.2.5</Version>
|
||||||
<AssemblyVersion>4.0.2.4</AssemblyVersion>
|
<AssemblyVersion>4.0.2.5</AssemblyVersion>
|
||||||
<FileVersion>4.0.2.4</FileVersion>
|
<FileVersion>4.0.2.5</FileVersion>
|
||||||
<DebugType>embedded</DebugType>
|
<DebugType>embedded</DebugType>
|
||||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||||
<!-- Publishing options -->
|
<!-- Publishing options -->
|
||||||
|
|
|
@ -40,6 +40,8 @@ namespace MSFSPopoutPanelManager.MainApp.ViewModel
|
||||||
// Set Always on Top
|
// Set Always on Top
|
||||||
if (Orchestrator.AppSettingData.ApplicationSetting.GeneralSetting.AlwaysOnTop)
|
if (Orchestrator.AppSettingData.ApplicationSetting.GeneralSetting.AlwaysOnTop)
|
||||||
WindowActionManager.ApplyAlwaysOnTop(ApplicationHandle, PanelType.PopOutManager, Orchestrator.AppSettingData.ApplicationSetting.GeneralSetting.AlwaysOnTop);
|
WindowActionManager.ApplyAlwaysOnTop(ApplicationHandle, PanelType.PopOutManager, Orchestrator.AppSettingData.ApplicationSetting.GeneralSetting.AlwaysOnTop);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void WindowClosing()
|
public void WindowClosing()
|
||||||
|
|
|
@ -39,6 +39,8 @@ namespace MSFSPopoutPanelManager.Orchestration
|
||||||
|
|
||||||
public bool IsSimulatorStarted { get; set; }
|
public bool IsSimulatorStarted { get; set; }
|
||||||
|
|
||||||
|
public bool IsSimConnectDataReceived { get; set; }
|
||||||
|
|
||||||
public bool IsInCockpit { get; set; }
|
public bool IsInCockpit { get; set; }
|
||||||
|
|
||||||
public IHudBarData HudBarData { get; set; }
|
public IHudBarData HudBarData { get; set; }
|
||||||
|
|
|
@ -6,6 +6,7 @@ using MSFSPopoutPanelManager.WindowsAgent;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace MSFSPopoutPanelManager.Orchestration
|
namespace MSFSPopoutPanelManager.Orchestration
|
||||||
{
|
{
|
||||||
|
@ -53,6 +54,7 @@ namespace MSFSPopoutPanelManager.Orchestration
|
||||||
|
|
||||||
_simConnectProvider.OnDisconnected += (sender, e) =>
|
_simConnectProvider.OnDisconnected += (sender, e) =>
|
||||||
{
|
{
|
||||||
|
_flightSimData.IsSimConnectDataReceived = false;
|
||||||
_flightSimData.IsSimConnectActive = false;
|
_flightSimData.IsSimConnectActive = false;
|
||||||
WindowProcessManager.GetSimulatorProcess(); // refresh simulator process
|
WindowProcessManager.GetSimulatorProcess(); // refresh simulator process
|
||||||
_flightSimData.Reset();
|
_flightSimData.Reset();
|
||||||
|
@ -60,6 +62,7 @@ namespace MSFSPopoutPanelManager.Orchestration
|
||||||
|
|
||||||
_simConnectProvider.OnException += (sender, e) =>
|
_simConnectProvider.OnException += (sender, e) =>
|
||||||
{
|
{
|
||||||
|
_flightSimData.IsSimConnectDataReceived = false;
|
||||||
_flightSimData.IsSimConnectActive = false;
|
_flightSimData.IsSimConnectActive = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -84,6 +87,8 @@ namespace MSFSPopoutPanelManager.Orchestration
|
||||||
var cameraViewTypeAndIndex1 = Convert.ToInt32(e.Find(d => d.PropertyName == SimDataDefinitions.PropName.CameraViewTypeAndIndex1).Value);
|
var cameraViewTypeAndIndex1 = Convert.ToInt32(e.Find(d => d.PropertyName == SimDataDefinitions.PropName.CameraViewTypeAndIndex1).Value);
|
||||||
if (cameraViewTypeAndIndex1 != _flightSimData.CameraViewTypeAndIndex1)
|
if (cameraViewTypeAndIndex1 != _flightSimData.CameraViewTypeAndIndex1)
|
||||||
_flightSimData.CameraViewTypeAndIndex1 = cameraViewTypeAndIndex1;
|
_flightSimData.CameraViewTypeAndIndex1 = cameraViewTypeAndIndex1;
|
||||||
|
|
||||||
|
_flightSimData.IsSimConnectDataReceived = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
_simConnectProvider.OnSimConnectDataHudBarRefreshed += (sender, e) =>
|
_simConnectProvider.OnSimConnectDataHudBarRefreshed += (sender, e) =>
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
||||||
<RootNamespace>MSFSPopoutPanelManager.Orchestration</RootNamespace>
|
<RootNamespace>MSFSPopoutPanelManager.Orchestration</RootNamespace>
|
||||||
<Platforms>x64</Platforms>
|
<Platforms>x64</Platforms>
|
||||||
<Version>4.0.2.4</Version>
|
<Version>4.0.2.5</Version>
|
||||||
<AssemblyVersion>4.0.2.4</AssemblyVersion>
|
<AssemblyVersion>4.0.2.5</AssemblyVersion>
|
||||||
<FileVersion>4.0.2.4</FileVersion>
|
<FileVersion>4.0.2.5</FileVersion>
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
<DebugType>Embedded</DebugType>
|
<DebugType>Embedded</DebugType>
|
||||||
<Configurations>Debug;Release;Local</Configurations>
|
<Configurations>Debug;Release;Local</Configurations>
|
||||||
|
|
|
@ -11,4 +11,6 @@
|
||||||
|
|
||||||
* Added configurable keyboard shortcut to initiate pop out process (default is Ctrl-Shift-O). This keyboard shortcut can be configured in preference setting. This setting can be disabled to improve computing resource needed to constantly detect keyboard inputs.
|
* Added configurable keyboard shortcut to initiate pop out process (default is Ctrl-Shift-O). This keyboard shortcut can be configured in preference setting. This setting can be disabled to improve computing resource needed to constantly detect keyboard inputs.
|
||||||
|
|
||||||
|
* Added indicator to show SimConnect is receiving data.
|
||||||
|
|
||||||
* Fixed issue where full screen mode for pop out panel does not work on certain aircraft configuration.
|
* Fixed issue where full screen mode for pop out panel does not work on certain aircraft configuration.
|
|
@ -11,9 +11,9 @@
|
||||||
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
||||||
<RootNamespace>MSFSPopoutPanelManager.Shared</RootNamespace>
|
<RootNamespace>MSFSPopoutPanelManager.Shared</RootNamespace>
|
||||||
<Platforms>x64</Platforms>
|
<Platforms>x64</Platforms>
|
||||||
<Version>4.0.2.4</Version>
|
<Version>4.0.2.5</Version>
|
||||||
<AssemblyVersion>4.0.2.4</AssemblyVersion>
|
<AssemblyVersion>4.0.2.5</AssemblyVersion>
|
||||||
<FileVersion>4.0.2.4</FileVersion>
|
<FileVersion>4.0.2.5</FileVersion>
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
<DebugType>Embedded</DebugType>
|
<DebugType>Embedded</DebugType>
|
||||||
<Configurations>Debug;Release;Local</Configurations>
|
<Configurations>Debug;Release;Local</Configurations>
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
||||||
<RootNamespace>MSFSPopoutPanelManager.SimConnectAgent</RootNamespace>
|
<RootNamespace>MSFSPopoutPanelManager.SimConnectAgent</RootNamespace>
|
||||||
<Platforms>x64</Platforms>
|
<Platforms>x64</Platforms>
|
||||||
<Version>4.0.2.4</Version>
|
<Version>4.0.2.5</Version>
|
||||||
<AssemblyVersion>4.0.2.4</AssemblyVersion>
|
<AssemblyVersion>4.0.2.5</AssemblyVersion>
|
||||||
<FileVersion>4.0.2.4</FileVersion>
|
<FileVersion>4.0.2.5</FileVersion>
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
<DebugType>Embedded</DebugType>
|
<DebugType>Embedded</DebugType>
|
||||||
<Configurations>Debug;Release;Local</Configurations>
|
<Configurations>Debug;Release;Local</Configurations>
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
|
|
||||||
* Added configurable keyboard shortcut to initiate pop out process (default is Ctrl-Shift-O). This keyboard shortcut can be configured in preference setting. This setting can be disabled to improve computing resource needed to constantly detect keyboard inputs.
|
* Added configurable keyboard shortcut to initiate pop out process (default is Ctrl-Shift-O). This keyboard shortcut can be configured in preference setting. This setting can be disabled to improve computing resource needed to constantly detect keyboard inputs.
|
||||||
|
|
||||||
|
* Added indicator to show SimConnect is receiving data.
|
||||||
|
|
||||||
* Fixed issue where full screen mode for pop out panel does not work on certain aircraft configuration.
|
* Fixed issue where full screen mode for pop out panel does not work on certain aircraft configuration.
|
||||||
|
|
||||||
## Version 4.0.1.2
|
## Version 4.0.1.2
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
||||||
<RootNamespace>MSFSPopoutPanelManager.WindowsAgent</RootNamespace>
|
<RootNamespace>MSFSPopoutPanelManager.WindowsAgent</RootNamespace>
|
||||||
<Platforms>x64</Platforms>
|
<Platforms>x64</Platforms>
|
||||||
<Version>4.0.2.4</Version>
|
<Version>4.0.2.5</Version>
|
||||||
<AssemblyVersion>4.0.2.4</AssemblyVersion>
|
<AssemblyVersion>4.0.2.5</AssemblyVersion>
|
||||||
<FileVersion>4.0.2.4</FileVersion>
|
<FileVersion>4.0.2.5</FileVersion>
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
<DebugType>Embedded</DebugType>
|
<DebugType>Embedded</DebugType>
|
||||||
<Configurations>Debug;Release;Local</Configurations>
|
<Configurations>Debug;Release;Local</Configurations>
|
||||||
|
|
Loading…
Reference in a new issue