Pressing the button brings up the project screen ? I need to help
I uploaded the project in this image to stmf746g-disco This project has no interface
keil file of the project is here

then I made a simple interface using touchgfx
The problem is how do I integrate the interface code with my real project?
I've seen something like this done by doing some research and watching videos and I've tried

here I created a variable called "buttonclicked"

here already touch gfx has created their own

I'm getting an error here
and most importantly, I do not know how to do this after correcting the error
even if this error is resolved, I don't know how to integrate the next steps
need your help thank you.
in short, how do I integrate my project that I use to draw a wave in my keil project into touch gfx
When I press the RUN button, I want it to bring up the screen in the first image