2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Move App::histories to Data::Session.

This commit is contained in:
John Preston
2019-01-03 16:36:01 +04:00
parent 0d6a36e187
commit 1f8626b383
49 changed files with 1479 additions and 1366 deletions

View File

@@ -24,6 +24,10 @@ namespace Notify {
struct PeerUpdate;
} // namespace Notify
namespace Data {
struct WallPaper;
} // namespace Data
namespace Dialogs {
struct RowDescriptor;
class Row;
@@ -222,7 +226,7 @@ public:
QPixmap cachedBackground(const QRect &forRect, int &x, int &y);
void updateScrollColors();
void setChatBackground(const App::WallPaper &wp);
void setChatBackground(const Data::WallPaper &background);
bool chatBackgroundLoading();
float64 chatBackgroundProgress() const;
void checkChatBackground();
@@ -547,7 +551,7 @@ private:
ViewsIncrementByRequest _viewsIncrementByRequest;
SingleTimer _viewsIncrementTimer;
std::unique_ptr<App::WallPaper> _background;
std::unique_ptr<Data::WallPaper> _background;
bool _firstColumnResizing = false;
int _firstColumnResizingShift = 0;