stuff-from-scratch/apps/sample-gui/audio_editor/AudioEditorView.cpp
2022-11-17 08:39:49 +00:00

19 lines
424 B
C++

#include "AudioEditorView.h"
#include "Label.h"
#include "Color.h"
#include "TextNode.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>();
}