Move windows to uptr. Add simple text editing.

This commit is contained in:
jmsgrogan 2020-06-20 16:34:10 +01:00
parent 2bcc7b3d83
commit b99708e7d3
55 changed files with 1257 additions and 994 deletions

View file

@ -4,11 +4,11 @@
class XcbKeyboard : public Keyboard
{
public:
XcbKeyboard();
XcbKeyboard();
static std::shared_ptr<XcbKeyboard> Create();
static std::unique_ptr<XcbKeyboard> Create();
std::string GetKeyString(KeyCode keyCode) override;
std::string GetKeyString(KeyCode keyCode) override;
};
using XcbKeyboardPtr = std::shared_ptr<XcbKeyboard>;
using XcbKeyboardUPtr = std::unique_ptr<XcbKeyboard>;