stuff-from-scratch/apps/sample-gui/audio_editor/AudioEditorView.cpp
2022-11-13 17:02:09 +00:00

18 lines
402 B
C++

#include "AudioEditorView.h"
#include "Label.h"
#include "Color.h"
AudioEditorView::AudioEditorView()
{
auto label = Label::Create();
label->setLabel("Audio Editor");
label->setBackgroundColor(Color(200, 189, 160));
label->setMargin(1);
addWidget(std::move(label));
}
std::unique_ptr<AudioEditorView> AudioEditorView::Create()
{
return std::make_unique<AudioEditorView>();
}