mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:47:44 +00:00
Profiler: Migrate mouse events to TimelineView
This change allows for continuous mouse events when hovering the layout spaces between tracks.
This commit is contained in:
parent
99f141522a
commit
325d9445fd
5 changed files with 76 additions and 57 deletions
|
@ -21,17 +21,13 @@ public:
|
|||
virtual ~TimelineTrack() override;
|
||||
|
||||
private:
|
||||
virtual void event(Core::Event&) override;
|
||||
virtual void paint_event(GUI::PaintEvent&) override;
|
||||
virtual void mousedown_event(GUI::MouseEvent&) override;
|
||||
virtual void mousemove_event(GUI::MouseEvent&) override;
|
||||
virtual void mouseup_event(GUI::MouseEvent&) override;
|
||||
|
||||
explicit TimelineTrack(TimelineView&, Profile&, Process const&);
|
||||
explicit TimelineTrack(TimelineView const&, Profile const&, Process const&);
|
||||
|
||||
u64 timestamp_at_x(int x) const;
|
||||
|
||||
TimelineView& m_view;
|
||||
Profile& m_profile;
|
||||
TimelineView const& m_view;
|
||||
Profile const& m_profile;
|
||||
Process const& m_process;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue