1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-04 01:58:11 +00:00
serenity/Userland/DevTools/Profiler/TimelineView.cpp
Andreas Kling abc3ad01b2 Profiler: Add TimelineView widget and make the timeline cursor global
There's no longer a cursor in each process timeline, instead the parent
widget keeps track of it (along with the selection) and it all moves
in sync.
2021-05-06 22:18:45 +02:00

22 lines
333 B
C++

/*
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "TimelineView.h"
#include <LibGUI/BoxLayout.h>
namespace Profiler {
TimelineView::TimelineView()
{
set_layout<GUI::VerticalBoxLayout>();
set_shrink_to_fit(true);
}
TimelineView::~TimelineView()
{
}
}