2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

almost all boxes done

This commit is contained in:
John Preston
2015-10-11 10:37:24 +02:00
parent 13f6eedcb2
commit 542d9435d8
52 changed files with 2775 additions and 2495 deletions

View File

@@ -22,15 +22,6 @@ Copyright (c) 2014-2015 John Preston, https://desktop.telegram.org
#include "abstractbox.h"
class StickerSetPanel : public TWidget {
public:
StickerSetPanel(QWidget *parent) : TWidget(parent) {
}
void paintEvent(QPaintEvent *e);
};
class StickerSetInner : public TWidget, public RPCSender {
Q_OBJECT
@@ -51,6 +42,8 @@ public:
void setScrollBottom(int32 bottom);
void install();
QString getTitle() const;
~StickerSetInner();
signals:
@@ -76,8 +69,6 @@ private:
MTPInputStickerSet _input;
mtpRequestId _installRequest;
StickerSetPanel *_panel;
};
class StickerSetBox : public ScrollableBox, public RPCSender {
@@ -111,6 +102,7 @@ protected:
private:
StickerSetInner _inner;
IconedButton _close;
FlatButton _addStickers, _shareStickers, _closeStickers;
ScrollableBoxShadow _shadow;
BoxButton _add, _share, _cancel;
QString _title;
};