mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 19:32:06 -05:00
d6abfbdc5a
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
21 lines
366 B
C++
21 lines
366 B
C++
#pragma once
|
|
|
|
#include <LibGUI/GDialog.h>
|
|
|
|
class GFrame;
|
|
|
|
class ColorDialog final : public GDialog {
|
|
C_OBJECT(ColorDialog)
|
|
public:
|
|
virtual ~ColorDialog() override;
|
|
|
|
Color color() const { return m_color; }
|
|
|
|
private:
|
|
explicit ColorDialog(Color, CObject* parent = nullptr);
|
|
|
|
void build();
|
|
|
|
Color m_color;
|
|
RefPtr<GFrame> m_preview_widget;
|
|
};
|