mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use new button types from lib_ui.
This commit is contained in:
@@ -23,6 +23,7 @@ class CloudImageView;
|
||||
|
||||
namespace Ui {
|
||||
class IconButton;
|
||||
class CallButton;
|
||||
class FlatLabel;
|
||||
template <typename Widget>
|
||||
class FadeWrap;
|
||||
@@ -56,7 +57,6 @@ public:
|
||||
|
||||
private:
|
||||
class Incoming;
|
||||
class Button;
|
||||
using State = Call::State;
|
||||
using Type = Call::Type;
|
||||
enum class AnswerHangupRedialState : uchar {
|
||||
@@ -115,15 +115,15 @@ private:
|
||||
rpl::lifetime _callLifetime;
|
||||
|
||||
not_null<const style::CallBodyLayout*> _bodySt;
|
||||
object_ptr<Button> _answerHangupRedial;
|
||||
object_ptr<Ui::FadeWrap<Button>> _decline;
|
||||
object_ptr<Ui::FadeWrap<Button>> _cancel;
|
||||
object_ptr<Ui::CallButton> _answerHangupRedial;
|
||||
object_ptr<Ui::FadeWrap<Ui::CallButton>> _decline;
|
||||
object_ptr<Ui::FadeWrap<Ui::CallButton>> _cancel;
|
||||
bool _hangupShown = false;
|
||||
bool _outgoingPreviewInBody = false;
|
||||
std::optional<AnswerHangupRedialState> _answerHangupRedialState;
|
||||
Ui::Animations::Simple _hangupShownProgress;
|
||||
object_ptr<Button> _camera;
|
||||
object_ptr<Button> _mute;
|
||||
object_ptr<Ui::CallButton> _camera;
|
||||
object_ptr<Ui::CallButton> _mute;
|
||||
object_ptr<Ui::FlatLabel> _name;
|
||||
object_ptr<Ui::FlatLabel> _status;
|
||||
object_ptr<Ui::RpWidget> _fingerprint = { nullptr };
|
||||
|
Reference in New Issue
Block a user