mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibGUI: Add alpha preview to ColorPicker
This commit is contained in:
parent
59a0e5ba1e
commit
5b7decc3af
Notes:
sideshowbarker
2024-07-19 02:13:34 +09:00
Author: https://github.com/xTibor
Commit: 5b7decc3af
Pull-request: https://github.com/SerenityOS/serenity/pull/3598
2 changed files with 46 additions and 17 deletions
|
@ -32,6 +32,7 @@
|
|||
namespace GUI {
|
||||
|
||||
class ColorButton;
|
||||
class ColorPreview;
|
||||
class CustomColorWidget;
|
||||
|
||||
class ColorPicker final : public Dialog {
|
||||
|
@ -58,7 +59,7 @@ private:
|
|||
|
||||
Vector<ColorButton*> m_color_widgets;
|
||||
RefPtr<CustomColorWidget> m_custom_color;
|
||||
RefPtr<Widget> m_preview_widget;
|
||||
RefPtr<ColorPreview> m_preview_widget;
|
||||
RefPtr<TextBox> m_html_text;
|
||||
RefPtr<SpinBox> m_red_spinbox;
|
||||
RefPtr<SpinBox> m_green_spinbox;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue