mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
fix: Backlight/BBDetector during effects (#682)
This commit is contained in:
@@ -458,11 +458,10 @@ public slots:
|
||||
private slots:
|
||||
|
||||
///
|
||||
/// @brief Apply ComponentRegister emits for COMP_ALL. Enables/Disables core timers
|
||||
/// @param comp The component
|
||||
/// @param state The new state of the component
|
||||
/// @brief Handle whenever the visible component changed
|
||||
/// @param comp The new component
|
||||
///
|
||||
void updatedComponentState(const hyperion::Components comp, const bool state);
|
||||
void handleVisibleComponentChanged(const hyperion::Components& comp);
|
||||
|
||||
///
|
||||
/// @brief Apply settings updates for LEDS and COLOR
|
||||
@@ -529,9 +528,6 @@ private:
|
||||
|
||||
QSize _ledGridSize;
|
||||
|
||||
/// Store the previous compID for smarter update()
|
||||
hyperion::Components _prevCompId;
|
||||
|
||||
/// Background effect instance, kept active to react on setting changes
|
||||
BGEffectHandler* _BGEffectHandler;
|
||||
/// Capture control for Daemon native capture
|
||||
|
@@ -206,6 +206,12 @@ signals:
|
||||
///
|
||||
void visiblePriorityChanged(const quint8& priority);
|
||||
|
||||
///
|
||||
/// @brief Emits whenever the current visible component changed
|
||||
/// @param comp The new component
|
||||
///
|
||||
void visibleComponentChanged(const hyperion::Components& comp);
|
||||
|
||||
///
|
||||
/// @brief Emits whenever a priority changes active state
|
||||
/// @param priority The priority who changed the active state
|
||||
@@ -243,6 +249,12 @@ private slots:
|
||||
void setCurrentTime(void);
|
||||
|
||||
private:
|
||||
///
|
||||
/// @brief Get the component of the given priority
|
||||
/// @return The component
|
||||
///
|
||||
hyperion::Components getComponentOfPriority(const int& priority);
|
||||
|
||||
/// Logger instance
|
||||
Logger* _log;
|
||||
|
||||
@@ -252,6 +264,9 @@ private:
|
||||
/// The manual select priority set with setPriority
|
||||
int _manualSelectedPriority;
|
||||
|
||||
// The last visible component
|
||||
hyperion::Components _prevVisComp = hyperion::COMP_INVALID;
|
||||
|
||||
/// The mapping from priority channel to led-information
|
||||
QMap<int, InputInfo> _activeInputs;
|
||||
|
||||
|
Reference in New Issue
Block a user