mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:27:34 +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
|
@ -64,8 +64,8 @@ public:
|
|||
String shortcut_text() const { return m_shortcut_text; }
|
||||
void set_shortcut_text(const String& text) { m_shortcut_text = text; }
|
||||
|
||||
void set_rect(const Gfx::Rect& rect) { m_rect = rect; }
|
||||
Gfx::Rect rect() const;
|
||||
void set_rect(const Gfx::IntRect& rect) { m_rect = rect; }
|
||||
Gfx::IntRect rect() const;
|
||||
|
||||
unsigned identifier() const { return m_identifier; }
|
||||
|
||||
|
@ -91,7 +91,7 @@ private:
|
|||
unsigned m_identifier { 0 };
|
||||
String m_text;
|
||||
String m_shortcut_text;
|
||||
Gfx::Rect m_rect;
|
||||
Gfx::IntRect m_rect;
|
||||
RefPtr<Gfx::Bitmap> m_icon;
|
||||
int m_submenu_id { -1 };
|
||||
bool m_exclusive { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue