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:
Andreas Kling 2019-02-02 08:05:14 +01:00
commit 6fc3c38324
Notes: sideshowbarker 2024-07-19 15:53:59 +09:00
18 changed files with 390 additions and 19 deletions

View file

@ -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);
}
}
}