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

Use rpl in some widgets and effects.

This commit is contained in:
John Preston
2017-09-13 19:57:44 +03:00
parent 21d136e224
commit c302219f9e
120 changed files with 2119 additions and 671 deletions

View File

@@ -107,7 +107,6 @@ public:
void setLoadMoreCallback(base::lambda<void()> callback) {
_loadMoreCallback = std::move(callback);
}
void setVisibleTopBottom(int visibleTop, int visibleBottom) override;
base::Observable<UserData*> searchFromUserChanged;
@@ -133,6 +132,10 @@ signals:
void refreshHashtags();
protected:
void visibleTopBottomUpdated(
int visibleTop,
int visibleBottom) override;
void paintRegion(Painter &p, const QRegion &region, bool paintingOther) override;
void mouseMoveEvent(QMouseEvent *e) override;
void mousePressEvent(QMouseEvent *e) override;