2019-09-21 10:49:35 -07:00
|
|
|
#pragma warning disable 168
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Diagnostics;
|
|
|
|
using System.Threading;
|
2020-04-29 06:40:03 -07:00
|
|
|
using System.Collections;
|
2019-09-21 10:49:35 -07:00
|
|
|
|
2020-05-22 06:40:06 -07:00
|
|
|
namespace SDL
|
|
|
|
{
|
|
|
|
struct SDL_Cursor
|
|
|
|
{
|
|
|
|
int mA;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
struct ImGui
|
|
|
|
{
|
|
|
|
public enum MouseCursor
|
|
|
|
{
|
|
|
|
A,
|
|
|
|
B,
|
|
|
|
C,
|
|
|
|
D,
|
|
|
|
COUNT
|
|
|
|
}
|
|
|
|
}
|
2020-05-04 07:15:38 -07:00
|
|
|
|
2020-04-29 06:40:03 -07:00
|
|
|
struct Blurg
|
2019-09-29 07:44:39 -07:00
|
|
|
{
|
2020-05-22 06:40:06 -07:00
|
|
|
//private static SDL.SDL_Cursor*[(.)ImGui.MouseCursor.COUNT] g_MouseCursors = .(null,);
|
|
|
|
|
|
|
|
private static SDL.SDL_Cursor*[(.)ImGui.MouseCursor.COUNT] g_MouseCursors = .(null,);
|
2020-05-04 07:15:38 -07:00
|
|
|
|
2020-04-29 06:40:03 -07:00
|
|
|
public static void Hey()
|
2020-01-06 13:49:35 -08:00
|
|
|
{
|
2020-05-22 06:40:06 -07:00
|
|
|
let cur = new SDL.SDL_Cursor();
|
2020-01-06 13:49:35 -08:00
|
|
|
|
2020-05-22 06:40:06 -07:00
|
|
|
g_MouseCursors[0] = cur;
|
|
|
|
g_MouseCursors[1] = cur;
|
|
|
|
g_MouseCursors[2] = cur;
|
2020-05-15 15:09:00 -07:00
|
|
|
}
|
2020-01-06 13:49:35 -08:00
|
|
|
|
2020-04-10 08:58:12 -07:00
|
|
|
}
|
2020-05-22 06:40:06 -07:00
|
|
|
|
|
|
|
|
|
|
|
class TestClass
|
|
|
|
{
|
|
|
|
public void GetIt(ref TestClass tc)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public this()
|
|
|
|
{
|
|
|
|
/*let a = &this;
|
|
|
|
|
|
|
|
GetIt(ref this);*/
|
|
|
|
}
|
|
|
|
}
|