Skip to content

No Animations are Playing when the Display Methods are inside a dedicated Class #420

Open
@r0bc94

Description

@r0bc94

Hello,

maybe some of you can help me to at least point me into the right direction.

To keep my main.cpp file clean, I moved all display related method calls to a dedicated class. However, for whatever reason while the UI frames are working fine, the frame changing animations are not working. It seems that the animation are not even starting to play.

Basically the issue is that when switching the frames, the two frames just blend in but no animation is playing.
I tried to change the LoadingDrawFunction which in my understanding handles the rendering of the animations to one, that simply clears the display and prints a String to the serial bus. However, I found out that at least my custom loading function is never called. This would also line up with the issue I'm seeing.
When using the example code, where everything UI related is placed in the main.cpp Module, the animations are working fine. To be honest, I'm currently out of ideas and would grab every strap someone could reach me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions