implement states for components_autoselect and ledMAppingType via json (#344)

This commit is contained in:
redPanther
2016-12-20 19:55:54 +01:00
committed by GitHub
parent c5e0299c55
commit 0414e3c860
5 changed files with 20 additions and 5 deletions

View File

@@ -183,6 +183,9 @@ public:
bool configWriteable();
/// gets the methode how image is maped to leds
int getLedMappingType() { return _ledMAppingType; };
public slots:
///
/// Writes a single color to all the leds for the given time and priority
@@ -406,4 +409,6 @@ private:
QByteArray _configHash;
QSize _ledGridSize;
int _ledMAppingType;
};

View File

@@ -50,6 +50,7 @@ public:
int ledMappingType();
static int mappingTypeToInt(QString mappingType);
static QString mappingTypeToStr(int mappingType);
public slots:
/// Enable or disable the black border detector