fix: Backlight/BBDetector during effects (#682)

This commit is contained in:
brindosch
2020-02-15 22:47:27 +01:00
committed by GitHub
parent 0fa5a24cec
commit 70f93c7171
4 changed files with 38 additions and 27 deletions

View File

@@ -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;