Is there a way to call my own function from my cpp file to ScreenView.cpp or ScreenViewBase.cpp?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-09 3:01 AM
I wrote a function in my own cpp file using touchgfx library. It sets and start a zoom animation. I want that when the button is clicked ,the function is called to ScreenView.cpp or ScreenViewBase.cpp and then the animation is set and started.Is it possible? If it is, then how?
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-09 7:20 AM
When your cpp file is new class , then yes, but your explain show as you try create methods for screen class outside class, and this i mean C++ not support.
Why you dont do this inside existing files ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-10 2:58 AM
I want to access ZoomAnimationImage class from outside. Is there a way to do it?
