-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Sprite.cpp #97
base: master
Are you sure you want to change the base?
Conversation
TODO's added regarding errors when compiling without 'build_flags = -w' option
Option 'build_flags = -w' in platformio.ini file resolves the issue, but nevertheless the errors should be fixed at the source. |
Thanks for pointing this out! A |
Added missing return values to: 1) Sprite& Sprite::resize(uint width, uint height) 2) Sprite& Sprite::setTransparent(bool transparent) 3) Sprite& Sprite::setChroma(Color color)
Missing return values in two methods: 1) UI\LowRamScreen.impl: virtual Screen& Screen::addChild(Element*) 2) UI\ScrollLayout.cpp: virtual ElementContainer& ScrollLayout::addChild(Element*)
NOTE: In order to resolve the newly found no-return-value errors, please confirm/answer to the following assumption/question: In case of
probably return *this; will do. But what to return from
|
Added missing return values to: 1) src/UI/ScrollLayout.cpp: ElementContainer& ScrollLayout::addChild(Element* element) 2) src/UI/LowRamScreen.impl: Screen& Screen::addChild(Element* element)
For |
TODO's added regarding errors when compiling without 'build_flags = -w' option