2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Some more ripple animations. Now only anim::value (float64).

Also each FloatAnimation now stops MTP responses.
Also slide animations done by FloatAnimation.
Closed beta 10019012.
This commit is contained in:
John Preston
2016-12-05 14:01:08 +03:00
parent a248cef15d
commit 06ed7b8eaf
109 changed files with 2129 additions and 1796 deletions

View File

@@ -301,7 +301,6 @@ public:
}
void setLastScrollTop(int lastScrollTop);
void showAnimated(Window::SlideDirection direction, const Window::SectionSlideParams &params);
void step_show(float64 ms, bool timer);
void doneShow();
@@ -355,16 +354,17 @@ public slots:
void onClearSelected();
private:
void animationCallback();
ChildWidget<Ui::ScrollArea> _scroll;
ChildWidget<OverviewInner> _inner;
bool _noDropResizeIndex = false;
QString _header;
Animation _a_show;
FloatAnimation _a_show;
Window::SlideDirection _showDirection;
QPixmap _cacheUnder, _cacheOver;
anim::ivalue a_coordUnder, a_coordOver;
anim::fvalue a_progress;
int32 _scrollSetAfterShow = 0;