HoverRace
2.0
|
Namespaces | |
MPL | |
Display-oriented metaprogramming utilities. | |
SDL | |
UiLayoutFlags | |
Instances of UI components may opt-out of automatic scaling and relative positioning by using any combination of these flags. | |
Classes | |
class | ActionButton |
A button that's bound to a controller action. More... | |
class | ActiveText |
A text widget where the contents may change often (i.e., updated every few frames, or even every frame). More... | |
class | AvatarTextureRes |
An avatar resource. More... | |
class | Background |
Base class for views that fill the entire screen. More... | |
class | BaseContainer |
Base class for widgets that contain other widgets. More... | |
class | BasePickList |
Generic base for PickList. More... | |
class | BaseRadioButton |
Base class for radio buttons. More... | |
class | BaseRes |
class | BaseText |
Base class for widgets that display text. More... | |
class | Box |
Base class for low-level bounded widgets. More... | |
class | Button |
A standard button, with a text label. More... | |
class | Checkbox |
A checkbox widget. More... | |
class | Chronometer |
Display the current game time. More... | |
class | ClickRegion |
Base class for clickable areas. More... | |
union | Color |
class | Container |
An invisible container for other UI widgets. More... | |
class | Counter |
HUD lap / score / whatever counter. More... | |
class | Display |
Base class for display managers. More... | |
class | FillBox |
A colored rectangle, that's all. More... | |
class | FlexGrid |
A container that arranges components into a grid that is automatically sized to the contents. More... | |
class | FuelGauge |
HUD fuel level indicator. More... | |
class | GlyphEntry |
A single glyph in the backing texture. More... | |
class | Hud |
The container for the heads-up display. More... | |
class | HudDecor |
Base view model for elements of the heads-up display. More... | |
class | HudText |
Arbitrary text on the HUD. More... | |
class | KeycapIcon |
Icon for a keycap (keyboard key or gamepad button(. More... | |
class | Label |
A static text label. More... | |
class | MediaRes |
Represents a file in the game's media directory. More... | |
class | Minimap |
A miniature map of the track for the HUD. More... | |
class | PickList |
Scrollable list of selectable items. More... | |
class | PickListItem |
A single list item. More... | |
class | Picture |
Draws a single texture. More... | |
class | RadioButton |
A single radio button. More... | |
class | RadioGroup |
A group of radio buttons. More... | |
class | Res |
Base class for loadable resources. More... | |
class | Res< Texture > |
Base class for loadable textures. More... | |
class | ResLoadExn |
A resource failed to load. More... | |
class | RuleLine |
A horizontal or vertical line. More... | |
class | ScreenFade |
Paints a solid color over the whole screen with adjustable opacity. More... | |
class | Slider |
A slider for selecting values from a range. More... | |
class | Speedometer |
HUD velocity indicator. More... | |
class | SpriteTextureRes |
Loads a legacy 8-bit sprite as a texture. More... | |
class | StateButton |
Base class for buttons with state (i.e. More... | |
class | Styles |
Shared styles for UI components. More... | |
class | SymbolIcon |
One of the predefined icons from the symbol font. More... | |
class | Texture |
A hardware texture. More... | |
class | TypeCase |
Character-by-character text renderer. More... | |
class | TypeLine |
A line of text, prepared by a TypeCase. More... | |
struct | UiFont |
Describes a font used for the UI. More... | |
class | UiViewModel |
Base class for UI (2D) components. More... | |
class | View |
Base class for views. More... | |
struct | ViewAttacher |
Interface for classes that can attach a view to a model. More... | |
class | ViewModel |
Base class for renderable components. More... | |
class | Wallpaper |
Paints a texture across the entire screen. More... | |
Typedefs | |
using | uiLayoutFlags_t = MR_UInt32 |
Enumerations | |
enum | HudCell { HudCell::FILL, HudCell::N, HudCell::NE, HudCell::E, HudCell::SE, HudCell::S, HudCell::SW, HudCell::W, HudCell::NW } |
Split-screen HUD grid locations. More... | |
Functions | |
MR_DllDeclare constexpr bool | operator!= (const Color &a, const Color &b) noexcept |
MR_DllDeclare bool | operator!= (const UiFont &a, const UiFont &b) |
std::ostream & | operator<< (std::ostream &os, const HudCell cell) |
std::ostream & | operator<< (std::ostream &os, const Color &c) |
MR_DllDeclare std::ostream & | operator<< (std::ostream &os, const UiFont &fs) |
MR_DllDeclare constexpr bool | operator== (const Color &a, const Color &b) noexcept |
MR_DllDeclare bool | operator== (const UiFont &a, const UiFont &b) |
std::istream & | operator>> (std::istream &is, Color &c) |
Variables | |
constexpr Color | COLOR_BLACK { 0xff, 0x00, 0x00, 0x00 } |
constexpr Color | COLOR_WHITE { 0xff, 0xff, 0xff, 0xff } |
using HoverRace::Display::uiLayoutFlags_t = typedef MR_UInt32 |
|
strong |
|
inlinenoexcept |
|
inline |
|
inline |
MR_DllDeclare std::ostream & HoverRace::Display::operator<< | ( | std::ostream & | os, |
const Color & | c | ||
) |
|
inline |
|
inlinenoexcept |
|
inline |
MR_DllDeclare std::istream & HoverRace::Display::operator>> | ( | std::istream & | is, |
Color & | c | ||
) |
constexpr Color HoverRace::Display::COLOR_BLACK { 0xff, 0x00, 0x00, 0x00 } |
constexpr Color HoverRace::Display::COLOR_WHITE { 0xff, 0xff, 0xff, 0xff } |