daily update on 20230609 by nitload youmu, graphic arragement for better form init
This commit is contained in:
@@ -9,40 +9,17 @@ internal class Program
|
||||
{
|
||||
private unsafe static void Main(string[] args)
|
||||
{
|
||||
#if DEBUG
|
||||
|
||||
ProgramTimeLine.InitProgram();
|
||||
/**/
|
||||
|
||||
Window window = new Window();
|
||||
window.width = 800;
|
||||
window.height = 600;
|
||||
window.name = "StgSharp";
|
||||
window.color = new vec4d(0.1f,0.9f,0.2f,1.0f);
|
||||
|
||||
IntPtr windowPtr = internalIO. InitWindow(window);
|
||||
internalIO.RenderWindow(windowPtr,window);
|
||||
internalIO.TerminateWindow();
|
||||
Form f = new Form();
|
||||
f.Show();
|
||||
|
||||
/*
|
||||
Form f2 = new Form();
|
||||
f2.Color = new vec4d(0.1,0.5,0.5,0.1);
|
||||
f2.Init();
|
||||
/**/
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
public unsafe class myClass
|
||||
{
|
||||
internal int* aPtr;
|
||||
|
||||
public int A
|
||||
{
|
||||
get { return *aPtr; }
|
||||
private set { *aPtr = value; }
|
||||
}
|
||||
|
||||
public myClass(int* ptr)
|
||||
{
|
||||
this.aPtr = ptr;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user