serenity/Userland/DevTools/Profiler
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
..
CMakeLists.txt Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
DisassemblyModel.cpp Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
DisassemblyModel.h Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
EventSerialNumber.h Profiler: Use sequential serial numbers for profiling events 2021-06-03 01:16:32 +01:00
FilesystemEventModel.cpp Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
FilesystemEventModel.h Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
FlameGraphView.cpp LibGfx+Userland: Merge FrameShape and FrameShadow into FrameStyle 2023-04-30 05:49:46 +02:00
FlameGraphView.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Gradient.cpp LibGfx: Remove try_ prefix from bitmap creation functions 2023-01-26 20:24:37 +00:00
Gradient.h Profiler: Extract percentage gradient calculation into its own file 2021-12-28 23:17:24 +01:00
Histogram.h Profiler: Add histogram for sample counts 2021-05-14 00:35:57 +02:00
IndividualSampleModel.cpp Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
IndividualSampleModel.h Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
main.cpp LibGUI: Make Application's construction fallible 2023-05-05 16:41:21 +01:00
PercentageFormatting.h Profiler: Standardize percentage formatting 2023-02-02 14:37:01 +01:00
Process.cpp Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Process.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Profile.cpp Everywhere: Remove NonnullOwnPtr.h includes 2023-03-06 23:46:35 +01:00
Profile.h Everywhere: Remove NonnullRefPtr.h includes 2023-03-06 23:46:35 +01:00
ProfileModel.cpp Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
ProfileModel.h Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
SamplesModel.cpp Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
SamplesModel.h Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
SignpostsModel.cpp Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
SignpostsModel.h Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
SourceModel.cpp Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
SourceModel.h Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
TimelineContainer.cpp Profiler: Fix unmovable splitter 2022-08-16 16:53:24 +02:00
TimelineContainer.h DevTools: Use default constructors/destructors 2022-02-16 07:33:15 -05:00
TimelineHeader.cpp LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
TimelineHeader.h Userland: Fix remaining smart pointer const-correctness issues 2023-02-21 00:54:04 +01:00
TimelineTrack.cpp LibGfx+Userland: Merge FrameShape and FrameShadow into FrameStyle 2023-04-30 05:49:46 +02:00
TimelineTrack.h DevTools: Use default constructors/destructors 2022-02-16 07:33:15 -05:00
TimelineView.cpp DevTools: Use default constructors/destructors 2022-02-16 07:33:15 -05:00
TimelineView.h DevTools: Use default constructors/destructors 2022-02-16 07:33:15 -05:00