mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 18:05:34 +00:00
Fixed some whitespace and normalized line-endings.
This commit is contained in:
parent
7b49c33f71
commit
9619b609a5
|
@ -66,8 +66,8 @@ namespace OpenTK.Platform.X11
|
|||
#endregion
|
||||
|
||||
static API()
|
||||
{
|
||||
Debug.Print("Initializing threaded X11: {0}.", Functions.XInitThreads().ToString());
|
||||
{
|
||||
Debug.Print("Initializing threaded X11: {0}.", Functions.XInitThreads().ToString());
|
||||
|
||||
AppDomain.CurrentDomain.ProcessExit += new EventHandler(CurrentDomain_ProcessExit);
|
||||
|
||||
|
@ -86,9 +86,9 @@ namespace OpenTK.Platform.X11
|
|||
screenCount = Functions.XScreenCount(DefaultDisplay);
|
||||
//Debug.Print("Default Display: {0}, Default Screen: {1}, Default Root Window: {2}, Screen Count: {3}",
|
||||
// DefaultDisplay, DefaultScreen, RootWindow, ScreenCount);
|
||||
Debug.Print("Display connection: {0}, Screen count: {1}", DefaultDisplay, ScreenCount);
|
||||
Debug.Print("Display connection: {0}, Screen count: {1}", DefaultDisplay, ScreenCount);
|
||||
}
|
||||
|
||||
|
||||
static void CurrentDomain_ProcessExit(object sender, EventArgs e)
|
||||
{
|
||||
if (defaultDisplay != IntPtr.Zero)
|
||||
|
@ -754,67 +754,67 @@ XF86VidModeGetGammaRampSize(
|
|||
|
||||
#pragma warning restore 0169, 0649
|
||||
|
||||
#endregion
|
||||
|
||||
#region Motif
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
internal struct MotifWmHints
|
||||
{
|
||||
internal IntPtr flags;
|
||||
internal IntPtr functions;
|
||||
internal IntPtr decorations;
|
||||
internal IntPtr input_mode;
|
||||
internal IntPtr status;
|
||||
|
||||
public override string ToString ()
|
||||
{
|
||||
return string.Format("MotifWmHints <flags={0}, functions={1}, decorations={2}, input_mode={3}, status={4}", (MotifFlags) flags.ToInt32 (), (MotifFunctions) functions.ToInt32 (), (MotifDecorations) decorations.ToInt32 (), (MotifInputMode) input_mode.ToInt32 (), status.ToInt32 ());
|
||||
}
|
||||
}
|
||||
|
||||
[Flags]
|
||||
internal enum MotifFlags
|
||||
{
|
||||
Functions = 1,
|
||||
Decorations = 2,
|
||||
InputMode = 4,
|
||||
Status = 8
|
||||
}
|
||||
|
||||
[Flags]
|
||||
internal enum MotifFunctions
|
||||
{
|
||||
All = 0x01,
|
||||
Resize = 0x02,
|
||||
Move = 0x04,
|
||||
Minimize = 0x08,
|
||||
Maximize = 0x10,
|
||||
Close = 0x20
|
||||
}
|
||||
|
||||
[Flags]
|
||||
internal enum MotifDecorations
|
||||
{
|
||||
All = 0x01,
|
||||
Border = 0x02,
|
||||
ResizeH = 0x04,
|
||||
Title = 0x08,
|
||||
Menu = 0x10,
|
||||
Minimize = 0x20,
|
||||
Maximize = 0x40,
|
||||
|
||||
}
|
||||
|
||||
[Flags]
|
||||
internal enum MotifInputMode
|
||||
{
|
||||
Modeless = 0,
|
||||
ApplicationModal = 1,
|
||||
SystemModal = 2,
|
||||
FullApplicationModal = 3
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Motif
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
internal struct MotifWmHints
|
||||
{
|
||||
internal IntPtr flags;
|
||||
internal IntPtr functions;
|
||||
internal IntPtr decorations;
|
||||
internal IntPtr input_mode;
|
||||
internal IntPtr status;
|
||||
|
||||
public override string ToString ()
|
||||
{
|
||||
return string.Format("MotifWmHints <flags={0}, functions={1}, decorations={2}, input_mode={3}, status={4}", (MotifFlags) flags.ToInt32 (), (MotifFunctions) functions.ToInt32 (), (MotifDecorations) decorations.ToInt32 (), (MotifInputMode) input_mode.ToInt32 (), status.ToInt32 ());
|
||||
}
|
||||
}
|
||||
|
||||
[Flags]
|
||||
internal enum MotifFlags
|
||||
{
|
||||
Functions = 1,
|
||||
Decorations = 2,
|
||||
InputMode = 4,
|
||||
Status = 8
|
||||
}
|
||||
|
||||
[Flags]
|
||||
internal enum MotifFunctions
|
||||
{
|
||||
All = 0x01,
|
||||
Resize = 0x02,
|
||||
Move = 0x04,
|
||||
Minimize = 0x08,
|
||||
Maximize = 0x10,
|
||||
Close = 0x20
|
||||
}
|
||||
|
||||
[Flags]
|
||||
internal enum MotifDecorations
|
||||
{
|
||||
All = 0x01,
|
||||
Border = 0x02,
|
||||
ResizeH = 0x04,
|
||||
Title = 0x08,
|
||||
Menu = 0x10,
|
||||
Minimize = 0x20,
|
||||
Maximize = 0x40,
|
||||
|
||||
}
|
||||
|
||||
[Flags]
|
||||
internal enum MotifInputMode
|
||||
{
|
||||
Modeless = 0,
|
||||
ApplicationModal = 1,
|
||||
SystemModal = 2,
|
||||
FullApplicationModal = 3
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue