mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +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
|
@ -50,8 +50,8 @@ public:
|
|||
String title() const { return m_title; }
|
||||
void set_title(const String& title) { m_title = title; }
|
||||
|
||||
Gfx::Rect rect() const { return m_rect; }
|
||||
void set_rect(const Gfx::Rect& rect) { m_rect = rect; }
|
||||
Gfx::IntRect rect() const { return m_rect; }
|
||||
void set_rect(const Gfx::IntRect& rect) { m_rect = rect; }
|
||||
|
||||
GUI::Button* button() { return m_button; }
|
||||
void set_button(GUI::Button* button) { m_button = button; }
|
||||
|
@ -77,7 +77,7 @@ public:
|
|||
private:
|
||||
WindowIdentifier m_identifier;
|
||||
String m_title;
|
||||
Gfx::Rect m_rect;
|
||||
Gfx::IntRect m_rect;
|
||||
RefPtr<GUI::Button> m_button;
|
||||
RefPtr<Gfx::Bitmap> m_icon;
|
||||
bool m_active { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue