summaryrefslogtreecommitdiff
path: root/Libraries/LibDraw
AgeCommit message (Collapse)Author
2019-08-09Painter: Fix off-by-one in bounding rects for right-aligned textAndreas Kling
Another instance of "Rect::right() is the last pixel *inside* the rect, not the first pixel outside the rect" messing me up.
2019-08-04LibDraw: Add Font::default_bold_fixed_width_font()Andreas Kling
We need a way to get a bold version of the default fixed-width font.
2019-08-03LibDraw: Add Color::from_string(StringView)Andreas Kling
This parses hex colors in either #RRGGBBAA or #RRGGBB format. No other formats are supported at the moment.
2019-08-01Painter: Scaling RGBA32 bitmaps treated the source as alpha-less RGB32Andreas Kling
Found by PVS-Studio.
2019-07-27LibDraw: Tweak the hover highlight color.Andreas Kling
It was a tad too bright. Also make sure we're using the same color in all the different places. At some point it would be nice to improve global color settings, etc.
2019-07-23LibDraw: Add LogStream operator<< overload for Color.Andreas Kling
2019-07-21Libraries: Fix wrong paths to "Root" in the various install.sh scripts.Andreas Kling
We were installing libraries into /Libraries/Root, rather than in /Root. This made the ports system behave rather unpredictable, since I had old versions of things in /Root and new versions of things in /Libraries/Root.
2019-07-21Libraries: Remove unused "install" targets.Andreas Kling
We've been using a per-directory "install.sh" for some time, so let's get rid of the old way of doing things.
2019-07-20LibDraw: Add orientation-based size helpers to Size as well.Andreas Kling
Now you can ask for e.g Size::primary_size_for_orientation(Orientation).
2019-07-20LibDraw: Add orientation-based offset/size manipulation helpers.Andreas Kling
These are useful when doing widgets that can be switched between vertical and horizontal mode, such as GSlider. The idea is that instead of using "x" and "y" directly, you use the "primary" and "secondary" offset/size for the Orientation you're configured in.
2019-07-20LibDraw: Move the Orientation enum to its own LibDraw header file.Andreas Kling
2019-07-18StylePainter: Tweak surface highlight color to match the system warm gray.Andreas Kling
2019-07-18LibDraw: Introduce (formerly known as SharedGraphics.)Andreas Kling
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. :^)