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

@ -1,9 +1,9 @@
#include "PaintEvent.h"
PaintEvent::PaintEvent()
: UiEvent()
: UiEvent()
{
mType = UiEvent::Type::Paint;
mType = UiEvent::Type::Paint;
}
PaintEvent::~PaintEvent()
@ -11,8 +11,8 @@ PaintEvent::~PaintEvent()
}
std::shared_ptr<PaintEvent> PaintEvent::Create()
std::unique_ptr<PaintEvent> PaintEvent::Create()
{
return std::make_shared<PaintEvent>();
return std::make_unique<PaintEvent>();
}