mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:47: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
|
@ -60,7 +60,7 @@ class Field final : public GUI::Frame {
|
|||
friend class Square;
|
||||
friend class SquareLabel;
|
||||
public:
|
||||
Field(GUI::Label& flag_label, GUI::Label& time_label, GUI::Button& face_button, Function<void(Gfx::Size)> on_size_changed);
|
||||
Field(GUI::Label& flag_label, GUI::Label& time_label, GUI::Button& face_button, Function<void(Gfx::IntSize)> on_size_changed);
|
||||
virtual ~Field() override;
|
||||
|
||||
size_t rows() const { return m_rows; }
|
||||
|
@ -126,5 +126,5 @@ private:
|
|||
bool m_chord_preview { false };
|
||||
bool m_first_click { true };
|
||||
bool m_single_chording { true };
|
||||
Function<void(Gfx::Size)> m_on_size_changed;
|
||||
Function<void(Gfx::IntSize)> m_on_size_changed;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue