aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.RemoteDesktop/Frame.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2020-03-03 18:56:58 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2020-03-03 18:56:58 +0200
commitc38f1c80f1fbdfdb758c5a0b93d045a9a5b526ad (patch)
tree20cc57b06f4260b6f86fdaca04129e1a8ace53cd /Software/Visual_Studio/Tango.RemoteDesktop/Frame.cs
parent1b0bdf6f8148e9cc4e7e07e41e9e2d75039c1349 (diff)
downloadTango-c38f1c80f1fbdfdb758c5a0b93d045a9a5b526ad.tar.gz
Tango-c38f1c80f1fbdfdb758c5a0b93d045a9a5b526ad.zip
Machine Studio v4.1.2
PPC v1.1.5 Added BYPASS_ROCKERS to SQLExaminer config. Started integrating FSE Remote/Console To PPC. Added support for generic continuous request.
Diffstat (limited to 'Software/Visual_Studio/Tango.RemoteDesktop/Frame.cs')
-rw-r--r--Software/Visual_Studio/Tango.RemoteDesktop/Frame.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.RemoteDesktop/Frame.cs b/Software/Visual_Studio/Tango.RemoteDesktop/Frame.cs
index 93f38bac0..e871d5da2 100644
--- a/Software/Visual_Studio/Tango.RemoteDesktop/Frame.cs
+++ b/Software/Visual_Studio/Tango.RemoteDesktop/Frame.cs
@@ -7,6 +7,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
+using Tango.RemoteDesktop.Frames;
namespace Tango.RemoteDesktop
{
@@ -45,6 +46,15 @@ namespace Tango.RemoteDesktop
}
/// <summary>
+ /// Applies this frame onto an existing raster frame.
+ /// </summary>
+ /// <param name="frame">The frame.</param>
+ public virtual void Apply(RasterFrame frame)
+ {
+ Apply(frame.ToBitmap());
+ }
+
+ /// <summary>
/// Returns a WPF BitmapSource representing the frame.
/// </summary>
/// <returns></returns>