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

Add call panel show / hide animation.

This commit is contained in:
John Preston
2017-05-04 16:32:56 +03:00
parent 299dc3fc96
commit 2214e980ef
6 changed files with 96 additions and 21 deletions

View File

@@ -67,6 +67,7 @@ private:
void playSound(Sound sound) override;
void createCall(gsl::not_null<UserData*> user, Call::Type type);
void destroyCall(gsl::not_null<Call*> call);
void destroyCurrentPanel();
void refreshDhConfig();
void refreshServerConfig();
@@ -83,6 +84,7 @@ private:
std::unique_ptr<Panel> _currentCallPanel;
base::Observable<Call*> _currentCallChanged;
base::Observable<FullMsgId> _newServiceMessage;
std::vector<QPointer<Panel>> _pendingPanels;
std::unique_ptr<Media::Audio::Track> _callConnectingTrack;
std::unique_ptr<Media::Audio::Track> _callEndedTrack;