stuff-from-scratch/apps/sample-gui/audio_editor/AudioEditorView.cpp
2022-11-17 17:33:48 +00:00

19 lines
433 B
C++

#include "AudioEditorView.h"
#include "Label.h"
#include "TextNode.h"
#include "Theme.h"
AudioEditorView::AudioEditorView()
{
auto label = Label::Create();
label->setLabel("audio Editor");
label->setBackgroundColor(Theme::getBackgroundPrimary());
label->setMargin(1);
addWidget(std::move(label));
}
std::unique_ptr<AudioEditorView> AudioEditorView::Create()
{
return std::make_unique<AudioEditorView>();
}