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(); }
private static void DrawWallpaper() { VGAGraphics.Clear(VGAColor.Cyan7); }
private static void DrawBackground() { VGAGraphics.Clear(VGAColor.Blue3); }