mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 08:35:09 +00:00
Start working on a simple graphical font editor.
Editing fonts by editing text files is really slow and boring. A simple font editor seems like a good way to take LibGUI for a spin.
This commit is contained in:
parent
5e0b7f1a56
commit
6fc3c38324
18 changed files with 390 additions and 19 deletions
|
@ -70,7 +70,10 @@ void GWidget::paint_event(GPaintEvent& event)
|
|||
}
|
||||
for (auto* ch : children()) {
|
||||
auto* child = (GWidget*)ch;
|
||||
child->event(event);
|
||||
if (child->relative_rect().intersects(event.rect())) {
|
||||
// FIXME: Pass localized rect?
|
||||
child->event(event);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue