1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

Profiler: Rename ProfileTimelineWidget => TimelineTrack

This commit is contained in:
Andreas Kling 2021-05-06 19:00:48 +02:00
parent abc3ad01b2
commit 814200f8da
5 changed files with 22 additions and 21 deletions

View file

@ -10,7 +10,7 @@
namespace Profiler {
class ProfileTimelineWidget;
class TimelineTrack;
class TimelineView final : public GUI::Widget {
C_OBJECT(TimelineView);
@ -23,22 +23,22 @@ public:
u64 select_end_time() const { return m_select_end_time; }
u64 hover_time() const { return m_hover_time; }
void set_selecting(Badge<ProfileTimelineWidget>, bool value)
void set_selecting(Badge<TimelineTrack>, bool value)
{
m_selecting = value;
update();
}
void set_select_start_time(Badge<ProfileTimelineWidget>, u64 value)
void set_select_start_time(Badge<TimelineTrack>, u64 value)
{
m_select_start_time = value;
update();
}
void set_select_end_time(Badge<ProfileTimelineWidget>, u64 value)
void set_select_end_time(Badge<TimelineTrack>, u64 value)
{
m_select_end_time = value;
update();
}
void set_hover_time(Badge<ProfileTimelineWidget>, u64 value)
void set_hover_time(Badge<TimelineTrack>, u64 value)
{
m_hover_time = value;
update();