TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_transition_manager.h File Reference
#include <gui_core/gui_easing.h>
#include <gui_core/gui_id.h>
#include <gui_core/graphics/gui_renderer.h>
#include <array>
#include <optional>
#include <stdint.h>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

struct  tachyon::TransitionState
 A box's look for its state now: the state styles mixed while channels run (styles), and the style of the state it's in, where it ends up (current). More...
struct  tachyon::TransitionTiming
 How long a change of state takes, and how it eases. A duration of 0 is instant. More...
class  tachyon::TransitionManager
 Tracks the running transitions of the elements' state channels. More...

Namespaces

namespace  tachyon

Enumerations

enum class  tachyon::TransitionChannel : uint8_t {
  tachyon::TransitionChannel::Hover , tachyon::TransitionChannel::Active , tachyon::TransitionChannel::Focused , tachyon::TransitionChannel::Selected ,
  tachyon::TransitionChannel::Invalid
}
 The parts of an element's state that change over time, each on its own: hover, press, focus and selected pick its style; invalid grows its error halo in. More...

Functions

uint32_t tachyon::ComputeGPUStyleIndex (VisualBoxStyleIndex base, ElementState state)
 Flat GPU style index for a base pool index and state.

Variables

constexpr int tachyon::kTransitionChannelCount = 5