2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Moved FloatAnimation->Animation, Animation->BasicAnimation.

This commit is contained in:
John Preston
2016-12-07 16:32:25 +03:00
parent 06ed7b8eaf
commit 47977009b8
90 changed files with 865 additions and 1139 deletions

View File

@@ -95,7 +95,7 @@ private:
, y(y) {
x.start(updateCallback, fromX, toX, duration);
}
FloatAnimation x;
Animation x;
int fromX, toX;
int y;
};
@@ -107,8 +107,8 @@ private:
const style::color &_color;
bool _over = false;
QPixmap _cache;
FloatAnimation _visibility;
FloatAnimation _overOpacity;
Animation _visibility;
Animation _overOpacity;
bool _overDelete = false;
bool _active = false;
PaintRoundImage _paintRoundImage;