mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
implement states for components_autoselect and ledMAppingType via json (#344)
This commit is contained in:
@@ -76,6 +76,14 @@ int ImageProcessor::mappingTypeToInt(QString mappingType)
|
||||
return 0;
|
||||
}
|
||||
|
||||
QString ImageProcessor::mappingTypeToStr(int mappingType)
|
||||
{
|
||||
if (mappingType == 1 )
|
||||
return "unicolor_mean";
|
||||
|
||||
return "mulicolor_mean";
|
||||
}
|
||||
|
||||
bool ImageProcessor::getScanParameters(size_t led, double &hscanBegin, double &hscanEnd, double &vscanBegin, double &vscanEnd) const
|
||||
{
|
||||
if (led < _ledString.leds().size())
|
||||
|
Reference in New Issue
Block a user