I need to create a simple gui toolkit based on only a raw framebuffer.
Are there any examples or papers describing such a thing?
Obviously I could implement X but I think that's a little beyond the scope :)
I need to create a simple gui toolkit based on only a raw framebuffer.
Are there any examples or papers describing such a thing?
Obviously I could implement X but I think that's a little beyond the scope :)
The best examples would be other GUI libraries out there.
Take a look at X, GTK, Microsoft's WPF and WinForms.
Also, you might want to look at other UI technologies, like HTML and CSS.
On the more minimal side, there's things like Curses and Mono's gui.cs.
Figure out how things are done, and how they could do better, and create a design. Then throw it away and create a new design, because creating a good design requires iteration.
Is this for a Linux framebuffer? SDL is a graphics library worth looking at. It is a mature open source project, which makes it a good project to study and learn from. The documentation is also pretty good. Like many GUI toolkits it has a large API set, but you don't have to use all of it and can focus on just what you are interested. Developing a GUI toolkit can be a complex task.