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

Start group call members list.

This commit is contained in:
John Preston
2020-11-25 17:09:59 +03:00
parent 6a86ed1506
commit 2e62eb1186
93 changed files with 797 additions and 149 deletions

View File

@@ -29,6 +29,7 @@ class FadeWrap;
template <typename Widget>
class PaddingWrap;
class Window;
class ScrollArea;
namespace Platform {
class TitleControls;
} // namespace Platform
@@ -44,6 +45,8 @@ namespace Calls {
class Userpic;
class SignalBars;
class GroupMembers;
class GroupPanel final {
public:
GroupPanel(not_null<GroupCall*> call);
@@ -67,14 +70,11 @@ private:
void initLayout();
void initGeometry();
void handleClose();
bool handleClose();
void updateControlsGeometry();
void stateChanged(State state);
void showControls();
void startDurationUpdateTimer(crl::time currentDuration);
void toggleFullScreen(bool fullscreen);
GroupCall *_call = nullptr;
not_null<ChannelData*> _channel;
@@ -87,6 +87,8 @@ private:
rpl::lifetime _callLifetime;
object_ptr<GroupMembers> _members;
object_ptr<Button> _settings;
object_ptr<Button> _hangup;
object_ptr<Button> _mute;