2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Open theme preview after loading.

This commit is contained in:
John Preston
2019-09-06 18:31:01 +03:00
parent 95ee17bd54
commit 37a4c79c81
7 changed files with 138 additions and 56 deletions

View File

@@ -68,6 +68,10 @@ class Translator;
class CloudManager;
} // namespace Lang
namespace Data {
struct CloudTheme;
} // namespace Data
namespace Core {
class Launcher;
@@ -103,6 +107,9 @@ public:
void showPhoto(not_null<PhotoData*> photo, HistoryItem *item);
void showPhoto(not_null<PhotoData*> photo, not_null<PeerData*> item);
void showDocument(not_null<DocumentData*> document, HistoryItem *item);
void showTheme(
not_null<DocumentData*> document,
const Data::CloudTheme &cloud);
PeerData *ui_getPeerForMouseAction();
QPoint getPointForCallPanelCenter() const;