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

Method paint

Telegram/SourceFiles/ui/boxes/calendar_box.cpp:650–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648}
649
650void CalendarBox::FloatingDate::paint() {
651 auto p = QPainter(&_widget);
652
653 FillRoundRect(p, _widget.rect(), st::roundedBg, _corners);
654
655 p.setFont(st::msgServiceFont);
656 p.setPen(st::roundedFg);
657 p.drawText(
658 st::msgServicePadding.left(),
659 st::msgServicePadding.top() + st::msgServiceFont->ascent,
660 _text);
661}
662
663CalendarBox::Inner::Inner(
664 QWidget *parent,

Callers 7

paintEventMethod · 0.45
StartFireworksFunction · 0.45
MakeLinkLabelFunction · 0.45
AddCocoonBoxCoverFunction · 0.45
paintRowsMethod · 0.45
AddReportOptionButtonFunction · 0.45
paintEventMethod · 0.45

Calls 4

QPainterClass · 0.50
FillRoundRectFunction · 0.50
rectMethod · 0.45
topMethod · 0.45

Tested by

no test coverage detected