mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
18 lines
509 B
C++
18 lines
509 B
C++
#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:
|
|
RefPtr<GraphicsBitmap> m_bitmap;
|
|
};
|