2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Removed some old styles. Divided basic_types module to several.

This commit is contained in:
John Preston
2016-09-29 14:37:16 +03:00
parent 73a8d27bfd
commit f1f7333c7a
48 changed files with 1567 additions and 1574 deletions

View File

@@ -285,8 +285,8 @@ void MaxInviteBox::paintEvent(QPaintEvent *e) {
p.drawText(_invitationLink, _link, option);
if (!_goodTextLink.isEmpty() && a_goodOpacity.current() > 0) {
p.setOpacity(a_goodOpacity.current());
p.setPen(st::setGoodColor->p);
p.setFont(st::boxTextFont->f);
p.setPen(st::setGoodColor);
p.setFont(st::boxTextFont);
p.drawTextLeft(st::boxPadding.left(), height() - st::boxButtonPadding.bottom() - _close.height() + st::defaultBoxButton.textTop + st::defaultBoxButton.font->ascent - st::boxTextFont->ascent, width(), _goodTextLink);
p.setOpacity(1);
}