Added clipboard code back (has issues)
This commit is contained in:
parent
3df74095a3
commit
fb3b13d303
22 changed files with 181 additions and 53 deletions
|
|
@ -29,6 +29,12 @@ void BrushStrokeCanvasComponent::load_file(cereal::PortableBinaryInputArchive& a
|
|||
a(d->points, d->color, d->hasRoundCaps);
|
||||
}
|
||||
|
||||
std::unique_ptr<CanvasComponent> BrushStrokeCanvasComponent::get_data_copy() const {
|
||||
auto toRet = std::make_unique<BrushStrokeCanvasComponent>();
|
||||
toRet->d = d;
|
||||
return toRet;
|
||||
}
|
||||
|
||||
CanvasComponentType BrushStrokeCanvasComponent::get_type() const {
|
||||
return CanvasComponentType::BRUSHSTROKE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue