Euphoria
Public Attributes | List of all members
eu::imgui::SCurveImguiSettings Struct Reference

Configuration settings for displaying and interacting with an S-curve widget. More...

Public Attributes

bool widget_border = false
 draw a border around the widget
 
ImVec2 widget_size = ImVec2{100, 100}
 size of the widget
 
float drag_radius = 10.0f
 
ImU32 drag_color = IM_COL32(100, 0, 0, 255)
 
float point_radius = 3.0f
 
ImU32 point_color = IM_COL32(0, 100, 0, 255)
 
bool draw_points = false
 
ImGuiMouseButton_ button = ImGuiMouseButton_Left
 
ImU32 background_color = IM_COL32(50, 50, 50, 255)
 
ImU32 line_color = IM_COL32(100, 100, 100, 255)
 
std::size_t num_points = 21
 number of points to draw, more points means smoother curve, but more expensive
 

Detailed Description

Configuration settings for displaying and interacting with an S-curve widget.

Definition at line 27 of file scurve.h.

Member Data Documentation

◆ background_color

ImU32 eu::imgui::SCurveImguiSettings::background_color = IM_COL32(50, 50, 50, 255)

Definition at line 41 of file scurve.h.

◆ button

ImGuiMouseButton_ eu::imgui::SCurveImguiSettings::button = ImGuiMouseButton_Left

Definition at line 39 of file scurve.h.

◆ drag_color

ImU32 eu::imgui::SCurveImguiSettings::drag_color = IM_COL32(100, 0, 0, 255)

Definition at line 33 of file scurve.h.

◆ drag_radius

float eu::imgui::SCurveImguiSettings::drag_radius = 10.0f

Definition at line 32 of file scurve.h.

◆ draw_points

bool eu::imgui::SCurveImguiSettings::draw_points = false

Definition at line 37 of file scurve.h.

◆ line_color

ImU32 eu::imgui::SCurveImguiSettings::line_color = IM_COL32(100, 100, 100, 255)

Definition at line 42 of file scurve.h.

◆ num_points

std::size_t eu::imgui::SCurveImguiSettings::num_points = 21

number of points to draw, more points means smoother curve, but more expensive

Definition at line 44 of file scurve.h.

◆ point_color

ImU32 eu::imgui::SCurveImguiSettings::point_color = IM_COL32(0, 100, 0, 255)

Definition at line 36 of file scurve.h.

◆ point_radius

float eu::imgui::SCurveImguiSettings::point_radius = 3.0f

Definition at line 35 of file scurve.h.

◆ widget_border

bool eu::imgui::SCurveImguiSettings::widget_border = false

draw a border around the widget

Definition at line 29 of file scurve.h.

◆ widget_size

ImVec2 eu::imgui::SCurveImguiSettings::widget_size = ImVec2{100, 100}

size of the widget

Definition at line 30 of file scurve.h.


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