mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Updated repo to latest patches-track-wip (TD 5.0.6)
This commit is contained in:
@@ -16,7 +16,6 @@ struct HistoryMessageMarkupButton;
|
||||
class MainWindow;
|
||||
class HistoryWidget;
|
||||
class StackItem;
|
||||
struct FileLoadResult;
|
||||
class History;
|
||||
class Image;
|
||||
|
||||
@@ -109,7 +108,7 @@ class ItemBase;
|
||||
} // namespace Layout
|
||||
} // namespace InlineBots
|
||||
|
||||
class MainWidget
|
||||
class MainWidget final
|
||||
: public Ui::RpWidget
|
||||
, private Media::Player::FloatDelegate {
|
||||
public:
|
||||
@@ -235,21 +234,26 @@ public:
|
||||
Fn<void()> callback,
|
||||
const SectionShow ¶ms) const;
|
||||
|
||||
void showNonPremiumLimitToast(bool download);
|
||||
|
||||
bool areRecentActionsOpened();
|
||||
void dialogsCancelled();
|
||||
|
||||
protected:
|
||||
private:
|
||||
void paintEvent(QPaintEvent *e) override;
|
||||
void resizeEvent(QResizeEvent *e) override;
|
||||
bool eventFilter(QObject *o, QEvent *e) override;
|
||||
|
||||
private:
|
||||
[[nodiscard]] bool relevantForDialogsFocus(
|
||||
not_null<QWidget*> widget) const;
|
||||
|
||||
void showFinished();
|
||||
void handleAdaptiveLayoutUpdate();
|
||||
void updateWindowAdaptiveLayout();
|
||||
void handleAudioUpdate(const Media::Player::TrackState &state);
|
||||
void updateMediaPlaylistPosition(int x);
|
||||
void updateControlsGeometry();
|
||||
void updateMainSectionShown();
|
||||
void updateDialogsWidthAnimated();
|
||||
void updateThirdColumnToCurrentChat(
|
||||
Dialogs::Key key,
|
||||
@@ -278,7 +282,7 @@ private:
|
||||
void showNewSection(
|
||||
std::shared_ptr<Window::SectionMemento> memento,
|
||||
const SectionShow ¶ms);
|
||||
void dropMainSection(Window::SectionWidget *widget);
|
||||
void destroyThirdSection();
|
||||
|
||||
Window::SectionSlideParams prepareThirdSectionAnimation(Window::SectionWidget *section);
|
||||
|
||||
|
Reference in New Issue
Block a user