touchgfx::HAL::setDisplayOrientation() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::HAL::setDisplayOrientation()

touchgfx::HAL::setDisplayOrientation() method

@fn virtual void HAL::setDisplayOrientation(DisplayOrientation orientation) Sets the desired display orientation (landscape or portrait). Sets the desired display orientation (landscape or portrait). If desired orientation is different from the native orientation of the display, a rotation is automatically applied. The rotation does not incur any performance cost.

Syntax

virtual void setDisplayOrientation(DisplayOrientation orientation);

Arguments

orientation

The desired display orientation.

Notes

A screen transition must occur before this takes effect!

References

LocationText
HAL.hpp:128
virtual void setDisplayOrientation(DisplayOrientation orientation)

Data Use

Data read by touchgfx::HAL::setDisplayOrientation()
Data written by touchgfx::HAL::setDisplayOrientation()
touchgfx::HAL::setDisplayOrientation()