mirror of
https://github.com/RGBCube/serenity
synced 2025-07-15 02:47:37 +00:00
LibDraw: Put all classes in the Gfx namespace
I started adding things to a Draw namespace, but it somehow felt really wrong seeing Draw::Rect and Draw::Bitmap, etc. So instead, let's rename the library to LibGfx. :^)
This commit is contained in:
parent
939a605334
commit
11580babbf
269 changed files with 1513 additions and 1315 deletions
|
@ -49,7 +49,7 @@ protected:
|
|||
virtual void did_update_model() override;
|
||||
|
||||
private:
|
||||
virtual ModelIndex index_at_event_position(const Point&, bool& is_toggle) const override;
|
||||
virtual ModelIndex index_at_event_position(const Gfx::Point&, bool& is_toggle) const override;
|
||||
|
||||
int item_height() const { return 16; }
|
||||
int max_item_width() const { return frame_inner_rect().width(); }
|
||||
|
@ -70,8 +70,8 @@ private:
|
|||
|
||||
mutable HashMap<void*, NonnullOwnPtr<MetadataForIndex>> m_view_metadata;
|
||||
|
||||
RefPtr<GraphicsBitmap> m_expand_bitmap;
|
||||
RefPtr<GraphicsBitmap> m_collapse_bitmap;
|
||||
RefPtr<Gfx::Bitmap> m_expand_bitmap;
|
||||
RefPtr<Gfx::Bitmap> m_collapse_bitmap;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue