|
| enum | ActionType { ACTION_GAMEPAD
, ACTION_KEYBOARD
, ACTION_COUNT
} |
| |
| enum class | InputType { GAMEPAD
, TOUCH
} |
| | Input types for entire app. More...
|
| |
| enum | Sound {
SOUND_NONE = 0
, SOUND_FOCUS_CHANGE
, SOUND_FOCUS_ERROR
, SOUND_CLICK
,
SOUND_BACK
, SOUND_FOCUS_SIDEBAR
, SOUND_CLICK_ERROR
, SOUND_HONK
,
SOUND_CLICK_SIDEBAR
, SOUND_TOUCH_UNFOCUS
, SOUND_TOUCH
, SOUND_SLIDER_TICK
,
SOUND_SLIDER_RELEASE
, _SOUND_MAX
} |
| |
| enum class | JustifyContent {
FLEX_START
, CENTER
, FLEX_END
, SPACE_BETWEEN
,
SPACE_AROUND
, SPACE_EVENLY
} |
| | How a box spreads its children along its axis (justifyContent in XML). More...
|
| |
| enum class | AlignItems {
AUTO
, FLEX_START
, CENTER
, FLEX_END
,
STRETCH
, BASELINE
, SPACE_BETWEEN
, SPACE_AROUND
} |
| | How a box places its children across its axis (alignItems in XML). More...
|
| |
| enum class | Axis { ROW
, COLUMN
} |
| | The direction a box lays its children out in (axis in XML). More...
|
| |
| enum class | Wrap { NO_WRAP
, WRAP
, WRAP_REVERSE
} |
| | Whether a box's children go on to new lines when they do not fit (flexWrap). More...
|
| |
| enum class | Direction { INHERIT
, LEFT_TO_RIGHT
, RIGHT_TO_LEFT
} |
| | The writing direction a box lays its children out in. More...
|
| |
| enum class | GestureState {
INTERRUPTED
, UNSURE
, START
, STAY
,
END
, FAILED
} |
| |
| enum | KeyboardKeyDisableBitmask {
KEYBOARD_DISABLE_NONE = 0
, KEYBOARD_DISABLE_SPACE = 1
, KEYBOARD_DISABLE_AT = 1 << 1
, KEYBOARD_DISABLE_PERCENT = 1 << 2
,
KEYBOARD_DISABLE_FORWSLASH = 1 << 3
, KEYBOARD_DISABLE_BACKSLASH = 1 << 4
, KEYBOARD_DISABLE_NUMBERS = 1 << 5
, KEYBOARD_DISABLE_DOWNLOADCODE = 1 << 6
,
KEYBOARD_DISABLE_USERNAME = 1 << 7
} |
| |
| enum | AuroreKeyboardModifiers {
AURORE_KBD_MODIFIER_NONE = 0x00
, AURORE_KBD_MODIFIER_SHIFT = 0x01
, AURORE_KBD_MODIFIER_CTRL = 0x02
, AURORE_KBD_MODIFIER_ALT = 0x04
,
AURORE_KBD_MODIFIER_META = 0x08
} |
| |
| enum | AuroreKeyboardScancode {
AURORE_KBD_KEY_UNKNOWN = -1
, AURORE_KBD_KEY_SPACE = 32
, AURORE_KBD_KEY_APOSTROPHE = 39
, AURORE_KBD_KEY_COMMA = 44
,
AURORE_KBD_KEY_MINUS = 45
, AURORE_KBD_KEY_PERIOD = 46
, AURORE_KBD_KEY_SLASH = 47
, AURORE_KBD_KEY_0 = 48
,
AURORE_KBD_KEY_1 = 49
, AURORE_KBD_KEY_2 = 50
, AURORE_KBD_KEY_3 = 51
, AURORE_KBD_KEY_4 = 52
,
AURORE_KBD_KEY_5 = 53
, AURORE_KBD_KEY_6 = 54
, AURORE_KBD_KEY_7 = 55
, AURORE_KBD_KEY_8 = 56
,
AURORE_KBD_KEY_9 = 57
, AURORE_KBD_KEY_SEMICOLON = 59
, AURORE_KBD_KEY_EQUAL = 61
, AURORE_KBD_KEY_A = 65
,
AURORE_KBD_KEY_B = 66
, AURORE_KBD_KEY_C = 67
, AURORE_KBD_KEY_D = 68
, AURORE_KBD_KEY_E = 69
,
AURORE_KBD_KEY_F = 70
, AURORE_KBD_KEY_G = 71
, AURORE_KBD_KEY_H = 72
, AURORE_KBD_KEY_I = 73
,
AURORE_KBD_KEY_J = 74
, AURORE_KBD_KEY_K = 75
, AURORE_KBD_KEY_L = 76
, AURORE_KBD_KEY_M = 77
,
AURORE_KBD_KEY_N = 78
, AURORE_KBD_KEY_O = 79
, AURORE_KBD_KEY_P = 80
, AURORE_KBD_KEY_Q = 81
,
AURORE_KBD_KEY_R = 82
, AURORE_KBD_KEY_S = 83
, AURORE_KBD_KEY_T = 84
, AURORE_KBD_KEY_U = 85
,
AURORE_KBD_KEY_V = 86
, AURORE_KBD_KEY_W = 87
, AURORE_KBD_KEY_X = 88
, AURORE_KBD_KEY_Y = 89
,
AURORE_KBD_KEY_Z = 90
, AURORE_KBD_KEY_LEFT_BRACKET = 91
, AURORE_KBD_KEY_BACKSLASH = 92
, AURORE_KBD_KEY_RIGHT_BRACKET = 93
,
AURORE_KBD_KEY_GRAVE_ACCENT = 96
, AURORE_KBD_KEY_WORLD_1 = 161
, AURORE_KBD_KEY_WORLD_2 = 162
, AURORE_KBD_KEY_ESCAPE = 256
,
AURORE_KBD_KEY_ENTER = 257
, AURORE_KBD_KEY_TAB = 258
, AURORE_KBD_KEY_BACKSPACE = 259
, AURORE_KBD_KEY_INSERT = 260
,
AURORE_KBD_KEY_DELETE = 261
, AURORE_KBD_KEY_RIGHT = 262
, AURORE_KBD_KEY_LEFT = 263
, AURORE_KBD_KEY_DOWN = 264
,
AURORE_KBD_KEY_UP = 265
, AURORE_KBD_KEY_PAGE_UP = 266
, AURORE_KBD_KEY_PAGE_DOWN = 267
, AURORE_KBD_KEY_HOME = 268
,
AURORE_KBD_KEY_END = 269
, AURORE_KBD_KEY_CAPS_LOCK = 280
, AURORE_KBD_KEY_SCROLL_LOCK = 281
, AURORE_KBD_KEY_NUM_LOCK = 282
,
AURORE_KBD_KEY_PRINT_SCREEN = 283
, AURORE_KBD_KEY_PAUSE = 284
, AURORE_KBD_KEY_F1 = 290
, AURORE_KBD_KEY_F2 = 291
,
AURORE_KBD_KEY_F3 = 292
, AURORE_KBD_KEY_F4 = 293
, AURORE_KBD_KEY_F5 = 294
, AURORE_KBD_KEY_F6 = 295
,
AURORE_KBD_KEY_F7 = 296
, AURORE_KBD_KEY_F8 = 297
, AURORE_KBD_KEY_F9 = 298
, AURORE_KBD_KEY_F10 = 299
,
AURORE_KBD_KEY_F11 = 300
, AURORE_KBD_KEY_F12 = 301
, AURORE_KBD_KEY_F13 = 302
, AURORE_KBD_KEY_F14 = 303
,
AURORE_KBD_KEY_F15 = 304
, AURORE_KBD_KEY_F16 = 305
, AURORE_KBD_KEY_F17 = 306
, AURORE_KBD_KEY_F18 = 307
,
AURORE_KBD_KEY_F19 = 308
, AURORE_KBD_KEY_F20 = 309
, AURORE_KBD_KEY_F21 = 310
, AURORE_KBD_KEY_F22 = 311
,
AURORE_KBD_KEY_F23 = 312
, AURORE_KBD_KEY_F24 = 313
, AURORE_KBD_KEY_F25 = 314
, AURORE_KBD_KEY_KP_0 = 320
,
AURORE_KBD_KEY_KP_1 = 321
, AURORE_KBD_KEY_KP_2 = 322
, AURORE_KBD_KEY_KP_3 = 323
, AURORE_KBD_KEY_KP_4 = 324
,
AURORE_KBD_KEY_KP_5 = 325
, AURORE_KBD_KEY_KP_6 = 326
, AURORE_KBD_KEY_KP_7 = 327
, AURORE_KBD_KEY_KP_8 = 328
,
AURORE_KBD_KEY_KP_9 = 329
, AURORE_KBD_KEY_KP_DECIMAL = 330
, AURORE_KBD_KEY_KP_DIVIDE = 331
, AURORE_KBD_KEY_KP_MULTIPLY = 332
,
AURORE_KBD_KEY_KP_SUBTRACT = 333
, AURORE_KBD_KEY_KP_ADD = 334
, AURORE_KBD_KEY_KP_ENTER = 335
, AURORE_KBD_KEY_KP_EQUAL = 336
,
AURORE_KBD_KEY_LEFT_SHIFT = 340
, AURORE_KBD_KEY_LEFT_CONTROL = 341
, AURORE_KBD_KEY_LEFT_ALT = 342
, AURORE_KBD_KEY_LEFT_SUPER = 343
,
AURORE_KBD_KEY_RIGHT_SHIFT = 344
, AURORE_KBD_KEY_RIGHT_CONTROL = 345
, AURORE_KBD_KEY_RIGHT_ALT = 346
, AURORE_KBD_KEY_RIGHT_SUPER = 347
,
AURORE_KBD_KEY_MENU = 348
, AURORE_KBD_KEY_LAST
} |
| |
| enum | ControllerButton {
BUTTON_LT = 0
, BUTTON_LB
, BUTTON_LSB
, BUTTON_UP
,
BUTTON_RIGHT
, BUTTON_DOWN
, BUTTON_LEFT
, BUTTON_BACK
,
BUTTON_GUIDE
, BUTTON_START
, BUTTON_RSB
, BUTTON_Y
,
BUTTON_B
, BUTTON_A
, BUTTON_X
, BUTTON_RB
,
BUTTON_RT
, BUTTON_NAV_UP
, BUTTON_NAV_RIGHT
, BUTTON_NAV_DOWN
,
BUTTON_NAV_LEFT
, _BUTTON_MAX
} |
| |
| enum | ControllerAxis {
LEFT_X
, LEFT_Y
, RIGHT_X
, RIGHT_Y
,
LEFT_Z
, RIGHT_Z
, _AXES_MAX
} |
| |
| enum class | SensorEventType { GYRO
, ACCEL
} |
| |
| enum class | TouchPhase { START
, STAY
, END
, NONE
} |
| |
| enum class | LogLevel {
LOG_ERROR = 0
, LOG_WARNING
, LOG_INFO
, LOG_DEBUG
,
LOG_VERBOSE
} |
| |
| enum class | ThemeVariant { LIGHT
, DARK
} |
| | The two sets of colours every theme has: light and dark. More...
|
| |
| enum class | BackgroundFit { COVER
, CONTAIN
, TILE
, CENTER
} |
| | How a theme's background_image fills the window (background_fit) More...
|
| |
| enum class | ThemeArea {
NONE
, HEADER
, SIDEBAR
, DIALOG
,
TOP
, BOTTOM
} |
| | What a decoration picture is drawn in (View::setThemeArea) More...
|
| |
| enum class | ParticleKind {
NONE
, SNOW
, LEAVES
, PETALS
,
EMBERS
, CONFETTI
, SPARKLES
, HEARTS
,
BUBBLES
} |
| | The particles a theme may draw (particles in a theme file). More...
|
| |
| enum class | ParticleLayer { BACK
, FRONT
} |
| |
| enum class | PanAxis { HORIZONTAL
, VERTICAL
, ANY
} |
| |
| enum class | FocusDirection { UP
, DOWN
, LEFT
, RIGHT
} |
| | Focus direction when navigating. More...
|
| |
| enum class | ViewBackground {
NONE
, SIDEBAR
, BACKDROP
, SHAPE_COLOR
,
VERTICAL_LINEAR
, HORIZONTAL_LINEAR
} |
| | View background. More...
|
| |
| enum class | AlignSelf {
AUTO
, FLEX_START
, CENTER
, FLEX_END
,
STRETCH
, BASELINE
, SPACE_BETWEEN
, SPACE_AROUND
} |
| |
| enum class | Visibility { VISIBLE
, INVISIBLE
, GONE
} |
| | View visibility. More...
|
| |
| enum class | PositionType { RELATIVE
, ABSOLUTE
, STATIC
} |
| | Position attribute behavior. More...
|
| |
| enum class | BoxSizing { BORDER_BOX
, CONTENT_BOX
} |
| | What the width and height of a view measure. More...
|
| |
| enum class | TransitionAnimation {
FADE
, SLIDE_LEFT
, SLIDE_RIGHT
, NONE
,
LINEAR
} |
| |
| enum class | ShadowType { NONE
, GENERIC
, CUSTOM
} |
| | A View shape's shadow type. More...
|
| |
| enum class | StyleState : uint8_t { HOVER = 1 << 0
, FOCUS = 1 << 1
, PRESSED = 1 << 2
, DISABLED = 1 << 3
} |
| |
| enum class | AccessibilityRole : uint8_t {
NONE
, BUTTON
, LABEL
, HEADER
,
IMAGE
, CELL
, TOGGLE
, SLIDER
,
TEXT_FIELD
, TAB
, LIST
, DIALOG
} |
| |
| enum class | HeaderStyle { REGULAR
, POPUP
} |
| |
| enum class | ButtonState { ENABLED = 0
, DISABLED
} |
| |
| enum class | ImageScalingType { FIT
, FILL
, STRETCH
, CENTER
} |
| |
| enum class | ImageInterpolation { LINEAR
, NEAREST
} |
| | This dictates what interpolation to use when down / up scaling the image. More...
|
| |
| enum class | ImageAlignment {
TOP
, RIGHT
, BOTTOM
, LEFT
,
CENTER
} |
| | Alignment of the image inside the view for FIT and CROP scaling types. More...
|
| |
| enum class | HorizontalAlign { LEFT
, CENTER
, RIGHT
} |
| | Where a label's lines sit across its width. More...
|
| |
| enum class | VerticalAlign { BASELINE
, TOP
, CENTER
, BOTTOM
} |
| | Where a label's text sits in its height. More...
|
| |
| enum class | CursorPosition { UNSET = -2
, END = -1
, START = 0
} |
| | An edit cursor's place in a label's text (Label::setCursor). More...
|
| |
| enum | ProgressSpinnerSize { NORMAL
, LARGE
} |
| |
| enum class | ScrollingBehavior { NATURAL
, CENTERED
} |
| | How a ScrollingFrame follows the focus. More...
|
| |
|
| void | updateHighlightAnimation () |
| |
| void | getHighlightAnimation (float *gradient_x, float *gradient_y, float *color) |
| |
| void | setHighlightAnimationStill (bool still) |
| |
| std::string | bidiVisual (const std::string &text) |
| |
| bool | bidiAvailable () |
| |
| std::string | localeFromSystem (std::string system) |
| |
| template<typename... Args> |
| std::string | getStr (std::string stringName, Args &&... args) |
| |
| void | loadTranslations () |
| |
| void | loadTranslations (const std::string &locale) |
| |
| std::string | operator""_i18n (const char *str, size_t len) |
| |
| Style | getStyle () |
| | The app's metrics: what XML reads with @style/….
|
| |
| void | sync (std::function< void()> func) |
| |
| void | async (std::function< void()> func) |
| |
| size_t | delay (long milliseconds, std::function< void()> func) |
| |
| void | cancelDelay (size_t iter) |
| |
| Time | getCPUTimeUsec () |
| |
| Time | getRealTimeUsec () |
| |
| void | setSimulatedTimeUsec (Time usec) |
| |
| bool | isTimeSimulated () |
| |
| std::time_t | getWallTime () |
| |
| void | setSimulatedWallTime (int64_t seconds) |
| |
| std::tm | localTime (std::time_t time) |
| |
| bool | endsWith (const std::string &data, const std::string &suffix) |
| |
| bool | startsWith (const std::string &data, const std::string &prefix) |
| |
| void | fatal (std::string message) |
| |
| std::string | loadFileContents (const std::string &path) |
| |
| bool | readSmallFile (const std::string &path, size_t maxBytes, std::string *text) |
| |
| bool | isResourceNameSafe (const std::string &name) |
| |
| std::string | escapeControlChars (const std::string &text) |
| |
| const char * | environmentVariable (const std::string &name) |
| | The environment variable AURORE_<name>: nullptr when it is not set.
|
| |
| void | nameXMLDocument (const tinyxml2::XMLDocument *document, const std::string &name) |
| |
| float | ntz (float value) |
| |
| std::string | accessibilityRoleName (AccessibilityRole role) |
| |
| std::string | accessibilityRoleWord (AccessibilityRole role) |
| |
| std::string | accessibilityStateWord (const std::string &state) |
| |
| std::string | accessibilityPercent (float fraction) |
| |
| void | setHintsFontScaleMax (float max) |
| |
| float | getHintsFontScaleMax () |
| |
| void | setHintsSteady (bool steady) |
| |
| void | setHintsOptionalOwner (View *owner) |
| |
| View * | getHintsOptionalOwner () |
| |