1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:57:35 +00:00

LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize

This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much
better visual clue about what type of metric is being used.
This commit is contained in:
Andreas Kling 2020-06-10 10:57:59 +02:00
parent 656b01eb0f
commit 116cf92156
212 changed files with 1144 additions and 1144 deletions

View file

@ -53,7 +53,7 @@ public:
void compose();
void invalidate();
void invalidate(const Gfx::Rect&);
void invalidate(const Gfx::IntRect&);
bool set_resolution(int desired_width, int desired_height);
@ -65,7 +65,7 @@ public:
String wallpaper_path() const { return m_wallpaper_path; }
void invalidate_cursor();
Gfx::Rect current_cursor_rect() const;
Gfx::IntRect current_cursor_rect() const;
void increment_display_link_count(Badge<ClientConnection>);
void decrement_display_link_count(Badge<ClientConnection>);
@ -76,14 +76,14 @@ private:
Compositor();
void init_bitmaps();
void flip_buffers();
void flush(const Gfx::Rect&);
void flush(const Gfx::IntRect&);
void draw_cursor();
void draw_geometry_label();
void draw_menubar();
void run_animations();
void notify_display_links();
bool any_opaque_window_contains_rect(const Gfx::Rect&);
bool any_opaque_window_above_this_one_contains_rect(const Window&, const Gfx::Rect&);
bool any_opaque_window_contains_rect(const Gfx::IntRect&);
bool any_opaque_window_above_this_one_contains_rect(const Window&, const Gfx::IntRect&);
RefPtr<Core::Timer> m_compose_timer;
RefPtr<Core::Timer> m_immediate_compose_timer;
@ -98,9 +98,9 @@ private:
Gfx::DisjointRectSet m_dirty_rects;
Gfx::Rect m_last_cursor_rect;
Gfx::Rect m_last_dnd_rect;
Gfx::Rect m_last_geometry_label_rect;
Gfx::IntRect m_last_cursor_rect;
Gfx::IntRect m_last_dnd_rect;
Gfx::IntRect m_last_geometry_label_rect;
String m_wallpaper_path;
WallpaperMode m_wallpaper_mode { WallpaperMode::Unchecked };