Hello!
I am trying to add a new view to the "Device Integration" example for STM32F429I DISCOVERY board. My utlimate goal is to create a view with a graph that is updated by the ADC-values generated in the project, to do that I want to create a new view which is reached by clicking a simple touch handler.
What I've done:
- I created a new component by dragging it into the "unit application" window.
- I modified the new component to match my screen and added a fancy background image.
- I created a "simple touch handle" and a slot method in the "Application::Application" class.
- In the slot method, I added and modified some code from BezierClock demo:
"
if ( IsDialog( false ))
Owner.SwitchToDialog( new Application::TestScreen, Effects::SlideUpCentered, Effects::SlideDownCentered, null, null, Effects::SlideUpCentered, null, null, null, null, false );
"
When testing my implementation I get the following error message: "Using wrong root object.";
My question is: How do I connect the views properly?



