mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +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
|
@ -145,7 +145,7 @@ void Cube::timer_event(Core::TimerEvent&)
|
|||
painter.fill_rect_with_gradient(Gfx::Orientation::Vertical, m_bitmap->rect(), Gfx::Color::White, Gfx::Color::Blue);
|
||||
|
||||
auto to_point = [](const FloatVector3& v) {
|
||||
return Gfx::Point(v.x(), v.y());
|
||||
return Gfx::IntPoint(v.x(), v.y());
|
||||
};
|
||||
|
||||
for (size_t i = 0; i < sizeof(indices) / sizeof(indices[0]) / 3; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue