cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to call my own function from my cpp file to ScreenView.cpp or ScreenViewBase.cpp?

Ezgi
Senior

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?

2 REPLIES 2
MM..1
Chief III

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 ?

Ezgi
Senior

I want to access ZoomAnimationImage class from outside. Is there a way to do it?