Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
aurore Namespace Reference

Namespaces

namespace  detail
 
namespace  internal
 
namespace  literals
 
namespace  test
 

Classes

class  AccountWidget
 
class  Action
 
class  Activity
 
class  Animatable
 
class  AppletFrame
 
struct  AppletFrameItem
 
class  Application
 
class  AudioPlayer
 
struct  AuroreKeyCombination
 
class  AuroreKeyState
 
class  BatteryWidget
 
class  BooleanCell
 
class  BottomBar
 
class  BoundView
 
class  Box
 Generic FlexBox layout. More...
 
class  Button
 
class  ButtonLatch
 
struct  ButtonStyle
 
class  CheckBox
 
class  ContextMenu
 
class  ContextMenuItem
 
struct  ControllerState
 
class  DataModel
 
class  DebugLayer
 
struct  DelayOperation
 
class  DetailCell
 
class  Dialog
 
class  DialogButton
 
class  Dropdown
 
class  EditTextDialog
 
class  Event
 
class  FiniteTicking
 
class  FontLoader
 
class  FrameContext
 
struct  FrameProfile
 
class  GamepadAction
 
class  GestureRecognizer
 
class  Header
 
class  HeadlessImeManager
 
class  HeadlessInputManager
 
class  HeadlessPlatform
 
class  HeadlessVideoContext
 
class  Hint
 
class  Hints
 
class  HotReload
 
class  HRecyclerFrame
 
class  HScrollingFrame
 
class  IconButton
 
class  Image
 
class  ImeManager
 
struct  IndexPath
 
class  InputCell
 
class  InputManager
 
class  InputNumericCell
 
class  Inspector
 
class  KeyboardAction
 
struct  KeyState
 
class  Label
 
class  Logger
 
class  LongPressGestureRecognizer
 
class  LRUCache
 
struct  MouseState
 
struct  Node
 
class  Notification
 
class  NotificationManager
 
class  NullAudioPlayer
 
class  Observable
 
class  Padding
 
struct  PanAcceleration
 
class  PanGestureRecognizer
 
struct  PanGestureStatus
 
class  Platform
 
struct  Point
 
class  Profiler
 
class  ProgressSpinner
 
class  RadioCell
 
struct  RawMouseState
 
struct  RawTouchState
 
