2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +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

@@ -263,7 +263,7 @@ private:
ContextMenu *_menu;
};
class OverviewWidget : public QWidget, public RPCSender, public Animated {
class OverviewWidget : public TWidget, public RPCSender, public Animated {
Q_OBJECT
public:
@@ -280,7 +280,6 @@ public:
void scrollReset();
void paintTopBar(QPainter &p, float64 over, int32 decreaseWidth);
void topBarShadowParams(int32 &x, float64 &o);
void topBarClick();
PeerData *peer() const;
@@ -353,5 +352,7 @@ private:
int32 _selCount;
PlainShadow _sideShadow, _topShadow;
};