blob: 8527f40a8bc505e39cfc7863d28929846962b71d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <AK/Function.h>
#include <AK/String.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;
};
|