mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-09 22:27:35 +00:00
Make WinWindowInfo public.
Fixed X11WindowInfo line endings.
This commit is contained in:
parent
601f6d8caa
commit
43aaa02745
|
@ -4,9 +4,8 @@ using System.Text;
|
||||||
|
|
||||||
namespace OpenTK.Platform.Windows
|
namespace OpenTK.Platform.Windows
|
||||||
{
|
{
|
||||||
/// <internal />
|
|
||||||
/// <summary>Describes a win32 window.</summary>
|
/// <summary>Describes a win32 window.</summary>
|
||||||
internal sealed class WinWindowInfo : IWindowInfo
|
public sealed class WinWindowInfo : IWindowInfo
|
||||||
{
|
{
|
||||||
IntPtr handle, dc;
|
IntPtr handle, dc;
|
||||||
WinWindowInfo parent;
|
WinWindowInfo parent;
|
||||||
|
|
|
@ -56,9 +56,9 @@ namespace OpenTK.Platform.X11
|
||||||
public IntPtr RootWindow { get { return rootWindow; } set { rootWindow = value; } }
|
public IntPtr RootWindow { get { return rootWindow; } set { rootWindow = value; } }
|
||||||
/// <summary>Gets or sets the connection to the X11 display.</summary>
|
/// <summary>Gets or sets the connection to the X11 display.</summary>
|
||||||
public IntPtr Display { get { return display; } set { display = value; } }
|
public IntPtr Display { get { return display; } set { display = value; } }
|
||||||
/// <summary>Gets or sets the X11 screen.</summary>
|
/// <summary>Gets or sets the X11 screen.</summary>
|
||||||
public int Screen { get { return screen; } set { screen = value; } }
|
public int Screen { get { return screen; } set { screen = value; } }
|
||||||
//{ get { return Functions.XRRRootToScreen(display, rootWindow); } set { } }
|
//{ get { return Functions.XRRRootToScreen(display, rootWindow); } set { } }
|
||||||
//public int Screen { get { return screen; } set { screen = value; } }
|
//public int Screen { get { return screen; } set { screen = value; } }
|
||||||
/// <summary>Gets or sets the X11 VisualInfo.</summary>
|
/// <summary>Gets or sets the X11 VisualInfo.</summary>
|
||||||
public XVisualInfo VisualInfo { get { return visualInfo; } set { visualInfo = value; } }
|
public XVisualInfo VisualInfo { get { return visualInfo; } set { visualInfo = value; } }
|
||||||
|
|
Loading…
Reference in a new issue