Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/Microsoft.Wpf.Interop.DirectX/SurfaceQueueInteropHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ namespace Microsoft {
public:

/// The action delegate called when a render is required.
property Action<IntPtr, bool>^ SurfaceQueueInteropHelper::RenderD2D
property Action<IntPtr, bool>^ RenderD2D
{
void set(Action<IntPtr, bool>^ value) { m_renderD2D = value; }
}

/// Gets or sets the associated D3DImage object that is working in conjunction with this helper.
property D3DImage^ SurfaceQueueInteropHelper::D3DImage
property D3DImage^ D3DImage
{
System::Windows::Interop::D3DImage^ get()
{
Expand All @@ -103,7 +103,7 @@ namespace Microsoft {
}

/// Gets the desired pixel width for the surface.
property unsigned int SurfaceQueueInteropHelper::PixelWidth
property unsigned int PixelWidth
{
unsigned int get()
{
Expand All @@ -112,7 +112,7 @@ namespace Microsoft {
}

/// Gets the desired pixel height for the surface.
property unsigned int SurfaceQueueInteropHelper::PixelHeight
property unsigned int PixelHeight
{
unsigned int get()
{
Expand All @@ -124,7 +124,7 @@ namespace Microsoft {
void SetPixelSize(unsigned int pixelWidth, unsigned int pixelHeight);

/// Gets or sets the HWND used by the helper while creating DirectX devices.
property IntPtr SurfaceQueueInteropHelper::HWND
property IntPtr HWND
{
IntPtr get() { return (IntPtr)(void*)m_hwnd; }
void set(IntPtr hwnd) { m_hwnd = (::HWND)(void*)hwnd; }
Expand Down