blob: 2d6ae0c670d75f50e35ceba0f180857138a3995e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <LibGUI/GWidget.h>
class GResizeCorner : public GWidget {
public:
explicit GResizeCorner(GWidget* parent);
virtual ~GResizeCorner() override;
virtual const char* class_name() const override { return "GResizeCorner"; }
protected:
virtual void paint_event(GPaintEvent&) override;
virtual void mousedown_event(GMouseEvent&) override;
virtual void enter_event(CEvent&) override;
virtual void leave_event(CEvent&) override;
private:
RetainPtr<GraphicsBitmap> m_bitmap;
};
|