TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::GradientFieldSwatch Struct Reference

What a GradientField's swatch keeps besides its style: the gradient it was drawn from, so an unchanged one isn't sampled again, and what a click opens the editor with. More...

#include <gui_controls/subsystems/gui_gradient_editor_subsystem.h>

Public Attributes

tachyon::GradientF drawn {}
 the gradient as last drawn
bool drawnSet = false
tachyon::Gradient original8 {}
 a Gradient field's own, restored exactly on Cancel
GradientEditLimits limits {}
std::string context
 the field's label

Detailed Description

What a GradientField's swatch keeps besides its style: the gradient it was drawn from, so an unchanged one isn't sampled again, and what a click opens the editor with.

Member Data Documentation

◆ drawn

tachyon::GradientF tachyon::GradientFieldSwatch::drawn {}

the gradient as last drawn

◆ drawnSet

bool tachyon::GradientFieldSwatch::drawnSet = false

◆ original8

tachyon::Gradient tachyon::GradientFieldSwatch::original8 {}

a Gradient field's own, restored exactly on Cancel

◆ limits

GradientEditLimits tachyon::GradientFieldSwatch::limits {}

◆ context

std::string tachyon::GradientFieldSwatch::context

the field's label


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