mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
moved shadows to widgets where they are displayed
This commit is contained in:
@@ -201,7 +201,7 @@ private:
|
||||
|
||||
};
|
||||
|
||||
class ProfileWidget : public QWidget, public RPCSender, public Animated {
|
||||
class ProfileWidget : public TWidget, public RPCSender, public Animated {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
@@ -215,7 +215,6 @@ public:
|
||||
void dropEvent(QDropEvent *e);
|
||||
|
||||
void paintTopBar(QPainter &p, float64 over, int32 decreaseWidth);
|
||||
void topBarShadowParams(int32 &x, float64 &o);
|
||||
void topBarClick();
|
||||
|
||||
PeerData *peer() const;
|
||||
@@ -250,5 +249,7 @@ private:
|
||||
anim::ivalue a_coord, a_bgCoord;
|
||||
anim::fvalue a_alpha, a_bgAlpha;
|
||||
|
||||
PlainShadow _sideShadow, _topShadow;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user