2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Separate window for forums/topics/sublists/archive.

This commit is contained in:
John Preston
2024-06-28 21:44:06 +04:00
parent 6dc3bd65e8
commit 69d21f73ef
34 changed files with 753 additions and 414 deletions

View File

@@ -33,6 +33,7 @@ class Controller;
class SessionController;
class TitleWidget;
struct TermsLock;
struct SeparateId;
[[nodiscard]] const QImage &Logo();
[[nodiscard]] const QImage &LogoNoMargin();
@@ -66,7 +67,7 @@ public:
[[nodiscard]] Window::Controller &controller() const {
return *_controller;
}
[[nodiscard]] PeerData *singlePeer() const;
[[nodiscard]] Window::SeparateId id() const;
[[nodiscard]] bool isPrimary() const;
[[nodiscard]] Main::Account &account() const;
[[nodiscard]] Window::SessionController *sessionController() const;
@@ -200,7 +201,7 @@ private:
[[nodiscard]] Core::WindowPosition initialPosition() const;
[[nodiscard]] Core::WindowPosition nextInitialChildPosition(
bool primary);
SeparateId childId);
[[nodiscard]] QRect countInitialGeometry(Core::WindowPosition position);
bool computeIsActive() const;