Project-Prism / Prism-OS

An operating system written in C#, Made possible by the cosmos community!
https://project-prism.github.io/Prism-OS/
GNU General Public License v2.0
87 stars 17 forks source link

Initial GUI System and Window Manager #5

Closed CrisisSDK closed 3 years ago

CrisisSDK commented 3 years ago

Most of the GUI code is in GuiElements.cs and Desktop.cs. GUI classes should probably be split into their own files though.

Windows, text/labels, buttons, and text boxes work. Dragging windows around isn't great, but works some of the time.

A faster Canvas, double buffering, and something to mark which GUI elements to redraw so it doesn't have to redraw everything every frame are all things that it should have in the future.