dennis95 / dennix

Dennix is a unix-like hobbyist operating system written from scratch.
ISC License
163 stars 13 forks source link

Add a GUI #20

Closed dennis95 closed 3 years ago

dennis95 commented 3 years ago

We should be able to run multiple graphical applications at the same time rather than just one fullscreen application.

dennis95 commented 3 years ago

This would also give us something interesting to show in screenshots (#18).

00p513-dev commented 3 years ago

Maybe X Windows could be ported? Of course once #22 #23 and #24 are fixed

dennis95 commented 3 years ago

I have created a little GUI demo in the gui-demo branch.

It supports multiple windows, transparency, resizing, and each window has a working close button.

What is still missing to make the GUI useful, is the ability for applications to create their own windows inside the GUI and a way for the GUI to forward events to those applications. That can be implemented once sockets (#23) exist.

gui-demo

dennis95 commented 3 years ago

The gui branch now contains a working GUI compositor. Applications can create windows within the GUI and receive events about key presses, mouse movements, etc. Further changes will be required before it is ready to be merged into the master branch.

gui

dennis95 commented 3 years ago

The GUI has now been merged into the master branch. gui