mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Updated TDesktop sources to 3.0.1
This commit is contained in:
@@ -39,6 +39,7 @@ class Session;
|
||||
|
||||
namespace Data {
|
||||
class WallPaper;
|
||||
struct ForwardDraft;
|
||||
} // namespace Data
|
||||
|
||||
namespace Dialogs {
|
||||
@@ -159,12 +160,12 @@ public:
|
||||
|
||||
int32 dlgsWidth() const;
|
||||
|
||||
void showForwardLayer(MessageIdsList &&items);
|
||||
void showForwardLayer(Data::ForwardDraft &&draft);
|
||||
void showSendPathsLayer();
|
||||
void shareUrlLayer(const QString &url, const QString &text);
|
||||
void inlineSwitchLayer(const QString &botAndQuery);
|
||||
void hiderLayer(base::unique_qptr<Window::HistoryHider> h);
|
||||
bool setForwardDraft(PeerId peer, MessageIdsList &&items);
|
||||
bool setForwardDraft(PeerId peer, Data::ForwardDraft &&draft);
|
||||
bool shareUrl(
|
||||
PeerId peerId,
|
||||
const QString &url,
|
||||
@@ -185,8 +186,6 @@ public:
|
||||
|
||||
void searchMessages(const QString &query, Dialogs::Key inChat, UserData *from = nullptr);
|
||||
|
||||
QPixmap cachedBackground(const QRect &forRect, int &x, int &y);
|
||||
|
||||
void setChatBackground(
|
||||
const Data::WallPaper &background,
|
||||
QImage &&image = QImage());
|
||||
@@ -304,9 +303,6 @@ private:
|
||||
void showAll();
|
||||
void clearHider(not_null<Window::HistoryHider*> instance);
|
||||
|
||||
void cacheBackground();
|
||||
void clearCachedBackground();
|
||||
|
||||
[[nodiscard]] auto floatPlayerDelegate()
|
||||
-> not_null<Media::Player::FloatDelegate*>;
|
||||
not_null<Ui::RpWidget*> floatPlayerWidget() override;
|
||||
@@ -394,12 +390,6 @@ private:
|
||||
int _exportTopBarHeight = 0;
|
||||
int _contentScrollAddToY = 0;
|
||||
|
||||
QPixmap _cachedBackground;
|
||||
QRect _cachedFor, _willCacheFor;
|
||||
int _cachedX = 0;
|
||||
int _cachedY = 0;
|
||||
base::Timer _cacheBackgroundTimer;
|
||||
|
||||
PhotoData *_deletingPhoto = nullptr;
|
||||
|
||||
base::flat_map<not_null<PeerData*>, base::flat_set<MsgId>> _viewsIncremented;
|
||||
|
Reference in New Issue
Block a user