serenity/Userland/DevTools/HackStudio
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
..
Debugger Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
Dialogs Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
Git LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
LanguageClients
LanguageServers LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
AutoCompleteResponse.h
ClassViewWidget.cpp HackStudio: Store correct address in ClassViewModel's ModelIndices 2023-03-08 23:14:21 +01:00
ClassViewWidget.h Everywhere: Stop using NonnullOwnPtrVector 2023-03-06 23:46:35 +01:00
CMakeLists.txt Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
CodeDocument.cpp HackStudio: Migrate git-diff indicators to TextEditor API 2023-03-31 12:09:40 +02:00
CodeDocument.h HackStudio: Migrate git-diff indicators to TextEditor API 2023-03-31 12:09:40 +02:00
Editor.cpp Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
Editor.h HackStudio: Move around execution order and prevent crashing 2023-04-30 06:08:22 +02:00
EditorWrapper.cpp HackStudio: Migrate git-diff indicators to TextEditor API 2023-03-31 12:09:40 +02:00
EditorWrapper.h
FindInFilesWidget.cpp Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
FindInFilesWidget.h
GMLPreviewWidget.cpp LibGUI+Userland: Port Labels to String 2023-04-30 05:48:14 +02:00
GMLPreviewWidget.h
HackStudio.h
HackStudioWidget.cpp Base+Userland: Apply Human Interface Guidelines to Object text 2023-05-23 05:59:49 +02:00
HackStudioWidget.h Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
LanguageClient.cpp HackStudio: Use Syntax::Language instead of our own one 2023-03-11 13:22:57 +00:00
LanguageClient.h HackStudio: Use Syntax::Language instead of our own one 2023-03-11 13:22:57 +00:00
Locator.cpp
Locator.h
main.cpp LibGUI: Make Application's construction fallible 2023-05-05 16:41:21 +01:00
Project.cpp Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Project.h
ProjectBuilder.cpp LibCore: Migrate Command from Deprecated{File,String} 2023-05-19 23:31:20 +02:00
ProjectBuilder.h LibFileSystem: Move TempFile from LibCore to LibFileSystem 2023-03-21 19:03:21 +00:00
ProjectConfig.cpp LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
ProjectConfig.h
ProjectDeclarations.cpp
ProjectDeclarations.h
ProjectFile.cpp LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
ProjectFile.h
ProjectTemplate.cpp HackStudio: Prefer FileSystem::copy_file_or_directory 2023-05-19 21:12:15 +02:00
ProjectTemplate.h
TerminalWrapper.cpp
TerminalWrapper.h
ToDoEntries.cpp
ToDoEntries.h
ToDoEntriesWidget.cpp Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
ToDoEntriesWidget.h