Simple drawing example.
This commit is contained in:
parent
d7fe11913f
commit
f0091f9e04
27 changed files with 450 additions and 68 deletions
|
@ -72,9 +72,9 @@ void TextEditorView::initialize()
|
|||
loadButton->setOnClickFunction(onLoad);
|
||||
|
||||
auto buttonSpacer = VerticalSpacer::Create();
|
||||
buttonSpacer->AddWidgetWithScale(std::move(saveButton), 1);
|
||||
buttonSpacer->AddWidgetWithScale(std::move(clearButton), 1);
|
||||
buttonSpacer->AddWidgetWithScale(std::move(loadButton), 1);
|
||||
buttonSpacer->addWidgetWithScale(std::move(saveButton), 1);
|
||||
buttonSpacer->addWidgetWithScale(std::move(clearButton), 1);
|
||||
buttonSpacer->addWidgetWithScale(std::move(loadButton), 1);
|
||||
|
||||
auto hSpacer = HorizontalSpacer::Create();
|
||||
hSpacer->addWidgetWithScale(std::move(label), 1);
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
class TextEditorView : public Widget
|
||||
{
|
||||
public:
|
||||
|
||||
TextEditorView();
|
||||
|
||||
static std::unique_ptr<TextEditorView> Create();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue