1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:57:44 +00:00

LibGfx: Unpublish Gfx::Rect from global namespace

This commit is contained in:
Andreas Kling 2020-02-06 13:02:38 +01:00
parent c39d44fc2e
commit 20cfd2a6bf
78 changed files with 262 additions and 260 deletions

View file

@ -119,7 +119,7 @@ public:
}
String title() const { return m_title; }
Rect rect() const { return m_rect; }
Gfx::Rect rect() const { return m_rect; }
bool is_active() const { return m_active; }
WindowType window_type() const { return m_window_type; }
bool is_minimized() const { return m_minimized; }
@ -140,7 +140,7 @@ public:
{
}
Rect rect() const { return m_rect; }
Gfx::Rect rect() const { return m_rect; }
private:
Gfx::Rect m_rect;
@ -165,18 +165,18 @@ private:
class MultiPaintEvent final : public Event {
public:
explicit MultiPaintEvent(const Vector<Rect, 32>& rects, const Gfx::Size& window_size)
explicit MultiPaintEvent(const Vector<Gfx::Rect, 32>& rects, const Gfx::Size& window_size)
: Event(Event::MultiPaint)
, m_rects(rects)
, m_window_size(window_size)
{
}
const Vector<Rect, 32>& rects() const { return m_rects; }
const Vector<Gfx::Rect, 32>& rects() const { return m_rects; }
Size window_size() const { return m_window_size; }
private:
Vector<Rect, 32> m_rects;
Vector<Gfx::Rect, 32> m_rects;
Gfx::Size m_window_size;
};
@ -189,7 +189,7 @@ public:
{
}
Rect rect() const { return m_rect; }
Gfx::Rect rect() const { return m_rect; }
Size window_size() const { return m_window_size; }
private: