Any way to have in the same project Landscape and Portrait orientation?
Since the new TouchGFX 4.12.3 came out, i saw it's finally possible to swtch from landscape to portrait orientation, which is great because i was asked to develop my project with both orientations.
i saw the orientation is changed by this line of code :
touchgfx::HAL::getInstance()->setDisplayOrientation(touchgfx::ORIENTATION_LANDSCAPE);
just switching the function argument.
so i changed my code calling that function changing that parameter, and the effective orientation of the simulator changed, but the problems are the images
as you can see the images are rotated if are square, and just a mess if are rectangle.
i saw you can change the image oriantation in the designer, but that make all the images cpp file recompiled, so impracticable for changing orientation runtime...
Any way to accomplish what i'm looking for?
Thanks
Stefano
