mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
LibGUI: Put all classes in the GUI namespace and remove the leading G
This took me a moment. Welcome to the new world of GUI::Widget! :^)
This commit is contained in:
parent
2d39da5405
commit
c5bd9d4ed1
337 changed files with 5400 additions and 4816 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue