2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

New profiles started. Function<> made by variadic templates.

This commit is contained in:
John Preston
2016-05-12 19:05:20 +03:00
parent fd7f618fd2
commit 3d073eddd6
29 changed files with 1185 additions and 341 deletions

View File

@@ -3204,14 +3204,14 @@ HistoryItem::~HistoryItem() {
}
}
RadialAnimation::RadialAnimation(AnimationCreator creator)
RadialAnimation::RadialAnimation(AnimationCallbacks &&callbacks)
: _firstStart(0)
, _lastStart(0)
, _lastTime(0)
, _opacity(0)
, a_arcEnd(0, 0)
, a_arcStart(0, FullArcLength)
, _animation(creator) {
, _animation(std_::move(callbacks)) {
}