mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +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:
parent
656b01eb0f
commit
116cf92156
212 changed files with 1144 additions and 1144 deletions
|
@ -41,8 +41,8 @@ public:
|
|||
void set_wallpaper_mode(String mode);
|
||||
String wallpaper_mode();
|
||||
|
||||
void set_desktop_resolution(Gfx::Size resolution);
|
||||
Gfx::Size desktop_resolution();
|
||||
void set_desktop_resolution(Gfx::IntSize resolution);
|
||||
Gfx::IntSize desktop_resolution();
|
||||
|
||||
void set_background_color(Gfx::Color background_color);
|
||||
Gfx::Color background_color();
|
||||
|
@ -50,12 +50,12 @@ public:
|
|||
private:
|
||||
virtual void paint_event(GUI::PaintEvent& event) override;
|
||||
|
||||
Gfx::Rect m_monitor_rect;
|
||||
Gfx::IntRect m_monitor_rect;
|
||||
RefPtr<Gfx::Bitmap> m_monitor_bitmap;
|
||||
|
||||
String m_desktop_wallpaper_path;
|
||||
RefPtr<Gfx::Bitmap> m_desktop_wallpaper_bitmap;
|
||||
String m_desktop_wallpaper_mode;
|
||||
Gfx::Size m_desktop_resolution;
|
||||
Gfx::IntSize m_desktop_resolution;
|
||||
Gfx::Color m_desktop_color;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue