Euphoria
|
Namespaces | |
guizmo | |
Classes | |
struct | VisuallyDisabledWidgets |
struct | Library |
Enumerations | |
enum | KnobStyle { knob_style_ui_drag_x = 1 << 1 , knob_style_ui_drag_y = 1 << 2 , knob_style_ui_aim = 1 << 3 , knob_style_vis_markers_visible = 1 << 5 , knob_style_vis_max_and_min_visible = 1 << 6 , knob_style_vis_off_marker_hidden = 1 << 7 , knob_style_vis_draw_background = 1 << 8 , knob_style_vis_value_as_tooltip = 1 << 9 , knob_style_vis_value_instead_of_name = 1 << 10 , knob_style_vis_display_value_on_hover = 1 << 11 , knob_style_default } |
Functions | |
void | add_help_marker_for_previous_widget (const char *desc) |
void | add_help_text_for_previous_widget (const char *desc) |
void | imgui_label (const std::string &str) |
bool | imgui_angle_slider (const char *name, Angle *angle, const Angle &mindeg, const Angle &maxdeg) |
bool | imgui_angle_slider (const char *name, Angle *angle) |
bool | imgui_toggle_button (const char *label, bool down, const ImVec2 &size) |
bool | imgui_color_edit (const char *name, Rgb *c) |
bool | imgui_color_edit (const char *name, Rgba *c) |
bool | imgui_color_edit (const char *name, Rgbai *c) |
ImTextureID | c_texture_to_imgui (render::Texture2 *texture) |
void | imgui_image (render::Texture2 *texture) |
bool | begin_fixed_overlay (Corner corner, const std::string &title, float a_distance, float a_distance_y) |
bool | imgui_selectable_or_disabled (bool enabled, const char *label) |
void | add_circle_filled (ImDrawList *draw_list, const ImVec2 ¢re, float radius, ImU32 col, int num_segments, float angle_offset) |
bool | imgui_knob (const char *label, float *p_value, float v_min, float v_max, KnobStyle style) |
bool | begin_canvas_widget (const ImVec4 &background_color, const char *title) |
void | end_canvas_widget () |
bool | begin_combo (const char *label, const char *preview) |
bool | imgui_selectable (const char *label, bool is_selected) |
void | end_combo () |
template<typename T > | |
bool | imgui_combo (const char *label, T *data, std::vector< std::pair< const char *, T >> values) |
template<typename T , typename F > | |
void | imgui_custom_dropdown (const char *name, T *current, T max, F to_string) |
void | add_fork_awesome () |
void | send_events_to_imgui (const SDL_Event *event) |
void | begin_new_frame () |
void | imgui_render () |
Enumeration Type Documentation
◆ KnobStyle
Definition at line 51 of file imgui_extra.h.
Function Documentation
◆ add_circle_filled()
void eu::window::imgui::add_circle_filled | ( | ImDrawList * | draw_list, |
const ImVec2 & | centre, | ||
float | radius, | ||
ImU32 | col, | ||
int | num_segments, | ||
float | angle_offset | ||
) |
Definition at line 327 of file imgui_extra.cc.
◆ add_fork_awesome()
void eu::window::imgui::add_fork_awesome | ( | ) |
Definition at line 22 of file imguilibrary.cc.
◆ add_help_marker_for_previous_widget()
void eu::window::imgui::add_help_marker_for_previous_widget | ( | const char * | desc | ) |
Definition at line 43 of file imgui_extra.cc.
◆ add_help_text_for_previous_widget()
void eu::window::imgui::add_help_text_for_previous_widget | ( | const char * | desc | ) |
Definition at line 52 of file imgui_extra.cc.
◆ begin_canvas_widget()
bool eu::window::imgui::begin_canvas_widget | ( | const ImVec4 & | background_color, |
const char * | title | ||
) |
Definition at line 542 of file imgui_extra.cc.
◆ begin_combo()
bool eu::window::imgui::begin_combo | ( | const char * | label, |
const char * | preview | ||
) |
Definition at line 567 of file imgui_extra.cc.
◆ begin_fixed_overlay()
bool eu::window::imgui::begin_fixed_overlay | ( | Corner | corner, |
const std::string & | title, | ||
float | a_distance, | ||
float | a_distance_y | ||
) |
Definition at line 245 of file imgui_extra.cc.
◆ begin_new_frame()
void eu::window::imgui::begin_new_frame | ( | ) |
Definition at line 104 of file imguilibrary.cc.
◆ c_texture_to_imgui()
ImTextureID eu::window::imgui::c_texture_to_imgui | ( | render::Texture2 * | texture | ) |
Definition at line 172 of file imgui_extra.cc.
◆ end_canvas_widget()
void eu::window::imgui::end_canvas_widget | ( | ) |
Definition at line 558 of file imgui_extra.cc.
◆ end_combo()
void eu::window::imgui::end_combo | ( | ) |
Definition at line 579 of file imgui_extra.cc.
◆ imgui_angle_slider() [1/2]
bool eu::window::imgui::imgui_angle_slider | ( | const char * | name, |
Angle * | angle | ||
) |
Definition at line 103 of file imgui_extra.cc.
◆ imgui_angle_slider() [2/2]
bool eu::window::imgui::imgui_angle_slider | ( | const char * | name, |
Angle * | angle, | ||
const Angle & | mindeg, | ||
const Angle & | maxdeg | ||
) |
Definition at line 74 of file imgui_extra.cc.
◆ imgui_color_edit() [1/3]
bool eu::window::imgui::imgui_color_edit | ( | const char * | name, |
Rgb * | c | ||
) |
Definition at line 147 of file imgui_extra.cc.
◆ imgui_color_edit() [2/3]
bool eu::window::imgui::imgui_color_edit | ( | const char * | name, |
Rgba * | c | ||
) |
Definition at line 153 of file imgui_extra.cc.
◆ imgui_color_edit() [3/3]
bool eu::window::imgui::imgui_color_edit | ( | const char * | name, |
Rgbai * | c | ||
) |
Definition at line 159 of file imgui_extra.cc.
◆ imgui_combo()
bool eu::window::imgui::imgui_combo | ( | const char * | label, |
T * | data, | ||
std::vector< std::pair< const char *, T >> | values | ||
) |
Definition at line 173 of file imgui_extra.h.
◆ imgui_custom_dropdown()
void eu::window::imgui::imgui_custom_dropdown | ( | const char * | name, |
T * | current, | ||
T | max, | ||
F | to_string | ||
) |
Definition at line 212 of file imgui_extra.h.
◆ imgui_image()
void eu::window::imgui::imgui_image | ( | render::Texture2 * | texture | ) |
Definition at line 188 of file imgui_extra.cc.
◆ imgui_knob()
bool eu::window::imgui::imgui_knob | ( | const char * | label, |
float * | p_value, | ||
float | v_min, | ||
float | v_max, | ||
KnobStyle | style | ||
) |
Definition at line 357 of file imgui_extra.cc.
◆ imgui_label()
void eu::window::imgui::imgui_label | ( | const std::string & | str | ) |
Definition at line 67 of file imgui_extra.cc.
◆ imgui_render()
void eu::window::imgui::imgui_render | ( | ) |
Definition at line 113 of file imguilibrary.cc.
◆ imgui_selectable()
bool eu::window::imgui::imgui_selectable | ( | const char * | label, |
bool | is_selected | ||
) |
Definition at line 573 of file imgui_extra.cc.
◆ imgui_selectable_or_disabled()
bool eu::window::imgui::imgui_selectable_or_disabled | ( | bool | enabled, |
const char * | label | ||
) |
Definition at line 306 of file imgui_extra.cc.
◆ imgui_toggle_button()
bool eu::window::imgui::imgui_toggle_button | ( | const char * | label, |
bool | down, | ||
const ImVec2 & | size | ||
) |
Definition at line 129 of file imgui_extra.cc.
◆ send_events_to_imgui()
void eu::window::imgui::send_events_to_imgui | ( | const SDL_Event * | event | ) |
Definition at line 98 of file imguilibrary.cc.