Move windows to uptr. Add simple text editing.
This commit is contained in:
parent
2bcc7b3d83
commit
b99708e7d3
55 changed files with 1257 additions and 994 deletions
|
@ -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>();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue