summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GListView.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-06 13:02:38 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-06 13:02:38 +0100
commit20cfd2a6bff8c469970651dd73ffee60ab0e5176 (patch)
tree4f92b38ae97fb0add184ccae97d679f484ef1a49 /Libraries/LibGUI/GListView.h
parentc39d44fc2ef0d2e5435524c5b96b5a367df2438b (diff)
downloadserenity-20cfd2a6bff8c469970651dd73ffee60ab0e5176.zip
LibGfx: Unpublish Gfx::Rect from global namespace
Diffstat (limited to 'Libraries/LibGUI/GListView.h')
-rw-r--r--Libraries/LibGUI/GListView.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/GListView.h b/Libraries/LibGUI/GListView.h
index be0d062a63..e12131d206 100644
--- a/Libraries/LibGUI/GListView.h
+++ b/Libraries/LibGUI/GListView.h
@@ -54,7 +54,7 @@ public:
Point adjusted_position(const Gfx::Point&) const;
virtual ModelIndex index_at_event_position(const Gfx::Point&) const override;
- virtual Rect content_rect(const ModelIndex&) const override;
+ virtual Gfx::Rect content_rect(const ModelIndex&) const override;
int model_column() const { return m_model_column; }
void set_model_column(int column) { m_model_column = column; }
@@ -66,7 +66,7 @@ private:
virtual void keydown_event(KeyEvent&) override;
virtual void resize_event(ResizeEvent&) override;
- Rect content_rect(int row) const;
+ Gfx::Rect content_rect(int row) const;
int item_count() const;
void update_content_size();