summaryrefslogtreecommitdiff
path: root/Widgets/Label.h
blob: 959b284e7518bc2e03588079f28f485f66989b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"; }
};