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

New layout of service messages (complex shape of a bubble).

This commit is contained in:
John Preston
2016-06-09 14:51:24 +03:00
parent a5cbbba12d
commit 19cacd0efb
21 changed files with 611 additions and 278 deletions

View File

@@ -27,7 +27,8 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
#include "styles/style_overview.h"
#include "lang.h"
#include "dialogs/dialogs_layout.h"
#include "data/data_abstract_structure.h"
#include "history/history_service_layout.h"
#include "audio.h"
#include "application.h"
#include "fileuploader.h"
@@ -2150,7 +2151,7 @@ namespace {
mainEmojiMap.clear();
otherEmojiMap.clear();
Dialogs::Layout::clearStyleSheets();
Data::clearGlobalStructures();
clearAllImages();
}
@@ -2735,7 +2736,11 @@ namespace {
uchar rPoint = uchar(componentsPoint[0]), gPoint = uchar(componentsPoint[1]), bPoint = uchar(componentsPoint[2]);
_introPointHoverColor = style::color(rPoint, gPoint, bPoint);
if (App::main()) App::main()->updateScrollColors();
if (App::main()) {
App::main()->updateScrollColors();
HistoryLayout::serviceColorsUpdated();
}
}
const style::color &msgServiceBg() {