No UI for properties of type "integer" from RGB Scripts
Posted: Sun Mar 31, 2019 6:42 pm
Hello,
It's probably a missing feature but I thought I'd report this anyway.
I'm writing a rgbscript in js to load for my rgb matrix (extremely convenient feature btw, I was pleased to find that). But when adding properties of type "integer" they don't appear in QLC so I can not exchange value with the script on those variables.
Looking at the code it seems that in `rgbmatrixeditor.cpp` in `RGBMatrixEditor::displayProperties()`, there doesn't seem to be a case for handling the properties of type `RGBScriptProperties::Integer`. In fact, searching for `RGBScriptProperties::Integer` through the entire code base only hits in the js parser which correctly seem to read the properties from the script file.
Is there plan to bring this UI ? It looks fairly simple actually, I guess I could even have a go at it if I knew more about the expectations for this type of properties (I guess it's an integer that can go from -32k to +32k or so) ?
Thanks
It's probably a missing feature but I thought I'd report this anyway.
I'm writing a rgbscript in js to load for my rgb matrix (extremely convenient feature btw, I was pleased to find that). But when adding properties of type "integer" they don't appear in QLC so I can not exchange value with the script on those variables.
Looking at the code it seems that in `rgbmatrixeditor.cpp` in `RGBMatrixEditor::displayProperties()`, there doesn't seem to be a case for handling the properties of type `RGBScriptProperties::Integer`. In fact, searching for `RGBScriptProperties::Integer` through the entire code base only hits in the js parser which correctly seem to read the properties from the script file.
Is there plan to bring this UI ? It looks fairly simple actually, I guess I could even have a go at it if I knew more about the expectations for this type of properties (I guess it's an integer that can go from -32k to +32k or so) ?
Thanks