Exemple #1
0
        public Monitor()
        {
            int width = 320;
            int height = 200;
            Taskbar = new Image(width, height);
            Mouse = new Image(width, height);
            this.curdriver = new Drivers.VGADriver();
            //this.curdriver.Initialize();
            this.Width = width;
            this.Height = height;
            WindowManager = new OForms.Windows.WindowManager(new Vec2(width, height));

            InitializeMouse();

            Taskbar.Clear(Colors.White); // Clear the screen white.
            CurrentDriver.Update(Taskbar);
        }
Exemple #2
0
        public Monitor()
        {
            int width  = 320;
            int height = 200;

            Taskbar        = new Image(width, height);
            Mouse          = new Image(width, height);
            this.curdriver = new Drivers.VGADriver();
            //this.curdriver.Initialize();
            this.Width    = width;
            this.Height   = height;
            WindowManager = new OForms.Windows.WindowManager(new Vec2(width, height));

            InitializeMouse();

            Taskbar.Clear(Colors.White); // Clear the screen white.
            CurrentDriver.Update(Taskbar);
        }