示例#1
0
        static void Main()
        {
            using (WndManager manager = new WndManager())
            {
                using (MonitorWnd window = new MonitorWnd(manager))
                {
                    window.Create("Kodo's Monitor", new Vec4(float.NaN, float.NaN, 1280, 720), new Vec4(3, 30, 3, 3), Color.UnpackRGB(0x485460), Color.UnpackRGB(0x1e272e), 0);

                    while (!window.ShouldClose)
                    {
                        manager.PollEvents();

                        window.Update();
                        window.Draw();
                    }
                }
            }
        }