Add transparent overlay window (#4746)
This commit is contained in:
@@ -202,6 +202,16 @@ public:
|
||||
*/
|
||||
bool mayContainMessage(const MessagePtr &message);
|
||||
|
||||
void updateColorTheme();
|
||||
|
||||
/// @brief Adjusts the colors this view uses
|
||||
///
|
||||
/// If @a isOverlay is true, the overlay colors (as specified in the theme)
|
||||
/// will be used. Otherwise, regular message-colors will be used.
|
||||
void setIsOverlay(bool isOverlay);
|
||||
|
||||
Scrollbar *scrollbar();
|
||||
|
||||
pajlada::Signals::Signal<QMouseEvent *> mouseDown;
|
||||
pajlada::Signals::NoArgSignal selectionChanged;
|
||||
pajlada::Signals::Signal<HighlightState> tabHighlightRequested;
|
||||
@@ -377,6 +387,8 @@ private:
|
||||
|
||||
bool onlyUpdateEmotes_ = false;
|
||||
|
||||
bool isOverlay_ = false;
|
||||
|
||||
// Mouse event variables
|
||||
bool isLeftMouseDown_ = false;
|
||||
bool isRightMouseDown_ = false;
|
||||
|
||||
Reference in New Issue
Block a user