daily update on 20230511 by nitlod youmu
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using StgSharp.Control;
|
||||
using StgSharp.Graphics;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace StgSharp
|
||||
{
|
||||
public static class Graphic
|
||||
{
|
||||
private const string glPackageName = "StgSharpGraphics.dll";
|
||||
private static GraphicIO glIO;
|
||||
|
||||
static Graphic()
|
||||
{
|
||||
glIO = InitPackage();
|
||||
initWindow = glIO.initWindowPtr;
|
||||
}
|
||||
|
||||
public static InitWindow initWindow ;
|
||||
|
||||
[DllImport(glPackageName, EntryPoint = "initPackage")]
|
||||
internal static extern GraphicIO InitPackage();
|
||||
|
||||
[DllImport(glPackageName, EntryPoint = "initWindow")]
|
||||
public static extern void Window(int width,int height);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user