Beispiel #1
0
 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();
 }
Beispiel #2
0
 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();
 }
Beispiel #3
0
 private static void DrawWallpaper()
 {
     VGAGraphics.Clear(VGAColor.Cyan7);
 }
Beispiel #4
0
 private static void DrawBackground()
 {
     VGAGraphics.Clear(VGAColor.Blue3);
 }