Andreas Kling
3e2e086011
LibGUI: Add a way for GWidget subclasses to learn that the font changed
...
Use this in GTextEditor to update the vertical scrolling step size so
we always scroll one-line-at-a-time.
2019-09-01 12:26:35 +02:00
Andreas Kling
3792c91059
LibGUI: Implement save_to(JsonObject&) for GWindow and GWidget
2019-08-19 16:34:53 +02:00
Andreas Kling
47511b5930
GWidget: Implement set_backcolor() and set_forecolor()
...
These are set-color-from-string variants used by the VisualBuilder's
code generator.
2019-08-03 11:35:10 +02:00
Andreas Kling
7dc7f11ed8
GWidget: Add set_size_policy(Orientation, Policy).
...
This allows you to set the policy for a single orientation rather than
both at the same time.
2019-07-27 09:34:28 +02:00
Andreas Kling
1c0669f010
LibDraw: Introduce (formerly known as SharedGraphics.)
...
Instead of LibGUI and WindowServer building their own copies of the drawing
and graphics code, let's it in a separate LibDraw library.
This avoids building the code twice, and will encourage better separation
of concerns. :^)
2019-07-18 10:18:16 +02:00
Andreas Kling
b522e3cc05
GWidget: Make set_font() take either Font* or Font&.
2019-07-11 16:02:39 +02:00
Andreas Kling
04b9dc2d30
Libraries: Create top level directory for libraries.
...
Things were getting a little crowded in the project root, so this patch
moves the Lib*/ directories into Libraries/.
2019-07-04 16:16:50 +02:00