32 lines
782 B
C#
32 lines
782 B
C#
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);
|
|
}
|
|
}
|