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:
@@ -301,7 +301,6 @@ public:
|
||||
}
|
||||
void setLastScrollTop(int lastScrollTop);
|
||||
void showAnimated(Window::SlideDirection direction, const Window::SectionSlideParams ¶ms);
|
||||
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;
|
||||
|
||||
|
Reference in New Issue
Block a user