2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Allow to resize chats list. One more mode added (narrow chats list).

This commit is contained in:
John Preston
2017-01-14 21:50:16 +03:00
parent 983db3a682
commit 4424dbf64a
33 changed files with 558 additions and 140 deletions

View File

@@ -287,6 +287,9 @@ public:
void dialogsToUp();
void startWidthAnimation();
void stopWidthAnimation();
bool hasTopBarShadow() const {
return true;
}
@@ -389,7 +392,8 @@ private:
object_ptr<Ui::IconButton> _lockUnlock;
object_ptr<Ui::ScrollArea> _scroll;
QPointer<DialogsInner> _inner;
object_ptr<Ui::FlatButton> _updateTelegram = { nullptr };
class UpdateButton;
object_ptr<UpdateButton> _updateTelegram = { nullptr };
Animation _a_show;
Window::SlideDirection _showDirection;
@@ -421,4 +425,6 @@ private:
using PeerSearchQueries = QMap<mtpRequestId, QString>;
PeerSearchQueries _peerSearchQueries;
QPixmap _widthAnimationCache;
};