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); }
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]; }
public Desktop(DisplayDriver d) { display = d; }
public MouseRenderer(MouseDriver m, DisplayDriver d, int c=2) { mouse = m; display = d; color = c; }
public MouseRenderer(MouseDriver m, DisplayDriver d, int c) { mouse = m; display = d; color = c; }
public FontRenderer(DisplayDriver dd, Font f, int sc = 2) { driver = dd; font = f; stdColor = sc; }