Add Keyboard input and enter support for text editor.

This commit is contained in:
James Grogan 2022-11-17 13:13:01 +00:00
parent cf9bace272
commit 9301769d58
23 changed files with 315 additions and 121 deletions

View file

@ -1,6 +1,7 @@
#pragma once
#include "DiscretePoint.h"
#include "FontItem.h"
#include "Color.h"
#include <memory>
@ -149,6 +150,8 @@ protected:
std::string mName;
std::vector<TransformNode*> mPendingChildNodes;
FontItem mDefaultFont;
};
using WidgetUPtr = std::unique_ptr<Widget>;