mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
extend effect engine with qt image effects (#249)
* - effects now can use qt image effects - rainbow swirtl is now suitable for any led layout - including matrix * fix rainbow effect * effect: add radialGradient * fix some js errors * optimize code * try fix travis test not working as expected * fix default config files * fix config
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
// QT includes
|
||||
#include <QObject>
|
||||
#include <QTimer>
|
||||
#include <QSize>
|
||||
|
||||
// hyperion-utils includes
|
||||
#include <utils/Image.h>
|
||||
@@ -85,7 +86,9 @@ public:
|
||||
/// Returns the number of attached leds
|
||||
///
|
||||
unsigned getLedCount() const;
|
||||
|
||||
|
||||
QSize getLedGridSize() const { return _ledGridSize; }
|
||||
|
||||
///
|
||||
/// Returns the current priority
|
||||
///
|
||||
@@ -292,7 +295,8 @@ public:
|
||||
|
||||
static LinearColorSmoothing * createColorSmoothing(const Json::Value & smoothingConfig, LedDevice* leddevice);
|
||||
static MessageForwarder * createMessageForwarder(const Json::Value & forwarderConfig);
|
||||
|
||||
static QSize getLedLayoutGridSize(const Json::Value& ledsConfig);
|
||||
|
||||
signals:
|
||||
/// Signal which is emitted when a priority channel is actively cleared
|
||||
/// This signal will not be emitted when a priority channel time out
|
||||
@@ -390,4 +394,6 @@ private:
|
||||
int _currentSourcePriority;
|
||||
|
||||
QByteArray _configHash;
|
||||
|
||||
QSize _ledGridSize;
|
||||
};
|
||||
|
Reference in New Issue
Block a user