protected override void BeforeRun() { VGADriverII.Initialize(VGAMode.Pixel320x200DB); draw.FromByteArray(System.Graphics.Images.BootScreen); VGAGraphics.DrawImage(0, 0, draw); VGAGraphics.Display(); draw.FromByteArray(System.Graphics.Images.Cursor); }
public static void Run() { VGAGraphics.Clear(VGAColor.Black); //draw current window (windows are always fullscreen for now) if (!(windows.Count == 0)) { windows[RunningIndex].Run(); } //draw mouse VGAGraphics.DrawImage((int)MouseManager.X, (int)MouseManager.Y, VGAColor.Magenta, ImgCursor); VGADriverII.Display(); }
public static void Run() { VGAGraphics.Clear(VGAColor.Black); foreach (var window in windows) { window.Draw(); } if (windows.Count != 0) { windows[RunningIndex].Run(); } //draw mouse VGAGraphics.DrawImage((int)MouseManager.X, (int)MouseManager.Y, VGAColor.Magenta, ImgCursor); VGADriverII.Display(); }
protected override void Run() { VGADriverII.Clear(206); VGAGraphics.DrawImage((int)Sys.MouseManager.X, (int)Sys.MouseManager.Y, draw); VGADriverII.Display(); }