getHeight() public method

public getHeight ( ) : int
return int
Beispiel #1
0
        protected override void BeforeRun()
        {
            //This function is called before COSMOS starts
            //Console.WriteLine("Cosmos booted sucessfully, now starting Kernel");
            display = new BufferedDisplayDriver();
            PrintDebug("After display create");
            display.init();
            PrintDebug("After display init");

            mouse = new MouseDriver(display.getHeight(), display.getWidth());
            mr = new MouseRenderer(mouse, display, 2);
        }
Beispiel #2
0
        public WindowManager(DisplayDriver dd, Desktop desk, FontRenderer fr)
        {
            display = dd;
            desktop = desk;
            fontRenderer = fr;

            sX = 10;
            sY = 10;
            eX = display.getWidth() - 10;
            eY = display.getHeight() - 10;

            backGroundWindows = new Window[0];
        }