MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / paintUserpic

Method paintUserpic

Telegram/SourceFiles/dialogs/dialogs_row.cpp:281–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281void BasicRow::paintUserpic(
282 Painter &p,
283 not_null<Entry*> entry,
284 PeerData *peer,
285 Ui::VideoUserpic *videoUserpic,
286 const Ui::PaintContext &context,
287 bool hasUnreadBadgesAbove) const {
288 PaintUserpic(p, entry, peer, videoUserpic, _userpic, context);
289}
290
291Row::Row(Key key, int index, int top) : _id(key), _top(top), _index(index) {
292 if (const auto history = key.history()) {

Callers

nothing calls this directly

Calls 15

PaintUserpicFunction · 0.85
GetEnhancedBoolFunction · 0.85
isDisplayedNoneMethod · 0.80
isChannelMethod · 0.80
storiesCountMethod · 0.80
storiesUnreadCountMethod · 0.80
userpicUniqueKeyMethod · 0.80
messagesTTLMethod · 0.80
asChannelMethod · 0.80
progressForLayerMethod · 0.80
paintSpeakingMethod · 0.80

Tested by

no test coverage detected