ladybird/Libraries
Andreas Kling 7b2dd7e116 LibDraw+LibGUI: Allow changing individual colors in a Palette
Palette is now a value wrapper around a NonnullRefPtr<PaletteImpl>.
A new function, set_color(ColorRole, Color) implements a simple
copy-on-write mechanism so that we're sharing the PaletteImpl in the
common case, but allowing you to create custom palettes if you like,
by getting a GWidget's palette, modifying it, and then assigning the
modified palette to the widget via GWidget::set_palette().

Use this to make PaintBrush show its palette colors once again.

Fixes #943.
2019-12-29 00:47:49 +01:00
..
LibAudio Build: wrap make invocations with flock(1) 2019-12-28 21:09:33 +01:00
LibC Build: wrap make invocations with flock(1) 2019-12-28 21:09:33 +01:00
LibCore LibCore: Allow LibCore to be compiled on macOS host 2019-12-27 02:19:55 +01:00
LibDraw LibDraw+LibGUI: Allow changing individual colors in a Palette 2019-12-29 00:47:49 +01:00
LibELF Kernel: Make kernel memory regions be non-executable by default 2019-12-25 22:41:34 +01:00
LibGUI LibDraw+LibGUI: Allow changing individual colors in a Palette 2019-12-29 00:47:49 +01:00
LibHTML LibHTML: Add missing flock to Makefile (thanks jcs) 2019-12-28 23:58:52 +01:00
LibIPC Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibM Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibMarkdown Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibPCIDB Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibProtocol Build: wrap make invocations with flock(1) 2019-12-28 21:09:33 +01:00
LibPthread LibPthread: Log debug info to debug console instead of stdout (#931) 2019-12-27 15:53:02 +01:00
LibThread Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibVT Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
Makefile Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00