2023-07-28 21:37:49 +02:00
|
|
|
|
using Quik;
|
2023-09-22 20:23:59 +02:00
|
|
|
|
using Quik.CommandMachine;
|
|
|
|
|
using Quik.Controls;
|
2023-07-28 21:37:49 +02:00
|
|
|
|
using Quik.OpenTK;
|
|
|
|
|
|
2023-09-22 20:23:59 +02:00
|
|
|
|
|
2023-07-28 21:37:49 +02:00
|
|
|
|
namespace QuikDemo
|
|
|
|
|
{
|
|
|
|
|
public static class Program
|
|
|
|
|
{
|
|
|
|
|
public static readonly QuikApplication Application = new QuikApplication(new OpenTKPlatform());
|
|
|
|
|
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
2023-09-22 20:23:59 +02:00
|
|
|
|
Application.Run(new EmptyView());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class EmptyView : View
|
|
|
|
|
{
|
|
|
|
|
protected override void PaintBegin(CommandQueue cmd)
|
|
|
|
|
{
|
|
|
|
|
base.PaintBegin(cmd);
|
|
|
|
|
|
|
|
|
|
cmd.Rectangle(new QRectangle(0, 0, 16, 16));
|
2023-07-28 21:37:49 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|