mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
ShareBox: keyboard handle, animated scroll, chosen items jump to top.
This commit is contained in:
@@ -53,10 +53,9 @@ public:
|
||||
|
||||
void paint(Painter &p, int32 w, int32 hFrom, int32 hTo, PeerData *act, PeerData *sel, bool onlyBackground) const;
|
||||
Row *addToEnd(History *history);
|
||||
bool insertBefore(Row *row, Row *before);
|
||||
bool insertAfter(Row *row, Row *after);
|
||||
Row *adjustByName(const PeerData *peer);
|
||||
Row *addByName(History *history);
|
||||
bool moveToTop(PeerId peerId);
|
||||
void adjustByPos(Row *row);
|
||||
bool del(PeerId peerId, Row *replacedBy = nullptr);
|
||||
void remove(Row *row);
|
||||
@@ -114,6 +113,8 @@ public:
|
||||
|
||||
private:
|
||||
void adjustCurrent(int y, int h) const;
|
||||
bool insertBefore(Row *row, Row *before);
|
||||
bool insertAfter(Row *row, Row *after);
|
||||
static Row *next(Row *row) {
|
||||
return row->_next;
|
||||
}
|
||||
|
Reference in New Issue
Block a user