stuff-from-scratch/apps/notes_tk/audio_editor/AudioEditorView.cpp

20 lines
433 B
C++
Raw Normal View History

2020-06-27 09:47:30 +00:00
#include "AudioEditorView.h"
2020-06-27 09:47:30 +00:00
#include "Label.h"
2022-11-16 15:06:08 +00:00
#include "TextNode.h"
2022-11-17 17:33:48 +00:00
#include "Theme.h"
2020-06-27 09:47:30 +00:00
AudioEditorView::AudioEditorView()
{
auto label = Label::Create();
2022-11-17 08:39:49 +00:00
label->setLabel("audio Editor");
2022-11-17 17:33:48 +00:00
label->setBackgroundColor(Theme::getBackgroundPrimary());
2022-11-11 14:22:31 +00:00
label->setMargin(1);
addWidget(std::move(label));
2020-06-27 09:47:30 +00:00
}
std::unique_ptr<AudioEditorView> AudioEditorView::Create()
{
return std::make_unique<AudioEditorView>();
}