mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 12:19:37 +03:00
24 lines
568 B
C++
24 lines
568 B
C++
#pragma once
|
|
|
|
#include <AK/String.h>
|
|
#include <AK/Function.h>
|
|
#include <LibGUI/GAbstractButton.h>
|
|
|
|
class GCheckBox : public GAbstractButton {
|
|
C_OBJECT(GCheckBox)
|
|
public:
|
|
virtual ~GCheckBox() override;
|
|
|
|
virtual void click() override;
|
|
|
|
private:
|
|
GCheckBox(const StringView&, GWidget* parent);
|
|
explicit GCheckBox(GWidget* parent);
|
|
|
|
// These don't make sense for a check box, so hide them.
|
|
using GAbstractButton::auto_repeat_interval;
|
|
using GAbstractButton::set_auto_repeat_interval;
|
|
|
|
virtual void paint_event(GPaintEvent&) override;
|
|
};
|