Led count info added to Effect script

Former-commit-id: 36e85b2a33a89f3d91605ff1c1466d52779c510c
This commit is contained in:
Johan
2013-11-28 14:38:07 +01:00
parent c82954d82a
commit c18920b59e
4 changed files with 21 additions and 4 deletions

View File

@@ -23,6 +23,11 @@ ImageProcessor::~ImageProcessor()
delete _borderProcessor;
}
unsigned ImageProcessor::getLedCount() const
{
return mLedString.leds().size();
}
void ImageProcessor::setSize(const unsigned width, const unsigned height)
{
// Check if the existing buffer-image is already the correct dimensions