2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 08:05:12 +00:00

animations refactored

This commit is contained in:
John Preston
2015-12-08 15:33:37 +03:00
parent f25fde09b7
commit 0b96dd5362
71 changed files with 1370 additions and 1584 deletions

View File

@@ -25,7 +25,7 @@ Copyright (c) 2014-2015 John Preston, https://desktop.telegram.org
#include "gui/countryinput.h"
#include "intro.h"
class IntroPhone : public IntroStage, public Animated, public RPCSender {
class IntroPhone : public IntroStage, public RPCSender {
Q_OBJECT
public:
@@ -35,7 +35,7 @@ public:
void paintEvent(QPaintEvent *e);
void resizeEvent(QResizeEvent *e);
bool animStep(float64 ms);
void step_error(float64 ms, bool timer);
void selectCountry(const QString &country);
@@ -67,7 +67,8 @@ private:
void showError(const QString &err, bool signUp = false);
QString error;
anim::fvalue errorAlpha;
anim::fvalue a_errorAlpha;
Animation _a_error;
bool changed;
FlatButton next;