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

moved shadows to widgets where they are displayed

This commit is contained in:
John Preston
2015-10-17 10:31:48 +02:00
parent 48756111a9
commit 5c3d030b9a
20 changed files with 193 additions and 166 deletions

View File

@@ -311,7 +311,7 @@ private:
};
class HistoryHider : public QWidget, public Animated {
class HistoryHider : public TWidget, public Animated {
Q_OBJECT
public:
@@ -412,7 +412,6 @@ public:
void checkMentionDropdown();
void paintTopBar(QPainter &p, float64 over, int32 decreaseWidth);
void topBarShadowParams(int32 &x, float64 &o);
void topBarClick();
void loadMessages();
@@ -791,5 +790,7 @@ private:
bool _saveDraftText;
QTimer _saveDraftTimer;
PlainShadow _sideShadow, _topShadow;
};