Example #1
0
        private static void DoGraphics()
        {
            black = (uint)Color.Black.ToArgb();
            gray  = (uint)Color.Gray.ToArgb();

            for (; ;)
            {
                if (hasFS)
                {
                    VBEDisplay.Framebuffer.DrawImage(wallpaper, 0, 0, false);
                }
                else
                {
                    VBEDisplay.Framebuffer.ClearScreen(gray);
                }

                MosaLogo.Draw(VBEDisplay.Framebuffer, 10);
                DrawMouse();

                VBEDisplay.Framebuffer.SwapBuffers();
            }
        }
Example #2
0
        private static void DoGraphics()
        {
            VBEDisplay.Framebuffer.FillRectangle(0x00555555, 0, 0, VBEDisplay.Framebuffer.Width, VBEDisplay.Framebuffer.Height);

            MosaLogo.Draw(VBEDisplay.Framebuffer, 10);
        }