mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
149b7f92a7
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. :^)
20 lines
455 B
C++
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;
|
|
};
|
|
|