mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
animations refactored
This commit is contained in:
@@ -22,7 +22,7 @@ Copyright (c) 2014-2015 John Preston, https://desktop.telegram.org
|
||||
|
||||
#include "dropdown.h"
|
||||
|
||||
class MediaView : public TWidget, public RPCSender, public Animated {
|
||||
class MediaView : public TWidget, public RPCSender {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
void updateControls();
|
||||
void updateDropdown();
|
||||
|
||||
bool animStep(float64 dt);
|
||||
void step_state(uint64 ms, bool timer);
|
||||
|
||||
void showSaveMsgFile();
|
||||
void close();
|
||||
@@ -184,6 +184,8 @@ private:
|
||||
QPoint _lastAction, _lastMouseMovePos;
|
||||
bool _ignoringDropdown;
|
||||
|
||||
Animation _a_state;
|
||||
|
||||
enum ControlsState {
|
||||
ControlsShowing,
|
||||
ControlsShown,
|
||||
|
Reference in New Issue
Block a user