TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::Style::States Struct Reference

A style's states, indexed by ElementState (or by slot number). More...

#include <gui_core/style/gui_style.h>

Public Member Functions

StyleState & operator[] (ElementState state)
const StyleState & operator[] (ElementState state) const
StyleState & operator[] (int slot)
const StyleState & operator[] (int slot) const
StyleState * begin ()
StyleState * end ()
const StyleState * begin () const
const StyleState * end () const

Public Attributes

StyleState slots [kStateCount] {}

Detailed Description

A style's states, indexed by ElementState (or by slot number).

Member Function Documentation

◆ operator[]() [1/4]

StyleState & tachyon::Style::States::operator[] ( ElementState state)
inline

◆ operator[]() [2/4]

const StyleState & tachyon::Style::States::operator[] ( ElementState state) const
inline

◆ operator[]() [3/4]

StyleState & tachyon::Style::States::operator[] ( int slot)
inline

◆ operator[]() [4/4]

const StyleState & tachyon::Style::States::operator[] ( int slot) const
inline

◆ begin() [1/2]

StyleState * tachyon::Style::States::begin ( )
inline

◆ end() [1/2]

StyleState * tachyon::Style::States::end ( )
inline

◆ begin() [2/2]

const StyleState * tachyon::Style::States::begin ( ) const
inline

◆ end() [2/2]

const StyleState * tachyon::Style::States::end ( ) const
inline

Member Data Documentation

◆ slots

StyleState tachyon::Style::States::slots[kStateCount] {}

The documentation for this struct was generated from the following file: