mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Implement search inside a single topic.
This commit is contained in:
@@ -301,7 +301,9 @@ private:
|
||||
Painter &p,
|
||||
not_null<const PeerSearchResult*> result,
|
||||
const Ui::PaintContext &context);
|
||||
void paintSearchInChat(Painter &p) const;
|
||||
void paintSearchInChat(
|
||||
Painter &p,
|
||||
const Ui::PaintContext &context) const;
|
||||
void paintSearchInPeer(
|
||||
Painter &p,
|
||||
not_null<PeerData*> peer,
|
||||
@@ -316,6 +318,13 @@ private:
|
||||
Painter &p,
|
||||
int top,
|
||||
const Ui::Text::String &text) const;
|
||||
void paintSearchInTopic(
|
||||
Painter &p,
|
||||
const Ui::PaintContext &context,
|
||||
not_null<Data::ForumTopic*> topic,
|
||||
std::shared_ptr<Data::CloudImageView> &userpic,
|
||||
int top,
|
||||
const Ui::Text::String &text) const;
|
||||
template <typename PaintUserpic>
|
||||
void paintSearchInFilter(
|
||||
Painter &p,
|
||||
|
Reference in New Issue
Block a user