struct  ReadingXMLElement
 While it lives, the XML element being read (named in View::fatalXML's errors). More...
 
struct  Rect
 
class  Rectangle
 
class  RecyclerCell
 
class  RecyclerContentBox
 The box a RecyclerFrame lays its cells in, which asks it where the focus goes. More...
 
class  RecyclerDataSource
 
class  RecyclerFrame
 
class  RecyclerHeader
 A section's header in a RecyclerFrame: a title and a subtitle. More...
 
class  RecyclingGrid
 
class  RecyclingGridContentBox
 
class  RecyclingGridDataSource
 
class  RecyclingGridItem
 
class  RecyclingView
 
class  RepeatingTask
 
class  RepeatingTimer
 
class  ScrollGestureRecognizer
 
class  ScrollingFrame
 
class  SelectorCell
 
struct  SensorEvent
 
class  Sidebar
 
class  SidebarItem
 
class  SidebarItemGroup
 
class  SidebarSeparator
 
class  Singleton
 
struct  Size
 
class  Slider
 
class  SliderCell
 
class  Style
 Simple wrapper around StyleValues for the array operator. More...
 
struct  StyleValue
 
class  StyleValues
 
class  Subscription
 
class  TabFrame
 
struct  TapGestureConfig
 
class  TapGestureRecognizer
 
struct  TapGestureStatus
 
class  TextureCache
 
class  Theme
 
struct  ThemeBackground
 A variant's background, as a theme file sets it (docs/themes.md) More...
 
struct  ThemeDecor
 A variant's decorations: one picture per area, and particles. More...
 
class  ThemeDecorations
 
struct  ThemeIcon
 A Cadran icon a theme draws as a picture (icon.<name>, docs/themes.md) More...
 
struct  ThemeImage
 
struct  ThemeImageOptions
 
class  ThemeImages
 
struct  ThemeInfo
 A theme file as listThemes() or inspect() read it, without applying it. More...
 
struct  ThemeParticles
 A variant's particles, as a theme file sets them (docs/themes.md). More...
 
struct  ThemePicture
 A picture of the decorations, as a theme file sets it. More...
 
struct  ThemePictures
 
class  ThemeValues
 
class  Threading
 
class  Ticking
 
class  Timer
 
struct  TouchState
 
class  View
 
class  ViewNotFoundException
 
class  WirelessWidget
 

Typedefs

typedef std::function< bool(View *)> ActionListener
 
typedef int ActionIdentifier
 
typedef int AuroreKeyCode
 
using EasingFunction = tweeny::easing::enumerated
 
typedef std::function< View *(void)> XMLViewCreator
 Makes a new view for an XML tag (Application::registerXMLView).
 
typedef std::unordered_map< std::string, int > FontStash
 
typedef std::vector< DelayOperation >::iterator DelayOperationIterator
 
typedef retro_time_t Time
 
typedef std::function< void()> TickingGenericCallback
 
typedef std::function< void(bool)> TickingEndCallback
 
typedef TickingGenericCallback TickingTickCallback
 
typedef Event< PanGestureStatus, Sound * > PanGestureEvent
 
typedef Event< TapGestureStatus, Sound * > TapGestureEvent
 
typedef Event< View * > GenericEvent
 
typedef Event VoidEvent
 
typedef std::function< void(void)> AutoAttributeHandler
 
typedef std::function< void(int)> IntAttributeHandler
 
typedef std::function< void(float)> FloatAttributeHandler
 
typedef std::function< void(std::string)> StringAttributeHandler
 
typedef std::function< void(NVGcolor)> ColorAttributeHandler
 
typedef std::function< void(bool)> BoolAttributeHandler
 
typedef std::function< void(std::string)> FilePathAttributeHandler
 
typedef struct aurore::ButtonStyle ButtonStyle
 
typedef Event< int > ValueSelectedEvent
 
typedef std::function< View *(void)> TabViewCreator
 

Enumerations

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...
 

Functions

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 ()
 

Variables

static constexpr const int FONT_INVALID = -1
 
static const std::string FONT_REGULAR = "regular"
 
static const std::string FONT_KOREAN_REGULAR = "korean"
 
static const std::string FONT_CHINESE_SIMPLIFIED = "zh-Hans"
 
static const std::string FONT_CHINESE_SIMPLIFIED_EXT = "zh-Hans-ext"
 
static const std::string FONT_CHINESE_TRADITIONAL = "zh-Hant"
 
static const std::string FONT_JAPANESE = "ja"
 
static const std::string FONT_MATERIAL_ICONS = "material"
 
static const std::string FONT_SWITCH_ICONS = "switch"
 
static const std::string FONT_EMOJI = "emoji"
 
const std::string LOCALE_JA = "ja"
 
const std::string LOCALE_EN_US = "en-US"
 
const std::string LOCALE_EN_GB = "en-GB"
 
const std::string LOCALE_FR = "fr"
 
const std::string LOCALE_FR_CA = "fr-CA"
 
const std::string LOCALE_DE = "de"
 
const std::string LOCALE_IT = "it"
 
const std::string LOCALE_ES = "es"
 
const std::string LOCALE_ZH_CN = "zh-CN"
 
const std::string LOCALE_ZH_HANS = "zh-Hans"
 
const std::string LOCALE_ZH_HANT = "zh-Hant"
 
const std::string LOCALE_ZH_TW = "zh-TW"
 
const std::string LOCALE_Ko = "ko"
 
const std::string LOCALE_NL = "nl"
 
const std::string LOCALE_PT = "pt"
 
const std::string LOCALE_PT_BR = "pt-BR"
 
const std::string LOCALE_RU = "ru"
 
const std::string LOCALE_ES_419 = "es-419"
 
const std::string LOCALE_RYU = "ja-RYU"
 custom locale
 
const std::string LOCALE_AUTO = "auto"
 
const std::string LOCALE_DEFAULT = LOCALE_EN_US
 
constexpr int THEME_AREA_COUNT = 5
 HEADER to BOTTOM.
 
const NVGcolor TRANSPARENT = nvgRGBA(0, 0, 0, 0)
 
const NVGcolor transparent
 
const ButtonStyle BUTTONSTYLE_PRIMARY
 
const ButtonStyle BUTTONSTYLE_HIGHLIGHT
 
const ButtonStyle BUTTONSTYLE_DEFAULT
 
const ButtonStyle BUTTONSTYLE_BORDERED
 
const ButtonStyle BUTTONSTYLE_BORDERLESS
 

Typedef Documentation

◆ ActionIdentifier

◆ ActionListener

typedef std::function<bool(View*)> aurore::ActionListener

◆ AuroreKeyCode

typedef int aurore::AuroreKeyCode

◆ AutoAttributeHandler

typedef std::function<void(void)> aurore::AutoAttributeHandler

◆ BoolAttributeHandler

typedef std::function<void(bool)> aurore::BoolAttributeHandler

◆ ButtonStyle

◆ ColorAttributeHandler

typedef std::function<void(NVGcolor)> aurore::ColorAttributeHandler

◆ DelayOperationIterator

typedef std::vector<DelayOperation>::iterator aurore::DelayOperationIterator

◆ EasingFunction

using aurore::EasingFunction = typedef tweeny::easing::enumerated

◆ FilePathAttributeHandler

typedef std::function<void(std::string)> aurore::FilePathAttributeHandler

◆ FloatAttributeHandler

typedef std::function<void(float)> aurore::FloatAttributeHandler

◆ FontStash

typedef std::unordered_map<std::string, int> aurore::FontStash

◆ GenericEvent

◆ IntAttributeHandler

typedef std::function<void(int)> aurore::IntAttributeHandler

◆ PanGestureEvent

◆ StringAttributeHandler

typedef std::function<void(std::string)> aurore::StringAttributeHandler

◆ TabViewCreator

typedef std::function<View*(void)> aurore::TabViewCreator

◆ TapGestureEvent

◆ TickingEndCallback

typedef std::function<void(bool)> aurore::TickingEndCallback

◆ TickingGenericCallback

typedef std::function<void()> aurore::TickingGenericCallback

◆ TickingTickCallback

◆ Time

typedef retro_time_t aurore::Time

◆ ValueSelectedEvent

◆ VoidEvent

◆ XMLViewCreator

typedef std::function<View*(void)> aurore::XMLViewCreator

Makes a new view for an XML tag (Application::registerXMLView).

Enumeration Type Documentation

◆ AccessibilityRole

enum class aurore::AccessibilityRole : uint8_t
strong
Enumerator
NONE 
BUTTON 
LABEL 
HEADER 
IMAGE 
CELL 
TOGGLE 
SLIDER 
TEXT_FIELD 
TAB 
LIST 
DIALOG 

◆ ActionType

Enumerator
ACTION_GAMEPAD 
ACTION_KEYBOARD 
ACTION_COUNT 

◆ AlignItems

enum class aurore::AlignItems
strong

How a box places its children across its axis (alignItems in XML).

Enumerator
AUTO 
FLEX_START 
CENTER 
FLEX_END 
STRETCH 
BASELINE 
SPACE_BETWEEN 
SPACE_AROUND 

◆ AlignSelf

enum class aurore::AlignSelf
strong
Enumerator
AUTO 
FLEX_START 
CENTER 
FLEX_END 
STRETCH 
BASELINE 
SPACE_BETWEEN 
SPACE_AROUND 

◆ AuroreKeyboardModifiers

Enumerator
AURORE_KBD_MODIFIER_NONE 
AURORE_KBD_MODIFIER_SHIFT 
AURORE_KBD_MODIFIER_CTRL 
AURORE_KBD_MODIFIER_ALT 
AURORE_KBD_MODIFIER_META 

◆ AuroreKeyboardScancode

HidKeyboardScancode Uses the same key codes as GLFW

Enumerator
AURORE_KBD_KEY_UNKNOWN 
AURORE_KBD_KEY_SPACE 
AURORE_KBD_KEY_APOSTROPHE 
AURORE_KBD_KEY_COMMA 
AURORE_KBD_KEY_MINUS 
AURORE_KBD_KEY_PERIOD 
AURORE_KBD_KEY_SLASH 
AURORE_KBD_KEY_0 
AURORE_KBD_KEY_1 
AURORE_KBD_KEY_2 
AURORE_KBD_KEY_3 
AURORE_KBD_KEY_4 
AURORE_KBD_KEY_5 
AURORE_KBD_KEY_6 
AURORE_KBD_KEY_7 
AURORE_KBD_KEY_8 
AURORE_KBD_KEY_9 
AURORE_KBD_KEY_SEMICOLON 
AURORE_KBD_KEY_EQUAL 
AURORE_KBD_KEY_A 
AURORE_KBD_KEY_B 
AURORE_KBD_KEY_C 
AURORE_KBD_KEY_D 
AURORE_KBD_KEY_E 
AURORE_KBD_KEY_F 
AURORE_KBD_KEY_G 
AURORE_KBD_KEY_H 
AURORE_KBD_KEY_I 
AURORE_KBD_KEY_J 
AURORE_KBD_KEY_K 
AURORE_KBD_KEY_L 
AURORE_KBD_KEY_M 
AURORE_KBD_KEY_N 
AURORE_KBD_KEY_O 
AURORE_KBD_KEY_P 
AURORE_KBD_KEY_Q 
AURORE_KBD_KEY_R 
AURORE_KBD_KEY_S 
AURORE_KBD_KEY_T 
AURORE_KBD_KEY_U 
AURORE_KBD_KEY_V 
AURORE_KBD_KEY_W 
AURORE_KBD_KEY_X 
AURORE_KBD_KEY_Y 
AURORE_KBD_KEY_Z 
AURORE_KBD_KEY_LEFT_BRACKET 
AURORE_KBD_KEY_BACKSLASH 
AURORE_KBD_KEY_RIGHT_BRACKET 
AURORE_KBD_KEY_GRAVE_ACCENT 
AURORE_KBD_KEY_WORLD_1 
AURORE_KBD_KEY_WORLD_2 
AURORE_KBD_KEY_ESCAPE 
AURORE_KBD_KEY_ENTER 
AURORE_KBD_KEY_TAB 
AURORE_KBD_KEY_BACKSPACE 
AURORE_KBD_KEY_INSERT 
AURORE_KBD_KEY_DELETE 
AURORE_KBD_KEY_RIGHT 
AURORE_KBD_KEY_LEFT 
AURORE_KBD_KEY_DOWN 
AURORE_KBD_KEY_UP 
AURORE_KBD_KEY_PAGE_UP 
AURORE_KBD_KEY_PAGE_DOWN 
AURORE_KBD_KEY_HOME 
AURORE_KBD_KEY_END 
AURORE_KBD_KEY_CAPS_LOCK 
AURORE_KBD_KEY_SCROLL_LOCK 
AURORE_KBD_KEY_NUM_LOCK 
AURORE_KBD_KEY_PRINT_SCREEN 
AURORE_KBD_KEY_PAUSE 
AURORE_KBD_KEY_F1 
AURORE_KBD_KEY_F2 
AURORE_KBD_KEY_F3 
AURORE_KBD_KEY_F4 
AURORE_KBD_KEY_F5 
AURORE_KBD_KEY_F6 
AURORE_KBD_KEY_F7 
AURORE_KBD_KEY_F8 
AURORE_KBD_KEY_F9 
AURORE_KBD_KEY_F10 
AURORE_KBD_KEY_F11 
AURORE_KBD_KEY_F12 
AURORE_KBD_KEY_F13 
AURORE_KBD_KEY_F14 
AURORE_KBD_KEY_F15 
AURORE_KBD_KEY_F16 
AURORE_KBD_KEY_F17 
AURORE_KBD_KEY_F18 
AURORE_KBD_KEY_F19 
AURORE_KBD_KEY_F20 
AURORE_KBD_KEY_F21 
AURORE_KBD_KEY_F22 
AURORE_KBD_KEY_F23 
AURORE_KBD_KEY_F24 
AURORE_KBD_KEY_F25 
AURORE_KBD_KEY_KP_0 
AURORE_KBD_KEY_KP_1 
AURORE_KBD_KEY_KP_2 
AURORE_KBD_KEY_KP_3 
AURORE_KBD_KEY_KP_4 
AURORE_KBD_KEY_KP_5 
AURORE_KBD_KEY_KP_6 
AURORE_KBD_KEY_KP_7 
AURORE_KBD_KEY_KP_8 
AURORE_KBD_KEY_KP_9 
AURORE_KBD_KEY_KP_DECIMAL 
AURORE_KBD_KEY_KP_DIVIDE 
AURORE_KBD_KEY_KP_MULTIPLY 
AURORE_KBD_KEY_KP_SUBTRACT 
AURORE_KBD_KEY_KP_ADD 
AURORE_KBD_KEY_KP_ENTER 
AURORE_KBD_KEY_KP_EQUAL 
AURORE_KBD_KEY_LEFT_SHIFT 
AURORE_KBD_KEY_LEFT_CONTROL 
AURORE_KBD_KEY_LEFT_ALT 
AURORE_KBD_KEY_LEFT_SUPER 
AURORE_KBD_KEY_RIGHT_SHIFT 
AURORE_KBD_KEY_RIGHT_CONTROL 
AURORE_KBD_KEY_RIGHT_ALT 
AURORE_KBD_KEY_RIGHT_SUPER 
AURORE_KBD_KEY_MENU 
AURORE_KBD_KEY_LAST 

◆ Axis

enum class aurore::Axis
strong

The direction a box lays its children out in (axis in XML).

Enumerator
ROW 
COLUMN 

◆ BackgroundFit

enum class aurore::BackgroundFit
strong

How a theme's background_image fills the window (background_fit)

Enumerator
COVER 

scaled to cover it, centred, cut at the edges (the default)

CONTAIN 

scaled to fit in it whole, centred, aurore/clear around it

TILE 

repeated from the top left, one pixel per unit of the layout

CENTER 

as is, one pixel per unit of the layout, centred

◆ BoxSizing

enum class aurore::BoxSizing
strong

What the width and height of a view measure.

Enumerator
BORDER_BOX 

the whole view, padding and border included

CONTENT_BOX 

the content only, padding and border are added to it

◆ ButtonState

enum class aurore::ButtonState
strong
Enumerator
ENABLED 
DISABLED 

◆ ControllerAxis

Enumerator
LEFT_X 
LEFT_Y 
RIGHT_X 
RIGHT_Y 
LEFT_Z 
RIGHT_Z 
_AXES_MAX 

◆ ControllerButton

Enumerator
BUTTON_LT 
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 

◆ CursorPosition

enum class aurore::CursorPosition
strong

An edit cursor's place in a label's text (Label::setCursor).

Enumerator
UNSET 
END 
START 

◆ Direction

enum class aurore::Direction
strong

The writing direction a box lays its children out in.

Enumerator
INHERIT 
LEFT_TO_RIGHT 
RIGHT_TO_LEFT 

◆ FocusDirection

enum class aurore::FocusDirection
strong

Focus direction when navigating.

Enumerator
UP 
DOWN 
LEFT 
RIGHT 

◆ GestureState

enum class aurore::GestureState
strong
Enumerator
INTERRUPTED 
UNSURE 
START 
STAY 
END 
FAILED 

◆ HeaderStyle

enum class aurore::HeaderStyle
strong
Enumerator
REGULAR 
POPUP 

◆ HorizontalAlign

enum class aurore::HorizontalAlign
strong

Where a label's lines sit across its width.

Enumerator
LEFT 
CENTER 
RIGHT 

◆ ImageAlignment

enum class aurore::ImageAlignment
strong

Alignment of the image inside the view for FIT and CROP scaling types.

Enumerator
TOP 
RIGHT 
BOTTOM 
LEFT 
CENTER 

◆ ImageInterpolation

enum class aurore::ImageInterpolation
strong

This dictates what interpolation to use when down / up scaling the image.

Enumerator
LINEAR 
NEAREST 

◆ ImageScalingType

enum class aurore::ImageScalingType
strong

This dictates what to do with the image if there is not enough room for the view to grow and display the whole image, or if the view is bigger than the image

Enumerator
FIT 

The image is scaled to fit the view boundaries, aspect ratio is conserved.

FILL 

The image is scaled to fill the view boundaries, aspect ratio is conserved.

STRETCH 

The image is stretched to fit the view boundaries (aspect ratio is not conserved). The original image dimensions are entirely ignored in the layout process.

CENTER 

The image is either cropped (not enough space) or untouched (too much space)

◆ InputType

enum class aurore::InputType
strong

Input types for entire app.

Enumerator
GAMEPAD 

Gamepad or keyboard.

TOUCH 

Touch screen.

◆ JustifyContent

enum class aurore::JustifyContent
strong

How a box spreads its children along its axis (justifyContent in XML).

Enumerator
FLEX_START 
CENTER 
FLEX_END 
SPACE_BETWEEN 
SPACE_AROUND 
SPACE_EVENLY 

◆ KeyboardKeyDisableBitmask

Enumerator
KEYBOARD_DISABLE_NONE 
KEYBOARD_DISABLE_SPACE 
KEYBOARD_DISABLE_AT 
KEYBOARD_DISABLE_PERCENT 
KEYBOARD_DISABLE_FORWSLASH 
KEYBOARD_DISABLE_BACKSLASH 
KEYBOARD_DISABLE_NUMBERS 
KEYBOARD_DISABLE_DOWNLOADCODE 
KEYBOARD_DISABLE_USERNAME 

◆ LogLevel

enum class aurore::LogLevel
strong
Enumerator
LOG_ERROR 
LOG_WARNING 
LOG_INFO 
LOG_DEBUG 
LOG_VERBOSE 

◆ PanAxis

enum class aurore::PanAxis
strong
Enumerator
HORIZONTAL 
VERTICAL 
ANY 

◆ ParticleKind

enum class aurore::ParticleKind
strong

The particles a theme may draw (particles in a theme file).

Enumerator
NONE 
SNOW 
LEAVES 
PETALS 
EMBERS 
CONFETTI 
SPARKLES 
HEARTS 
BUBBLES 

◆ ParticleLayer

enum class aurore::ParticleLayer
strong

particles_layer: behind the screens (under every view) or in front of them, fainter

Enumerator
BACK 
FRONT 

◆ PositionType

enum class aurore::PositionType
strong

Position attribute behavior.

Enumerator
RELATIVE 

position attributes offset the view from the base layout

ABSOLUTE 

position attributes set the absolute coordinates of the view

STATIC 

position attributes are ignored, and absolute children are placed against an ancestor that is not static

◆ ProgressSpinnerSize

Enumerator
NORMAL 
LARGE 

◆ ScrollingBehavior

enum class aurore::ScrollingBehavior
strong

How a ScrollingFrame follows the focus.

Enumerator
NATURAL 

Inputs scroll the view like the scroll wheel on a web page, focus changes only when the next view to focus is fully on screen To work properly, there must be at least one focusable view in the "top" area of the frame (there should not be the need to scroll to see it)

CENTERED 

The focused view is always in the center, inputs always change focus and scroll immediately.

◆ SensorEventType

enum class aurore::SensorEventType
strong
Enumerator
GYRO 
ACCEL 

◆ ShadowType

enum class aurore::ShadowType
strong

A View shape's shadow type.

Enumerator
NONE 

do not draw any shadow around the shape

GENERIC 

generic all-purpose shadow

CUSTOM 

customized shadow (use the provided methods to tweak it)

◆ Sound

Enumerator
SOUND_NONE 
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 

◆ StyleState

enum class aurore::StyleState : uint8_t
strong
Enumerator
HOVER 
FOCUS 
PRESSED 
DISABLED 

◆ ThemeArea

enum class aurore::ThemeArea
strong

What a decoration picture is drawn in (View::setThemeArea)

Enumerator
NONE 
HEADER 

backdrop.header: a screen's header, its whole width

SIDEBAR 

backdrop.sidebar: the sidebar (Cadran's rail)

DIALOG 

backdrop.dialog: dialogs, dropdowns, Cadran's sheets

TOP 

decor.top: a strip along the top edge of the screen

BOTTOM 

decor.bottom: along its bottom edge

◆ ThemeVariant

enum class aurore::ThemeVariant
strong

The two sets of colours every theme has: light and dark.

Enumerator
LIGHT 
DARK 

◆ TouchPhase

enum class aurore::TouchPhase
strong
Enumerator
START 
STAY 
END 
NONE 

◆ TransitionAnimation

enum class aurore::TransitionAnimation
strong

The animation to play when pushing / popping an activity or showing / hiding a view.

Enumerator
FADE 

the old activity fades away and the new one fades in

SLIDE_LEFT 

the old activity slides out to the left and the new one slides in from the right

SLIDE_RIGHT 

inverted SLIDE_LEFT

NONE 
LINEAR 

◆ VerticalAlign

enum class aurore::VerticalAlign
strong

Where a label's text sits in its height.

Enumerator
BASELINE 
TOP 
CENTER 
BOTTOM 

◆ ViewBackground

enum class aurore::ViewBackground
strong

View background.

Enumerator
NONE 
SIDEBAR 
BACKDROP 
SHAPE_COLOR 
VERTICAL_LINEAR 
HORIZONTAL_LINEAR 

◆ Visibility

enum class aurore::Visibility
strong

View visibility.

Enumerator
VISIBLE 

the view is visible

INVISIBLE 

the view is invisible but still takes some space

GONE 

the view is invisible and doesn't take any space

◆ Wrap

enum class aurore::Wrap
strong

Whether a box's children go on to new lines when they do not fit (flexWrap).

Enumerator
NO_WRAP 
WRAP 
WRAP_REVERSE 

Function Documentation

◆ accessibilityPercent()

std::string aurore::accessibilityPercent ( float  fraction)

◆ accessibilityRoleName()

std::string aurore::accessibilityRoleName ( AccessibilityRole  role)

◆ accessibilityRoleWord()

std::string aurore::accessibilityRoleWord ( AccessibilityRole  role)

◆ accessibilityStateWord()

std::string aurore::accessibilityStateWord ( const std::string &  state)

◆ async()

void aurore::async ( std::function< void()>  func)
extern

Enqueue a function to be executed in parallel with application's main thread.

It's a shortcut for aurore::Application::async(&func);

◆ bidiAvailable()

bool aurore::bidiAvailable ( )

◆ bidiVisual()

std::string aurore::bidiVisual ( const std::string &  text)

◆ cancelDelay()

void aurore::cancelDelay ( size_t  iter)
extern

◆ delay()

size_t aurore::delay ( long  milliseconds,
std::function< void()>  func 
)
extern

◆ endsWith()

bool aurore::endsWith ( const std::string &  data,
const std::string &  suffix 
)

◆ environmentVariable()

const char * aurore::environmentVariable ( const std::string &  name)

The environment variable AURORE_<name>: nullptr when it is not set.

◆ escapeControlChars()

std::string aurore::escapeControlChars ( const std::string &  text)

text with its control characters (ASCII and C1) written as \xNN, for a log line or a message that quotes a file a user gave.

◆ fatal()

void aurore::fatal ( std::string  message)

Prints the given error message message and throws a std::logic_error.

◆ getCPUTimeUsec()

Time aurore::getCPUTimeUsec ( )
inline

Returns the current CPU time in microseconds: the simulated clock's while one is set (setSimulatedTimeUsec()), else the system's monotonic clock.

◆ getHighlightAnimation()

void aurore::getHighlightAnimation ( float *  gradient_x,
float *  gradient_y,
float *  color 
)

◆ getHintsFontScaleMax()

float aurore::getHintsFontScaleMax ( )

◆ getHintsOptionalOwner()

View * aurore::getHintsOptionalOwner ( )

◆ getRealTimeUsec()

Time aurore::getRealTimeUsec ( )
inline

Returns the system's monotonic clock in microseconds, even while a simulated clock is set (to measure how long something really took).

◆ getStr()

template<typename... Args>
std::string aurore::getStr ( std::string  stringName,
Args &&...  args 
)

Returns the translation for the given string, after injecting format parameters (if any)

◆ getStyle()

Style aurore::getStyle ( )

The app's metrics: what XML reads with @style/….

◆ getWallTime()

std::time_t aurore::getWallTime ( )
inline

The wall clock (the dates and times shown), in seconds since the epoch: the system's, or the one set with setSimulatedWallTime(), which moves on with getCPUTimeUsec().

◆ isResourceNameSafe()

bool aurore::isResourceNameSafe ( const std::string &  name)

True for a resource name ("@res/…") with no ".." part: one that stays in the resources.

◆ isTimeSimulated()

bool aurore::isTimeSimulated ( )
inline

◆ loadFileContents()

std::string aurore::loadFileContents ( const std::string &  path)

◆ loadTranslations() [1/2]

void aurore::loadTranslations ( )

Loads all translations of the current system locale + default locale Must be called before trying to get a translation!

◆ loadTranslations() [2/2]

void aurore::loadTranslations ( const std::string &  locale)

Loads the translations of locale in place of the current ones, while the app runs (the platform's locale is left as it is): the strings read after it are in that language

◆ localeFromSystem()

std::string aurore::localeFromSystem ( std::string  system)

The locale Aurore uses (one of the LOCALE_ above) for a system one: POSIX ("fr_FR.UTF-8", "pt_BR@euro"), BCP 47 ("fr-CA", "zh-Hant-TW") or a language alone ("de"). en-US when no locale of Aurore matches.

◆ localTime()

std::tm aurore::localTime ( std::time_t  time)
inline

std::localtime() without its shared buffer: safe on any thread (the logger runs on the task thread too).

◆ nameXMLDocument()

void aurore::nameXMLDocument ( const tinyxml2::XMLDocument *  document,
const std::string &  name 
)

For the XML errors (View::fatalXML): the file or resource a document was read from, and the element being read while this lives

◆ ntz()

float aurore::ntz ( float  value)

Some YG values are NAN if not set, wrecking our calculations if we use them as they are

◆ readSmallFile()

bool aurore::readSmallFile ( const std::string &  path,
size_t  maxBytes,
std::string *  text 
)

The whole of a regular file of at most maxBytes bytes, in text. False, text untouched, for a file that is not there, is not a regular file (a folder, a pipe, a device) or is larger.

◆ setHighlightAnimationStill()

void aurore::setHighlightAnimationStill ( bool  still)

◆ setHintsFontScaleMax()

void aurore::setHintsFontScaleMax ( float  max)

◆ setHintsOptionalOwner()

void aurore::setHintsOptionalOwner ( View *  owner)

◆ setHintsSteady()

void aurore::setHintsSteady ( bool  steady)

◆ setSimulatedTimeUsec()

void aurore::setSimulatedTimeUsec ( Time  usec)
inline

Replaces the clock read by getCPUTimeUsec() (animations, timers, delay(), button repeat...) with one that only moves when told: frames then run without waiting for real time, the same way every run. Used by the test harness (aurore::test::Harness). A negative value goes back to the real clock.

◆ setSimulatedWallTime()

void aurore::setSimulatedWallTime ( int64_t  seconds)
inline

Sets the wall clock to seconds since the epoch from now on (the test harness: the same date on every screenshot). A negative value goes back to the system's.

◆ startsWith()

bool aurore::startsWith ( const std::string &  data,
const std::string &  prefix 
)

◆ sync()

void aurore::sync ( std::function< void()>  func)
extern

Enqueue a function to be executed before the application is redrawn the next time.

Aurore is not thread-safe, and sync() provides a mechanism for queuing up UI-related state changes from other threads.

It's a shortcut for aurore::Application::sync(&func);

◆ updateHighlightAnimation()

void aurore::updateHighlightAnimation ( )

Variable Documentation

◆ BUTTONSTYLE_BORDERED

const ButtonStyle aurore::BUTTONSTYLE_BORDERED
inline
Initial value:
= {
.shadowType = ShadowType::NONE,
.hideHighlightBackground = false,
.highlightPadding = "",
.borderThickness = "aurore/button/border_thickness",
.enabledBackgroundColor = "",
.enabledLabelColor = "aurore/button/default_enabled_text",
.enabledBorderColor = "aurore/button/enabled_border_color",
.disabledBackgroundColor = "",
.disabledLabelColor = "aurore/button/default_disabled_text",
.disabledBorderColor = "aurore/button/disabled_border_color",
}

◆ BUTTONSTYLE_BORDERLESS

const ButtonStyle aurore::BUTTONSTYLE_BORDERLESS
inline
Initial value:
= {
.shadowType = ShadowType::NONE,
.hideHighlightBackground = false,
.highlightPadding = "",
.borderThickness = "",
.enabledBackgroundColor = "",
.enabledLabelColor = "aurore/button/default_enabled_text",
.enabledBorderColor = "",
.disabledBackgroundColor = "",
.disabledLabelColor = "aurore/button/default_disabled_text",
.disabledBorderColor = "",
}

◆ BUTTONSTYLE_DEFAULT

const ButtonStyle aurore::BUTTONSTYLE_DEFAULT
inline
Initial value:
= {
.shadowType = ShadowType::GENERIC,
.hideHighlightBackground = true,
.highlightPadding = "",
.borderThickness = "",
.enabledBackgroundColor = "aurore/button/default_enabled_background",
.enabledLabelColor = "aurore/button/default_enabled_text",
.enabledBorderColor = "",
.disabledBackgroundColor = "aurore/button/default_disabled_background",
.disabledLabelColor = "aurore/button/default_disabled_text",
.disabledBorderColor = "",
}

◆ BUTTONSTYLE_HIGHLIGHT

const ButtonStyle aurore::BUTTONSTYLE_HIGHLIGHT
inline
Initial value:
= {
.shadowType = ShadowType::GENERIC,
.hideHighlightBackground = true,
.highlightPadding = "",
.borderThickness = "",
.enabledBackgroundColor = "aurore/button/default_enabled_background",
.enabledLabelColor = "aurore/button/highlight_enabled_text",
.enabledBorderColor = "",
.disabledBackgroundColor = "aurore/button/default_disabled_background",
.disabledLabelColor = "aurore/button/highlight_disabled_text",
.disabledBorderColor = "",
}

◆ BUTTONSTYLE_PRIMARY

const ButtonStyle aurore::BUTTONSTYLE_PRIMARY
inline
Initial value:
= {
.shadowType = ShadowType::GENERIC,
.hideHighlightBackground = true,
.highlightPadding = "aurore/button/primary_highlight_padding",
.borderThickness = "",
.enabledBackgroundColor = "aurore/button/primary_enabled_background",
.enabledLabelColor = "aurore/button/primary_enabled_text",
.enabledBorderColor = "",
.disabledBackgroundColor = "aurore/button/primary_disabled_background",
.disabledLabelColor = "aurore/button/primary_disabled_text",
.disabledBorderColor = "",
}

◆ FONT_CHINESE_SIMPLIFIED

const std::string aurore::FONT_CHINESE_SIMPLIFIED = "zh-Hans"
static

◆ FONT_CHINESE_SIMPLIFIED_EXT

const std::string aurore::FONT_CHINESE_SIMPLIFIED_EXT = "zh-Hans-ext"
static

◆ FONT_CHINESE_TRADITIONAL

const std::string aurore::FONT_CHINESE_TRADITIONAL = "zh-Hant"
static

◆ FONT_EMOJI

const std::string aurore::FONT_EMOJI = "emoji"
static

◆ FONT_INVALID

constexpr const int aurore::FONT_INVALID = -1
staticconstexpr

◆ FONT_JAPANESE

const std::string aurore::FONT_JAPANESE = "ja"
static

◆ FONT_KOREAN_REGULAR

const std::string aurore::FONT_KOREAN_REGULAR = "korean"
static

◆ FONT_MATERIAL_ICONS

const std::string aurore::FONT_MATERIAL_ICONS = "material"
static

◆ FONT_REGULAR

const std::string aurore::FONT_REGULAR = "regular"
static

◆ FONT_SWITCH_ICONS

const std::string aurore::FONT_SWITCH_ICONS = "switch"
static

◆ LOCALE_AUTO

const std::string aurore::LOCALE_AUTO = "auto"

◆ LOCALE_DE

const std::string aurore::LOCALE_DE = "de"

◆ LOCALE_DEFAULT

const std::string aurore::LOCALE_DEFAULT = LOCALE_EN_US

◆ LOCALE_EN_GB

const std::string aurore::LOCALE_EN_GB = "en-GB"

◆ LOCALE_EN_US

const std::string aurore::LOCALE_EN_US = "en-US"

◆ LOCALE_ES

const std::string aurore::LOCALE_ES = "es"

◆ LOCALE_ES_419

const std::string aurore::LOCALE_ES_419 = "es-419"

◆ LOCALE_FR

const std::string aurore::LOCALE_FR = "fr"

◆ LOCALE_FR_CA

const std::string aurore::LOCALE_FR_CA = "fr-CA"

◆ LOCALE_IT

const std::string aurore::LOCALE_IT = "it"

◆ LOCALE_JA

const std::string aurore::LOCALE_JA = "ja"

◆ LOCALE_Ko

const std::string aurore::LOCALE_Ko = "ko"

◆ LOCALE_NL

const std::string aurore::LOCALE_NL = "nl"

◆ LOCALE_PT

const std::string aurore::LOCALE_PT = "pt"

◆ LOCALE_PT_BR

const std::string aurore::LOCALE_PT_BR = "pt-BR"

◆ LOCALE_RU

const std::string aurore::LOCALE_RU = "ru"

◆ LOCALE_RYU

const std::string aurore::LOCALE_RYU = "ja-RYU"

custom locale

◆ LOCALE_ZH_CN

const std::string aurore::LOCALE_ZH_CN = "zh-CN"

◆ LOCALE_ZH_HANS

const std::string aurore::LOCALE_ZH_HANS = "zh-Hans"

◆ LOCALE_ZH_HANT

const std::string aurore::LOCALE_ZH_HANT = "zh-Hant"

◆ LOCALE_ZH_TW

const std::string aurore::LOCALE_ZH_TW = "zh-TW"

◆ THEME_AREA_COUNT

constexpr int aurore::THEME_AREA_COUNT = 5
constexpr

HEADER to BOTTOM.

◆ TRANSPARENT

const NVGcolor aurore::TRANSPARENT = nvgRGBA(0, 0, 0, 0)

◆ transparent

const NVGcolor aurore::transparent
extern