mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
added stickers preview
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user