Euphoria
eu::imgui::SCurveGuiState Struct Reference

Represents the GUI state for an S-curve. More...

Public Member Functions

 SCurveGuiState ()=default
 SCurveGuiState (float x, float y)

Static Public Member Functions

static SCurveGuiState light_curve ()

Public Attributes

ImVec2 drag = {0.5f, 0.5f}
 the gui data
std::vector< ImVec2 > point_cache

Detailed Description

Represents the GUI state for an S-curve.

Definition at line 14 of file scurve.h.

Constructor & Destructor Documentation

◆ SCurveGuiState() [1/2]

eu::imgui::SCurveGuiState::SCurveGuiState ( )
default

◆ SCurveGuiState() [2/2]

eu::imgui::SCurveGuiState::SCurveGuiState ( float x,
float y )

Member Function Documentation

◆ light_curve()

SCurveGuiState eu::imgui::SCurveGuiState::light_curve ( )
static

Member Data Documentation

◆ drag

ImVec2 eu::imgui::SCurveGuiState::drag = {0.5f, 0.5f}

the gui data

Definition at line 16 of file scurve.h.

◆ point_cache

std::vector<ImVec2> eu::imgui::SCurveGuiState::point_cache

Definition at line 23 of file scurve.h.


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