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

Move standard buttons to lib_ui.

This commit is contained in:
John Preston
2019-09-13 19:45:48 +03:00
parent a16c6ca41a
commit c057f28425
45 changed files with 330 additions and 150 deletions

View File

@@ -519,6 +519,12 @@ ChatBackground::ChatBackground() : _adjustableColors({
st::historyScrollBarBg,
st::historyScrollBarBgOver }) {
saveAdjustableColors();
subscribe(this, [=](const BackgroundUpdate &update) {
if (update.paletteChanged()) {
style::NotifyPaletteChanged();
}
});
}
void ChatBackground::setThemeData(QImage &&themeImage, bool themeTile) {