Skip to content

Commit

Permalink
LiveViewFullScreen not rotate ref #352
Browse files Browse the repository at this point in the history
  • Loading branch information
dukus committed Oct 1, 2020
1 parent 3708f14 commit 3b193e0
Show file tree
Hide file tree
Showing 20 changed files with 48 additions and 40 deletions.
4 changes: 2 additions & 2 deletions CameraControl.Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions CameraControl.Devices/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions CameraControl.PluginManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions CameraControl.Plugins/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions CameraControl.ServerTest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions CameraControl.Test/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions CameraControl.Trigger/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions CameraControl/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
11 changes: 8 additions & 3 deletions CameraControl/ViewModel/LiveViewViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1369,11 +1369,15 @@ private void WindowsManagerEvent(string cmd, object o)
StopRecordMovie();
break;
case WindowsCmdConsts.LiveViewFullScreen_Show:
FullScreen();
Application.Current.Dispatcher.BeginInvoke(new Action(FullScreen));
break;
case WindowsCmdConsts.LiveViewFullScreen_Hide:
if (FullScreenWnd != null && FullScreenWnd.IsVisible)
FullScreenWnd.Close();
Application.Current.Dispatcher.BeginInvoke(new Action(() =>
{
if (FullScreenWnd != null && FullScreenWnd.IsVisible)
FullScreenWnd.Close();
}));
break;
}
}
Expand Down Expand Up @@ -1736,6 +1740,7 @@ public void UnInit()
CameraDevice.PhotoCaptured -= CameraDevicePhotoCaptured;
LiveViewManager.PreviewCaptured -= LiveViewManager_PreviewCaptured;
ServiceProvider.WindowsManager.Event -= WindowsManager_Event1;
ServiceProvider.WindowsManager.Event -= WindowsManagerEvent;
Thread.Sleep(100);
StopLiveView();
Recording = false;
Expand Down
3 changes: 3 additions & 0 deletions CameraControl/windows/LiveViewFullScreenWnd.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
</Window.Resources>
<Grid>
<Image Name="image1" Margin="0" Stretch="Uniform" Source="{Binding Bitmap}" KeyDown="image1_KeyDown" MouseDown="image1_MouseDown" KeyUp="image1_KeyUp" IsHitTestVisible="False">
<Image.LayoutTransform>
<RotateTransform Angle="{Binding Rotation}" />
</Image.LayoutTransform>
</Image>
<Grid Width="300" Grid.Column="2" Grid.Row="2" Name="grid_wait" Visibility="{Binding Path=DelayedStart, Converter={StaticResource BooleanToVisibilityConverter1}, ConverterParameter=false}">
<ProgressBar IsIndeterminate="True" Height="20"/>
Expand Down
4 changes: 2 additions & 2 deletions CameraControlCmd/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions CameraControlRemoteCmd/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions Canon.Eos.Framework/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("3a70507d-c50a-47ca-b920-303d687631ec")]
[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
[assembly: InternalsVisibleTo("Canon.Eos.UnitTests")]
4 changes: 2 additions & 2 deletions DccObsPlugin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions MtpTester/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions PhotoBooth/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions Plugin.DeviceControl/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
4 changes: 2 additions & 2 deletions PortableDeviceLib/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
[assembly: InternalsVisibleTo("PortableDeviceLib.Tests")]
4 changes: 2 additions & 2 deletions Setup/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2.7")]
[assembly: AssemblyFileVersion("2.1.2.7")]
[assembly: AssemblyVersion("2.1.2.9")]
[assembly: AssemblyFileVersion("2.1.2.9")]
6 changes: 3 additions & 3 deletions Setup/wix/Setup.g.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</auto-generated>
-->
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
<Product Id="357e0d80-5093-478e-8c11-28b1c730b6ef" Name="OBS plugin for digiCamControl" Language="1033" Codepage="Windows-1252" Version="2.1.2.7" UpgradeCode="357e0d80-5093-478e-8c11-28b1a72096e7" Manufacturer="Duka Istvan">
<Product Id="357e0d80-5093-478e-8c11-28b1c730b6f0" Name="OBS plugin for digiCamControl" Language="1033" Codepage="Windows-1252" Version="2.1.2.8" UpgradeCode="357e0d80-5093-478e-8c11-28b1a72096e7" Manufacturer="Duka Istvan">
<Package InstallerVersion="200" Compressed="yes" SummaryCodepage="Windows-1252" Languages="1033" InstallScope="perMachine" />
<Media Id="1" Cabinet="OBS_plugin_for_digiCamControl.cab" EmbedCab="yes" />

Expand Down Expand Up @@ -50,8 +50,8 @@
<WixVariable Id="WixUILicenseRtf" Value="d:\devel\vs2010\CameraControl\CameraControl\bin\Debug\Licenses\DigiCamControlLicence.rtf" />

<Upgrade Id="357e0d80-5093-478e-8c11-28b1a72096e7">
<UpgradeVersion Minimum="0.0.0.0" Maximum="2.1.2.7" IncludeMinimum="yes" IncludeMaximum="no" Property="UPGRADEFOUND" />
<UpgradeVersion Minimum="2.1.2.7" IncludeMinimum="no" Property="NEWPRODUCTFOUND" />
<UpgradeVersion Minimum="0.0.0.0" Maximum="2.1.2.8" IncludeMinimum="yes" IncludeMaximum="no" Property="UPGRADEFOUND" />
<UpgradeVersion Minimum="2.1.2.8" IncludeMinimum="no" Property="NEWPRODUCTFOUND" />
</Upgrade>

<CustomAction Id="PreventDowngrading" Error="Newer version already installed" />
Expand Down

0 comments on commit 3b193e0

Please sign in to comment.