ToyGine2 26.2.0
Game Engine for retro consoles
Loading...
Searching...
No Matches
orientation.hpp File Reference

Screen orientation enumeration for UI layout and rotation handling. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  toy
 Root namespace containing all engine modules.
namespace  toy::platform
namespace  toy::platform::ui
 Platform UI: orientation, window show state, window style flags, message box (icon, buttons, return value).

Enumerations

enum class  toy::platform::ui::Orientation : uint8_t {
  toy::platform::ui::Landscape = 1 , toy::platform::ui::Portrait = 2 , toy::platform::ui::LandscapeFlipped = 4 , toy::platform::ui::PortraitFlipped = 8 ,
  toy::platform::ui::LandscapeAny = Landscape | LandscapeFlipped , toy::platform::ui::PortraitAny = Portrait | PortraitFlipped , toy::platform::ui::Any = LandscapeAny | PortraitAny
}
 Screen orientation for UI layout and device rotation. More...

Detailed Description

Screen orientation enumeration for UI layout and rotation handling.

Defines toy::platform::ui::Orientation.

Note
Included by platform/ui.hpp; do not include this file directly.