summaryrefslogtreecommitdiff
path: root/Widgets/Label.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-10 16:49:36 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-10 16:49:36 +0200
commit6f37429f5744066e28a1dbfdd30d6406ec653c27 (patch)
treeeceec39f7e0a886888c021ec2b220708c682a154 /Widgets/Label.h
parent8c84f9749e3220de767c78a2588808f0d9c54d79 (diff)
downloadserenity-6f37429f5744066e28a1dbfdd30d6406ec653c27.zip
Intense hacking on Widgets.
Diffstat (limited to 'Widgets/Label.h')
-rw-r--r--Widgets/Label.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Widgets/Label.h b/Widgets/Label.h
new file mode 100644
index 0000000000..959b284e75
--- /dev/null
+++ b/Widgets/Label.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "Widget.h"
+
+class Label final : public Widget {
+public:
+ explicit Label(Widget* parent);
+ virtual ~Label() override;
+
+private:
+ virtual void onPaint(PaintEvent&) override;
+ virtual void onMouseMove(MouseEvent&) override;
+
+ virtual const char* className() const override { return "Label"; }
+};
+