Add an indicator in the title bar if Streamer Mode is active (#4410)

This commit is contained in:
Mm2PL
2023-05-27 10:38:25 +00:00
committed by GitHub
parent 1bc423d9c4
commit c6c884df70
17 changed files with 163 additions and 2 deletions
+6
View File
@@ -123,6 +123,7 @@ public:
SplitContainer *addPage(bool select = false);
SplitContainer *getOrAddSelectedPage();
void select(QWidget *page, bool focusPage = true) override;
void themeChangedEvent() override;
protected:
void showEvent(QShowEvent *event) override;
@@ -131,6 +132,11 @@ private:
void addCustomButtons();
pajlada::Signals::SignalHolder signalHolder_;
// Main window on Windows has basically a duplicate of this in Window
NotebookButton *streamerModeIcon_{};
void updateStreamerModeIcon();
};
} // namespace chatterino