1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 17:25:07 +00:00

Implement basic support for variable-width fonts.

Also add a nice new font called Katica. It's not used anywhere yet but
I'm definitely itching to start using it. :^)
This commit is contained in:
Andreas Kling 2019-03-06 12:52:41 +01:00
parent 0a86366c71
commit 7f6c81d90f
8 changed files with 95 additions and 22 deletions

View file

@ -47,6 +47,8 @@ void GCheckBox::set_checked(bool b)
if (m_checked == b)
return;
m_checked = b;
if (on_change)
on_change(*this, b);
update();
}