This project is read-only.

Can some one give me some source code of a GUI OS for Cosmos

Jul 19, 2010 at 9:43 PM
Edited Jul 19, 2010 at 9:53 PM

Can some one give me some source code or a cosmos project that is a GUI OS for Cosmos because cant find on the internet how to get a decktop like GUI and plus when is the next milestone coming out e.g. Milestone 5

Jul 20, 2010 at 7:11 AM

first thing is if u use this code u will nolonger beable to use console.write or writeline or any of those kinds of console functions  but first u need to add a few references cosmos.hardware  and then put

using cosmos.hardware and using cosmos.sys at the very top

then use

VGAScreen.setMode320X200X8();

VGAScreen.SetPaletteEntry(0, 0, 0, 0);

VGAScreen.Clear(0;)

the use VGAScreen.setpaletteentry(# of choice, amout of red, amount of green, amount of blue);

and then VGAScreen.setPixel320X200X8(uint x, uint y, # u used in setpalette);

and that will let u set each pixel indiviualy

 

Jul 20, 2010 at 11:19 AM
Edited Jul 20, 2010 at 1:54 PM

Thanks you.

Now just need to know how to put a mouse and draw a taskbar on the bottom and draw windows.