2020-11-03 03:02 PM
Hello,
I'm back with some new questions! Thanks for always being helpful... here we go.
From within a class that I have extended the Container object, I am unable to simply use my object as such:
application().getCurrentScreen()->getRootContainer().add(myObj);
then my compiler throws this error:
no known conversion for argument 1 from 'modalBase*' to 'touchgfx::Drawable&'
If I try the same thing with a custom container that I created from within TouchGFX designer, I can compile just fine, and the code works as expected.
I am extending the Container object just as TouchGFX does:
class modalBase : public touchgfx::Container
{
public:
modalBase();
virtual ~modalBase() {}
virtual void initialize();
protected:
private:
}
Solved! Go to Solution.
2020-11-30 01:42 PM
Not that I recall. I ended up using a crazy work around and don't have time to revisit this.
2020-11-25 06:41 AM
Sorry i missed this.
Did you figure it out?
2020-11-30 01:42 PM
Not that I recall. I ended up using a crazy work around and don't have time to revisit this.