daily update on 20230628 by nitload youmu, new debug and graphic lib added
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using StgSharp.Graphics.GL;
|
||||
using StgSharp.Math;
|
||||
using StgSharp.Math;
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
@@ -11,7 +10,7 @@ namespace StgSharp.Graphics
|
||||
public int width;
|
||||
public int height;
|
||||
public vec4d color;
|
||||
public string name;
|
||||
public byte[] name;
|
||||
}
|
||||
|
||||
public unsafe class Form
|
||||
@@ -19,7 +18,7 @@ namespace StgSharp.Graphics
|
||||
internal IntPtr windowPtr;
|
||||
internal formInfo info;
|
||||
internal IntPtr shader;
|
||||
internal LinkedList<Pool> allControl;
|
||||
internal LinkedList<Pool> allControl = new LinkedList<Pool>();
|
||||
|
||||
public vec2d Size
|
||||
{
|
||||
@@ -55,35 +54,8 @@ namespace StgSharp.Graphics
|
||||
/// </summary>
|
||||
public Form()
|
||||
{
|
||||
info = new formInfo();
|
||||
allControl = new LinkedList<Pool>();
|
||||
Init();
|
||||
//StgSharp.Graphic.LoadForm(this);
|
||||
|
||||
}
|
||||
|
||||
//used for internal control purpose
|
||||
internal Form(int instruction)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
internal unsafe void defualtInit()
|
||||
{
|
||||
//IntPtr windowPtr = Graphic.InitWindow(this);
|
||||
}
|
||||
|
||||
public virtual void Init()
|
||||
{
|
||||
info.color = new vec4d(0.95, 0.93, 0.92, 0);
|
||||
info.width = 800;
|
||||
info.height = 600;
|
||||
//this.windowPtr = Graphic.InitWindow(this);
|
||||
}
|
||||
|
||||
public void Show()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user