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

Function ColorFromSerialized

Telegram/SourceFiles/data/data_wall_paper.cpp:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace Ui {
20
21QColor ColorFromSerialized(MTPint serialized) {
22 return ColorFromSerialized(serialized.v);
23}
24
25std::optional<QColor> MaybeColorFromSerialized(
26 const tl::conditional<MTPint> &mtp) {

Callers 13

ParseColorCollectibleFunction · 0.70
MaybeColorFromSerializedFunction · 0.70
ParseMethod · 0.70
AuctionBidBoxFunction · 0.50
PayedBgMethod · 0.50
updateSliderColorMethod · 0.50
FromTLFunction · 0.50
applyProfileMethod · 0.50
StarEffectMethod · 0.50
updateSendButtonTypeMethod · 0.50
GenerateBadgeImageFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected