public static void InitGUI_800x600() { VMWareSVGAII driver = new VMWareSVGAII(); driver.SetMode(800, 600); driver.Clear(0x16711935); MouseDriver mouseDriver = new MouseDriver(800, 600); bool OK = true; while (OK) { mouseDriver.Draw(driver); driver.Update(0, 0, 800, 600); } }
public static void InitGUI_1024x768() { VMWareSVGAII driver = new VMWareSVGAII(); driver.SetMode(1024, 768); driver.Clear(0x16711935); MouseDriver mouseDriver = new MouseDriver(1024, 768); bool OK = true; while (OK) { mouseDriver.Draw(driver); driver.Update(0, 0, 1024, 768); } }
public static void ASUSEeePC1001PX_OEM() // It's recommended that this code be deleted in outside projects as it is not wanted. { Console.WriteLine("Using ASUS EeePC 1001PX Resolution Mode"); VMWareSVGAII driver = new VMWareSVGAII(); driver.SetMode(1024, 600); driver.Clear(0x16711935); MouseDriver mouseDriver = new MouseDriver(1024, 600); bool OK = true; while (OK) { mouseDriver.Draw(driver); driver.Update(0, 0, 1024, 600); } }