#include <screen/YiScreenProperty.h>
|
enum | Orientation {
Orientation::Landscape,
Orientation::Portrait,
Orientation::Auto,
Orientation::LandscapeRight,
Orientation::LandscapeLeft,
Orientation::PortraitUpright,
Orientation::AutoUpright
} |
|
enum | StatusBar {
StatusBar::Visible,
StatusBar::Hidden
} |
|
enum | NavigationBar {
NavigationBar::Visible,
NavigationBar::Hidden
} |
|
enum | SurfaceSizingMode {
SurfaceSizingMode::UnderScreenElements,
SurfaceSizingMode::OutsideScreenElements,
SurfaceSizingMode::Legacy
} |
|
◆ NavigationBar
◆ Orientation
◆ StatusBar
◆ SurfaceSizingMode
Enumerator |
---|
UnderScreenElements | Causes the rendering surface to be 'under' the screen elements such that the screen elements are overlaid on top of the rendering surface.
|
OutsideScreenElements | Causes the rendering surface to be shrunk so that it doesn't overlap with the screen elements.
|
Legacy | Causes the rendering surface to adopt the sizing and rendering behavior from before configurable surface sizing modes were introduced. This behavior is inconsistent across platforms and devices, and it's use is only recommended to maintain the surface sizing behaviour of legacy applications.
|
◆ CYIScreenProperty()
CYIScreenProperty::CYIScreenProperty |
( |
| ) |
|
|
delete |
◆ IsAuto()
returns true if orientation is an auto type.
◆ IsLandscape()
returns true if orientation is a landscape type.
◆ IsPortrait()
returns true if orientation is a portrait type.
The documentation for this class was generated from the following file: