summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GResizeCorner.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/GResizeCorner.h')
-rw-r--r--Libraries/LibGUI/GResizeCorner.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/Libraries/LibGUI/GResizeCorner.h b/Libraries/LibGUI/GResizeCorner.h
index 7f27928d93..e9ade6e459 100644
--- a/Libraries/LibGUI/GResizeCorner.h
+++ b/Libraries/LibGUI/GResizeCorner.h
@@ -26,19 +26,23 @@
#include <LibGUI/GWidget.h>
-class GResizeCorner : public GWidget {
- C_OBJECT(GResizeCorner)
+namespace GUI {
+
+class ResizeCorner : public Widget {
+ C_OBJECT(ResizeCorner)
public:
- virtual ~GResizeCorner() override;
+ virtual ~ResizeCorner() override;
protected:
- explicit GResizeCorner(GWidget* parent);
+ explicit ResizeCorner(Widget* parent);
- virtual void paint_event(GPaintEvent&) override;
- virtual void mousedown_event(GMouseEvent&) override;
+ virtual void paint_event(PaintEvent&) override;
+ virtual void mousedown_event(MouseEvent&) override;
virtual void enter_event(Core::Event&) override;
virtual void leave_event(Core::Event&) override;
private:
RefPtr<GraphicsBitmap> m_bitmap;
};
+
+}