blob: 1fe4675983fca58b7d7576dd7d197b7760e74385 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include "VisualizationWidget.h"
#include <LibGUI/Frame.h>
class SampleWidget final : public VisualizationWidget {
C_OBJECT(SampleWidget)
public:
virtual ~SampleWidget() override = default;
private:
SampleWidget();
virtual void render(GUI::PaintEvent&, FixedArray<float> const& samples) override;
};
|