stuff-from-scratch/apps/notes_tk/web_client/WebClientView.cpp
2022-12-02 11:50:15 +00:00

21 lines
421 B
C++

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