1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:07:34 +00:00

LibGUI: Add alpha preview to ColorPicker

This commit is contained in:
Tibor Nagy 2020-09-25 17:01:58 +02:00 committed by Andreas Kling
parent 59a0e5ba1e
commit 5b7decc3af
2 changed files with 46 additions and 17 deletions

View file

@ -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;