thankyouverycool
55423b4ed0
LibGfx+Userland: Add width_rounded_up() helper
2023-04-15 15:24:50 +02:00
Karol Kosek
ee5838084d
LibCore+Userland: Add DEPRECATED infix to REGISTER_STRING_PROPERTY macro
2023-03-16 09:58:42 +01:00
Andreas Kling
b71c7a6e44
Userland: Use Font::pixel_size_rounded_up() instead of glyph_height()
...
The only remaining clients of this API are specific to bitmap fonts and
editing thereof.
2023-03-04 00:29:38 +01:00
Andreas Kling
6c8e9fa1b3
LibGUI: Paint the GroupBox title with left alignment
...
This fixes an issue where the title would shift around at the subpixel
level when appended to. (Only matters for vector fonts.)
2023-03-04 00:29:38 +01:00
Andreas Kling
f1e0eb8a25
LibGUI: Round up font sizes in various widget size calculations
2023-03-03 15:23:47 +01:00
Andreas Kling
3407ab0fd1
LibGfx: Make Font::width() return a float
2023-01-03 15:25:02 +01:00
Cameron Youell
4e3b965d7f
LibGUI: Fix a typo
2022-12-05 13:59:00 +00:00
FrHun
6f9777d35b
LibGUI: Add layout change propagation to Widget
...
This function is intended to propagate layout changes upwards in the
widget hierarchy. Widgets that can know what to do with this
information without causing a full layout invalidation (i.e. just
because one of their child widgets changed layout/size, doesn't
necessairily mean that they have to change their layout/size) can
override this and prevent a full relayout and redraw.
2022-06-30 11:53:50 +02:00
Simon Wanner
206d6ece55
LibGfx: Move other font-related files to LibGfx/Font/
2022-04-09 23:48:18 +02:00
Lenny Maiorani
fe3b846ac8
Libraries: Use default constructors/destructors in LibGUI
...
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules
"The compiler is more likely to get the default semantics right and
you cannot implement these functions better than the compiler."
2022-03-12 14:44:43 -08:00
Andreas Kling
8b1108e485
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
FrHun
a21ea5f10f
LibGUI: Invalidate GroupBox layout on font change
2021-11-03 16:13:19 +01:00
FrHun
4955769ab8
LibGUI: Implement content_margins for GroupBox
2021-11-03 16:13:19 +01:00
Andreas Kling
3652ab8b2a
LibGUI: Tweak GUI::GroupBox title text position
2021-07-20 21:50:06 +02:00
Brian Gianforcaro
1682f0b760
Everything: Move to SPDX license identifiers in all files.
...
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-22 11:22:27 +02:00
thankyouverycool
bbbcddb252
LibGUI: Ignore glyph dimensions when painting a titleless GroupBox
2021-02-22 09:21:30 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00