Andreas Kling
a026da47e7
Move Widget & friends into LibGUI.
2019-01-19 23:49:56 +01:00
Andreas Kling
7750e6952b
Move some more classes to the new coding style.
2019-01-16 17:57:58 +01:00
Andreas Kling
1d914cbd84
Minor GUI API things + make Button corners properly transparent.
2019-01-13 06:26:20 +01:00
Andreas Kling
ecb7e16202
Fix more underdraw bugs in Button due to new Rect semantics.
2019-01-12 17:18:52 +01:00
Andreas Kling
bac9aa90dd
Update Painter class to the new coding style.
2019-01-12 17:02:54 +01:00
Andreas Kling
db0dbbd979
Fix unpainted area in Button rendering.
2019-01-12 04:11:44 +01:00
Andreas Kling
f6d2c3ed87
Hook everything up to run the GUI on top of the kernel.
...
Okay things kinda sorta work. Both Bochs and QEMU now boot into GUI mode.
There's a ton of stuff that doesn't make sense and so many things to rework.
Still it's quite cool to have made it this far. :^)
2019-01-10 23:19:29 +01:00
Andreas Kling
ec1c487dcd
Yet another pass of style fixes.
2018-12-21 02:10:45 +01:00
Andreas Kling
7a0a7abc52
Try out a signal-like system like this:
...
auto* b = new Button;
b->onClick = [] (Button&) {
printf("The button was clicked!\n");
};
2018-10-13 23:01:06 +02:00
Andreas Kling
a3fb19fe9c
Use fooEvent() type names for the virtual event handlers.
2018-10-13 22:51:50 +02:00
Andreas Kling
e16d145cb4
Some color cleanup.
2018-10-12 23:02:23 +02:00
Andreas Kling
0dcdbe3e03
Make buttons pressable.
2018-10-12 15:52:41 +02:00
Andreas Kling
5412dac05d
Paint Button in a very Windows 3-ish style.
2018-10-12 14:58:16 +02:00
Andreas Kling
16576112b0
Add a CheckBox widget.
2018-10-12 14:16:40 +02:00
Andreas Kling
f337616741
More hacking on Widgets.
2018-10-11 01:48:09 +02:00