2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-07 01:55:12 +00:00

Some icons moved from sprite. Ui::WidgetFadeWrap() effect added.

This commit is contained in:
John Preston
2016-10-26 13:06:00 +03:00
parent d35b295d5e
commit ff2d959abd
36 changed files with 394 additions and 243 deletions

View File

@@ -72,7 +72,7 @@ void IntroStart::paintEvent(QPaintEvent *e) {
p.setPen(st::introColor->p);
p.drawText((width() - _headerWidth) / 2, hy, qsl("Telegram Desktop"));
p.drawSprite(QPoint((width() - st::aboutIcon.pxWidth()) / 2, hy - st::introIconSkip - st::aboutIcon.pxHeight()), st::aboutIcon);
st::aboutIcon.paint(p, QPoint((width() - st::aboutIcon.width()) / 2, hy - st::introIconSkip - st::aboutIcon.height()), width());
}
void IntroStart::resizeEvent(QResizeEvent *e) {