mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 04:55:00 +00:00

This change allows for continuous mouse events when hovering the layout spaces between tracks.
34 lines
651 B
C++
34 lines
651 B
C++
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibGUI/Frame.h>
|
|
|
|
namespace Profiler {
|
|
|
|
class Process;
|
|
class Profile;
|
|
class TimelineView;
|
|
|
|
class TimelineTrack final : public GUI::Frame {
|
|
C_OBJECT(TimelineTrack);
|
|
|
|
public:
|
|
virtual ~TimelineTrack() override;
|
|
|
|
private:
|
|
virtual void event(Core::Event&) override;
|
|
virtual void paint_event(GUI::PaintEvent&) override;
|
|
|
|
explicit TimelineTrack(TimelineView const&, Profile const&, Process const&);
|
|
|
|
TimelineView const& m_view;
|
|
Profile const& m_profile;
|
|
Process const& m_process;
|
|
};
|
|
|
|
}
|