mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
moved shadows to widgets where they are displayed
This commit is contained in:
@@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user