Age | Commit message (Collapse) | Author |
|
|
|
|
|
This feels vaguely crashy. I haven't tested window/widget destruction
before so there's sure to be bugs.
|
|
|
|
|
|
|
|
auto* b = new Button;
b->onClick = [] (Button&) {
printf("The button was clicked!\n");
};
|
|
|
|
|
|
ListBox now renders differently depending on focus state.
|
|
|
|
We draw the active window in a different color, obviously. :^)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Now it has a text() which is what you'll usually want.
|
|
|
|
|
|
Only repaint windows that intersect either the old or the new rect.
Also only repaint those rects in the root widget.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There's some really hideous plumbing with globals going on here, but my
priority right now is getting a basic VT100 terminal emulator working.
|
|
|
|
|