ladybird/LibGUI/GCheckBox.h
Andreas Kling 149b7f92a7 Demos: Start working on a simple WidgetGallery app.
It's good to have a place where we can try out all the different widgets.
This needs some more work on a nice layout, and should also include more
of the widgets. :^)
2019-05-24 22:47:41 +02:00

20 lines
455 B
C++

#pragma once
#include <AK/AKString.h>
#include <AK/Function.h>
#include <LibGUI/GAbstractButton.h>
class GCheckBox : public GAbstractButton {
public:
GCheckBox(const String&, GWidget* parent);
explicit GCheckBox(GWidget* parent);
virtual ~GCheckBox() override;
virtual void click() override;
virtual const char* class_name() const override { return "GCheckBox"; }
private:
virtual void paint_event(GPaintEvent&) override;
};