From edf56b3d566a8ad0c5e9533a13acc958d1a2b63d Mon Sep 17 00:00:00 2001 From: Jesus Rodriguez Valencia Date: Mon, 19 Apr 2021 00:39:44 +0200 Subject: [PATCH] Adding camera name to window title --- OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml | 2 +- OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml.cs | 3 +++ ReleaseNotes.md | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml b/OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml index abf323b..50dd7c4 100644 --- a/OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml +++ b/OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml @@ -4,7 +4,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="800" Width="800" Height="800" x:Class="OfCourseIStillLoveYou.DesktopClient.MainWindow" - Title="OfCourseIStillLoveYou.DesktopClient"> + Title="OfCourseIStillLoveYou.DesktopClient" Name="MainWindow"> diff --git a/OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml.cs b/OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml.cs index 74d95f8..bf374c2 100644 --- a/OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml.cs +++ b/OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml.cs @@ -116,6 +116,9 @@ private void CameraTextureWorker() sb.AppendLine(CurretCameraData.Altitude); sb.AppendLine(CurretCameraData.Speed); textInfo.Text = sb.ToString(); + + Window window = this.FindControl("MainWindow"); + window.Title = CurretCameraData.CameraName; } })); }); diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 5e5ddf7..0e6f6f5 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,2 +1,2 @@ -* Removing Scatterer hard dependency -* Using PartialDepthBuffer from Scatterer if possible \ No newline at end of file +* Desktop Client: For better cinematic view it is possible now to hide telemetry and UI controls by doing double-tap on the UI. Fixes #1 +* Desktop Client: Adding camera name to window title. \ No newline at end of file