summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/UIDimensions.h
AgeCommit message (Collapse)Author
2023-01-26LibGUI: Replace uses of JsonObject::get_deprecated()/get_ptr()Sam Atkins
2023-01-17AK+Everywhere: Rename JsonObject::get() to ::get_deprecated()Sam Atkins
This is a preparatory step to making `get()` return `ErrorOr`.
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-07-12Everywhere: Add sv suffix to strings relying on StringView(char const*)sin-ack
Each of these strings would previously rely on StringView's char const* constructor overload, which would call __builtin_strlen on the string. Since we now have operator ""sv, we can replace these with much simpler versions. This opens the door to being able to remove StringView(char const*). No functional changes.
2022-06-28LibGUI: Add read-only effective size properties for debuggingFrHun
These new read-only properties help with debugging layouts, by exposing the size values that are actually used for final size determination.
2022-06-28LibGUI: Remove temporary compatibility measures for new layout systemFrHun
2022-06-28LibGUI: Introduce UIDimension propertiesFrHun
2022-06-28LibGUI: Add UIDimension and UISize typesFrHun
These types are used to represent size information for layouts. They can hold integer (int) values ≥0 or special values like shrink and fit.