cancel
Showing results for 
Search instead for 
Did you mean: 

ToucgGFX How to add virtual functions from designer to code automatically?

Rodo
Senior

Hi all,

I'm making my project and adding screens and stuff and I noticed that if I add an interaction to a button as a virtual function, and add a function name, the function does not get automatically added to the code in the *.hpp and *.cpp files for that screen. I end up having to go back and forth between the designer and cubeIDE to copy/past the function names to the files. I had like 15 functions to add. Am I missing a setting somewhere to autogenerate the virtual function names in the files or it is suppose to be manually done?

Thanks

1 REPLY 1
JTP1
Lead

Hello

Ready declarations can be found on the view class base .hpp- file under gui_generated folder (for example Screen1ViewBase.hpp).

It is bit easier to copy those there to view class hpp / cpp.

Br J.T