serenity/Userland/Applications
Jelle Raaijmakers f391ccfe53 LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive
Previously, calling `.right()` on a `Gfx::Rect` would return the last
column's coordinate still inside the rectangle, or `left + width - 1`.
This is called 'endpoint inclusive' and does not make a lot of sense for
`Gfx::Rect<float>` where a rectangle of width 5 at position (0, 0) would
return 4 as its right side. This same problem exists for `.bottom()`.

This changes `Gfx::Rect` to be endpoint exclusive, which gives us the
nice property that `width = right - left` and `height = bottom - top`.
It enables us to treat `Gfx::Rect<int>` and `Gfx::Rect<float>` exactly
the same.

All users of `Gfx::Rect` have been updated accordingly.
2023-05-23 12:35:42 +02:00
..
3DFileViewer
About
AnalogClock LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
Assistant Userland: Silence or resolve new GCC 13 warnings 2023-05-15 07:00:29 +02:00
Browser LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
BrowserSettings Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
Calculator Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
Calendar Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
CalendarSettings Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
CertificateSettings Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
CharacterMap Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
ClockSettings Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
CrashReporter
Debugger
DisplaySettings Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
Escalator
FileManager Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
FontEditor Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
GamesSettings LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
Help
HexEditor LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
ImageViewer Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
KeyboardMapper Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
KeyboardSettings Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
Magnifier LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
Mail Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
MailSettings Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
MouseSettings LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
NetworkSettings Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
PartitionEditor Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
PDFViewer Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
Piano LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
PixelPaint LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
Presenter Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
Run LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
Settings
SoundPlayer Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
SpaceAnalyzer
Spreadsheet Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
SystemMonitor LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
Terminal Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
TerminalSettings
TextEditor Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
ThemeEditor Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
VideoPlayer Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
Welcome
CMakeLists.txt