stuff-from-scratch/apps/notes_tk/web_client/WebClientView.cpp
2023-01-17 13:01:59 +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->setBackground(ThemeToken::SystemToken::Secondary);
label->setMargin(1);
addWidget(std::move(label));
}
std::unique_ptr<WebClientView> WebClientView::Create()
{
return std::make_unique<WebClientView>();
}