Configuration settings for displaying and interacting with an S-curve widget.
More...
|
| 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
|
Configuration settings for displaying and interacting with an S-curve widget.
Definition at line 27 of file scurve.h.
◆ background_color
| ImU32 eu::imgui::SCurveImguiSettings::background_color = IM_COL32(50, 50, 50, 255) |
◆ button
| ImGuiMouseButton_ eu::imgui::SCurveImguiSettings::button = ImGuiMouseButton_Left |
◆ drag_color
| ImU32 eu::imgui::SCurveImguiSettings::drag_color = IM_COL32(100, 0, 0, 255) |
◆ drag_radius
| float eu::imgui::SCurveImguiSettings::drag_radius = 10.0f |
◆ draw_points
| bool eu::imgui::SCurveImguiSettings::draw_points = false |
◆ line_color
| ImU32 eu::imgui::SCurveImguiSettings::line_color = IM_COL32(100, 100, 100, 255) |
◆ 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) |
◆ point_radius
| float eu::imgui::SCurveImguiSettings::point_radius = 3.0f |
◆ 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: