2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

added stickers preview

This commit is contained in:
John Preston
2015-12-07 16:05:00 +03:00
parent 6b565acbd6
commit e312adb786
17 changed files with 448 additions and 129 deletions

View File

@@ -178,6 +178,8 @@ public:
}
};
class StickerPreviewWidget;
class MainWidget : public TWidget, public RPCSender {
Q_OBJECT
@@ -412,6 +414,9 @@ public:
QPixmap grabTopBar();
QPixmap grabInner();
void ui_showStickerPreview(DocumentData *sticker);
void ui_hideStickerPreview();
~MainWidget();
signals:
@@ -565,6 +570,8 @@ private:
PeerData *_peerInStack;
MsgId _msgIdInStack;
StickerPreviewWidget *_stickerPreview;
int32 _playerHeight;
int32 _contentScrollAddToY;