stuff-from-scratch/apps/notes_tk/web_client/WebClientView.cpp

21 lines
347 B
C++
Raw Permalink Normal View History

2020-06-27 09:47:30 +00:00
#include "WebClientView.h"
2020-06-27 09:47:30 +00:00
#include "Label.h"
2022-11-17 17:33:48 +00:00
2022-11-16 15:06:08 +00:00
#include "TextNode.h"
2020-06-27 09:47:30 +00:00
2022-11-17 17:33:48 +00:00
#include "Theme.h"
2020-06-27 09:47:30 +00:00
WebClientView::WebClientView()
{
auto label = Label::Create();
2022-11-11 14:22:31 +00:00
label->setLabel("Web Client");
label->setMargin(1);
addWidget(std::move(label));
2020-06-27 09:47:30 +00:00
}
2023-12-21 09:18:44 +00:00
Ptr<WebClientView> WebClientView::Create()
2020-06-27 09:47:30 +00:00
{
return std::make_unique<WebClientView>();
}