summaryrefslogtreecommitdiff
path: root/Widgets/Label.h
diff options
context:
space:
mode:
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"; }
+};
+