2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Support adaptive forum userpic rounding radius.

This commit is contained in:
John Preston
2022-12-05 16:18:10 +04:00
parent 2407ac50bc
commit cb653df0f6
100 changed files with 662 additions and 724 deletions

View File

@@ -165,6 +165,20 @@ struct FieldAutocomplete::StickerSuggestion {
QImage premiumLock;
};
struct FieldAutocomplete::MentionRow {
not_null<UserData*> user;
Ui::Text::String name;
Ui::PeerUserpicView userpic;
};
struct FieldAutocomplete::BotCommandRow {
not_null<UserData*> user;
QString command;
QString description;
Ui::PeerUserpicView userpic;
Ui::Text::String descriptionText;
};
FieldAutocomplete::FieldAutocomplete(
QWidget *parent,
not_null<Window::SessionController*> controller)