module ImGui
Included Modules
Defined in:
custom.crimgui.cr:1
imgui.cr:30
imgui.cr:100
obj.cr
types.cr
Constant Summary
-
PAYLOAD_TYPE_COLOR_3F =
"_COL3F"
-
PAYLOAD_TYPE_COLOR_4F =
"_COL4F"
-
VERSION =
"1.90.6"
-
VERSION_NUM =
19060
Class Method Summary
- .accept_drag_drop_payload(type : String, flags : ImGuiDragDropFlags = ImGuiDragDropFlags.new(0)) : ImGuiPayload | Nil
- .align_text_to_frame_padding : Void
- .arrow_button(str_id : String, dir : ImGuiDir) : Bool
- .begin(name : String, p_open : Pointer(Bool) = Pointer(Bool).null, flags : ImGuiWindowFlags = ImGuiWindowFlags.new(0)) : Bool
- .begin_child(str_id : String, size : ImVec2 = ImVec2.new(0, 0), child_flags : ImGuiChildFlags = ImGuiChildFlags.new(0), window_flags : ImGuiWindowFlags = ImGuiWindowFlags.new(0)) : Bool
- .begin_child(id : ImGuiID, size : ImVec2 = ImVec2.new(0, 0), child_flags : ImGuiChildFlags = ImGuiChildFlags.new(0), window_flags : ImGuiWindowFlags = ImGuiWindowFlags.new(0)) : Bool
- .begin_combo(label : String, preview_value : String, flags : ImGuiComboFlags = ImGuiComboFlags.new(0)) : Bool
- .begin_disabled(disabled : Bool = true) : Void
- .begin_drag_drop_source(flags : ImGuiDragDropFlags = ImGuiDragDropFlags.new(0)) : Bool
- .begin_drag_drop_target : Bool
- .begin_group : Void
- .begin_item_tooltip : Bool
- .begin_list_box(label : String, size : ImVec2 = ImVec2.new(0, 0)) : Bool
- .begin_main_menu_bar : Bool
- .begin_menu(label : String, enabled : Bool = true) : Bool
- .begin_menu_bar : Bool
- .begin_popup(str_id : String, flags : ImGuiWindowFlags = ImGuiWindowFlags.new(0)) : Bool
- .begin_popup_context_item(str_id : String | Nil = nil, popup_flags : ImGuiPopupFlags = ImGuiPopupFlags.new(1)) : Bool
- .begin_popup_context_void(str_id : String | Nil = nil, popup_flags : ImGuiPopupFlags = ImGuiPopupFlags.new(1)) : Bool
- .begin_popup_context_window(str_id : String | Nil = nil, popup_flags : ImGuiPopupFlags = ImGuiPopupFlags.new(1)) : Bool
- .begin_popup_modal(name : String, p_open : Pointer(Bool) = Pointer(Bool).null, flags : ImGuiWindowFlags = ImGuiWindowFlags.new(0)) : Bool
- .begin_tab_bar(str_id : String, flags : ImGuiTabBarFlags = ImGuiTabBarFlags.new(0)) : Bool
- .begin_tab_item(label : String, p_open : Pointer(Bool) = Pointer(Bool).null, flags : ImGuiTabItemFlags = ImGuiTabItemFlags.new(0)) : Bool
- .begin_table(str_id : String, column : Int32, flags : ImGuiTableFlags = ImGuiTableFlags.new(0), outer_size : ImVec2 = ImVec2.new(0.0, 0.0), inner_width : Float32 = 0.0) : Bool
- .begin_tooltip : Bool
- .bullet : Void
- .bullet_text(fmt : String, *args) : Void
- .button(label : String, size : ImVec2 = ImVec2.new(0, 0)) : Bool
- .calc_item_width : Float32
- .calc_text_size(text : Bytes | String, hide_text_after_double_hash : Bool = false, wrap_width : Float32 = -1.0) : ImGui::ImVec2
- .checkbox(label : String, v : Pointer(Bool)) : Bool
- .checkbox_flags(label : String, flags : Pointer(Int32), flags_value : Int32) : Bool
- .checkbox_flags(label : String, flags : Pointer(UInt32), flags_value : UInt32) : Bool
- .checkbox_flags(label : String, flags : Pointer(T), flags_value : T) : Bool forall T
-
.child(str_id : String, size : ImVec2 = ImVec2.new(0, 0), child_flags : ImGuiChildFlags = ImGuiChildFlags.new(0), window_flags : ImGuiWindowFlags = ImGuiWindowFlags.new(0), &) : Nil
Calls
.begin_child
, conditionally yields to the block, then calls.end_child
. -
.child(id : ImGuiID, size : ImVec2 = ImVec2.new(0, 0), child_flags : ImGuiChildFlags = ImGuiChildFlags.new(0), window_flags : ImGuiWindowFlags = ImGuiWindowFlags.new(0), &) : Nil
Calls
.begin_child
, conditionally yields to the block, then calls.end_child
. - .close_current_popup : Void
- .col32(r : Int, g : Int, b : Int, a : Int = 255) : UInt32
- .col32(color : ImVec4) : UInt32
- .collapsing_header(label : String, flags : ImGuiTreeNodeFlags = ImGuiTreeNodeFlags.new(0)) : Bool
- .collapsing_header(label : String, p_visible : Pointer(Bool), flags : ImGuiTreeNodeFlags = ImGuiTreeNodeFlags.new(0)) : Bool
- .color(r : Int, g : Int, b : Int, a : Int = 255) : ImVec4
- .color(col32 : UInt32) : ImVec4
- .color_button(desc_id : String, col : ImVec4, flags : ImGuiColorEditFlags = ImGuiColorEditFlags.new(0), size : ImVec2 = ImVec2.new(0, 0)) : Bool
- .color_convert_float4_to_u32(in_ : ImVec4) : UInt32
- .color_convert_hsv_to_rgb(h : Float32, s : Float32, v : Float32) : Tuple(LibC::Float, LibC::Float, LibC::Float)
- .color_convert_rgb_to_hsv(r : Float32, g : Float32, b : Float32) : Tuple(LibC::Float, LibC::Float, LibC::Float)
- .color_convert_u32_to_float4(in_ : UInt32) : ImGui::ImVec4
- .color_edit3(label : String, col : Pointer(ImVec4) | Indexable(Float32) | Pointer(Float32), flags : ImGuiColorEditFlags = ImGuiColorEditFlags.new(0)) : Bool
- .color_edit4(label : String, col : Pointer(ImVec4) | Indexable(Float32) | Pointer(Float32), flags : ImGuiColorEditFlags = ImGuiColorEditFlags.new(0)) : Bool
- .color_picker3(label : String, col : Pointer(ImVec4) | Indexable(Float32) | Pointer(Float32), flags : ImGuiColorEditFlags = ImGuiColorEditFlags.new(0)) : Bool
- .color_picker4(label : String, col : Pointer(ImVec4) | Indexable(Float32) | Pointer(Float32), flags : ImGuiColorEditFlags = ImGuiColorEditFlags.new(0), ref_col : Pointer(Float32) = Pointer(Float32).null) : Bool
- .columns(count : Int32 = 1, id : String | Nil = nil, border : Bool = true) : Void
-
.combo(label : String, preview_value : String, flags : ImGuiComboFlags = ImGuiComboFlags.new(0), &) : Nil
Calls
.begin_combo
, conditionally yields to the block, then conditionally calls.end_combo
. - .combo(label : String, current_item : Pointer(Int32) | Pointer, getter : Pointer(Void), Int32 -> String, user_data : Pointer(Void), items_count : Int32, popup_max_height_in_items : Int32 = -1) : Bool
- .combo(label : String, current_item : Pointer(Int32) | Pointer, items : Indexable(Pointer(LibC::Char)), popup_max_height_in_items : Int32 = -1) : Bool
- .combo(label : String, current_item : Pointer(Int32) | Pointer, items_separated_by_zeros : String, popup_max_height_in_items : Int32 = -1) : Bool
- .combo(label : String, current_item : Pointer(Int32) | Pointer, items_count : Int32, popup_max_height_in_items : Int32 = -1, &block : Int32 -> Slice(UInt8) | String | Nil) : Bool
- .combo(label : String, current_item : Pointer(Int32) | Pointer, items : Indexable(String), popup_max_height_in_items : Int32 = -1)
- .create_context(shared_font_atlas : ImFontAtlas | Nil = nil) : ImGuiContext
- .debug_check_version_and_data_layout(version_str : String, sz_io : LibC::SizeT, sz_style : LibC::SizeT, sz_vec2 : LibC::SizeT, sz_vec4 : LibC::SizeT, sz_drawvert : LibC::SizeT, sz_drawidx : LibC::SizeT) : Bool
- .debug_flash_style_color(idx : ImGuiCol) : Void
- .debug_start_item_picker : Void
- .debug_text_encoding(text : String) : Void
- .destroy_context(ctx : ImGuiContext | Nil = nil) : Void
-
.disabled(disabled : Bool = true, &) : Nil
Calls
.begin_disabled
, yields to the block, then calls.end_disabled
. -
.drag_drop_source(flags : ImGuiDragDropFlags = ImGuiDragDropFlags.new(0), &) : Nil
Calls
.begin_drag_drop_source
, conditionally yields to the block, then conditionally calls.end_drag_drop_source
. -
.drag_drop_target(&) : Nil
Calls
.begin_drag_drop_target
, conditionally yields to the block, then conditionally calls.end_drag_drop_target
. - .drag_float(label : String, v : Pointer(Float32), v_speed : Float32 = 1.0, v_min : Float32 = 0.0, v_max : Float32 = 0.0, format : String = "%.3f", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_float2(label : String, v : Pointer(ImVec2) | Indexable(Float32) | Pointer(Float32), v_speed : Float32 = 1.0, v_min : Float32 = 0.0, v_max : Float32 = 0.0, format : String = "%.3f", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_float3(label : String, v : Indexable(Float32) | Pointer(Float32), v_speed : Float32 = 1.0, v_min : Float32 = 0.0, v_max : Float32 = 0.0, format : String = "%.3f", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_float4(label : String, v : Pointer(ImVec4) | Indexable(Float32) | Pointer(Float32), v_speed : Float32 = 1.0, v_min : Float32 = 0.0, v_max : Float32 = 0.0, format : String = "%.3f", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_float_range2(label : String, v_current_min : Pointer(Float32), v_current_max : Pointer(Float32), v_speed : Float32 = 1.0, v_min : Float32 = 0.0, v_max : Float32 = 0.0, format : String = "%.3f", format_max : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_int(label : String, v : Pointer(Int32), v_speed : Float32 = 1.0, v_min : Int32 = 0, v_max : Int32 = 0, format : String = "%d", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_int2(label : String, v : Indexable(Int32) | Pointer(Int32), v_speed : Float32 = 1.0, v_min : Int32 = 0, v_max : Int32 = 0, format : String = "%d", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_int3(label : String, v : Indexable(Int32) | Pointer(Int32), v_speed : Float32 = 1.0, v_min : Int32 = 0, v_max : Int32 = 0, format : String = "%d", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_int4(label : String, v : Indexable(Int32) | Pointer(Int32), v_speed : Float32 = 1.0, v_min : Int32 = 0, v_max : Int32 = 0, format : String = "%d", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_int_range2(label : String, v_current_min : Pointer(Int32), v_current_max : Pointer(Int32), v_speed : Float32 = 1.0, v_min : Int32 = 0, v_max : Int32 = 0, format : String = "%d", format_max : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar(label : String, p_data : Pointer(Int8), v_speed : Float32 = 1.0, p_min : Int8 | Nil = nil, p_max : Int8 | Nil = nil, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar(label : String, p_data : Pointer(UInt8), v_speed : Float32 = 1.0, p_min : UInt8 | Nil = nil, p_max : UInt8 | Nil = nil, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar(label : String, p_data : Pointer(Int16), v_speed : Float32 = 1.0, p_min : Int16 | Nil = nil, p_max : Int16 | Nil = nil, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar(label : String, p_data : Pointer(UInt16), v_speed : Float32 = 1.0, p_min : UInt16 | Nil = nil, p_max : UInt16 | Nil = nil, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar(label : String, p_data : Pointer(Int32), v_speed : Float32 = 1.0, p_min : Int32 | Nil = nil, p_max : Int32 | Nil = nil, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar(label : String, p_data : Pointer(UInt32), v_speed : Float32 = 1.0, p_min : UInt32 | Nil = nil, p_max : UInt32 | Nil = nil, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar(label : String, p_data : Pointer(Int64), v_speed : Float32 = 1.0, p_min : Int64 | Nil = nil, p_max : Int64 | Nil = nil, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar(label : String, p_data : Pointer(UInt64), v_speed : Float32 = 1.0, p_min : UInt64 | Nil = nil, p_max : UInt64 | Nil = nil, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar(label : String, p_data : Pointer(Float32), v_speed : Float32 = 1.0, p_min : Float32 | Nil = nil, p_max : Float32 | Nil = nil, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar(label : String, p_data : Pointer(Float64), v_speed : Float32 = 1.0, p_min : Float64 | Nil = nil, p_max : Float64 | Nil = nil, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar_n(label : String, p_data : Pointer(Int8), components : Int32, v_speed : Float32 = 1.0, p_min : Pointer(Int8) = Pointer(Int8).null, p_max : Pointer(Int8) = Pointer(Int8).null, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar_n(label : String, p_data : Pointer(UInt8), components : Int32, v_speed : Float32 = 1.0, p_min : Pointer(UInt8) = Pointer(UInt8).null, p_max : Pointer(UInt8) = Pointer(UInt8).null, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar_n(label : String, p_data : Pointer(Int16), components : Int32, v_speed : Float32 = 1.0, p_min : Pointer(Int16) = Pointer(Int16).null, p_max : Pointer(Int16) = Pointer(Int16).null, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar_n(label : String, p_data : Pointer(UInt16), components : Int32, v_speed : Float32 = 1.0, p_min : Pointer(UInt16) = Pointer(UInt16).null, p_max : Pointer(UInt16) = Pointer(UInt16).null, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar_n(label : String, p_data : Pointer(Int32), components : Int32, v_speed : Float32 = 1.0, p_min : Pointer(Int32) = Pointer(Int32).null, p_max : Pointer(Int32) = Pointer(Int32).null, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar_n(label : String, p_data : Pointer(UInt32), components : Int32, v_speed : Float32 = 1.0, p_min : Pointer(UInt32) = Pointer(UInt32).null, p_max : Pointer(UInt32) = Pointer(UInt32).null, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar_n(label : String, p_data : Pointer(Int64), components : Int32, v_speed : Float32 = 1.0, p_min : Pointer(Int64) = Pointer(Int64).null, p_max : Pointer(Int64) = Pointer(Int64).null, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar_n(label : String, p_data : Pointer(UInt64), components : Int32, v_speed : Float32 = 1.0, p_min : Pointer(UInt64) = Pointer(UInt64).null, p_max : Pointer(UInt64) = Pointer(UInt64).null, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar_n(label : String, p_data : Pointer(Float32), components : Int32, v_speed : Float32 = 1.0, p_min : Pointer(Float32) = Pointer(Float32).null, p_max : Pointer(Float32) = Pointer(Float32).null, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .drag_scalar_n(label : String, p_data : Pointer(Float64), components : Int32, v_speed : Float32 = 1.0, p_min : Pointer(Float64) = Pointer(Float64).null, p_max : Pointer(Float64) = Pointer(Float64).null, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .dummy(size : ImVec2) : Void
- .end : Void
- .end_child : Void
- .end_combo : Void
- .end_disabled : Void
- .end_drag_drop_source : Void
- .end_drag_drop_target : Void
- .end_frame : Void
- .end_group : Void
- .end_list_box : Void
- .end_main_menu_bar : Void
- .end_menu : Void
- .end_menu_bar : Void
- .end_popup : Void
- .end_tab_bar : Void
- .end_tab_item : Void
- .end_table : Void
- .end_tooltip : Void
- .get_allocator_functions(p_alloc_func : Pointer(ImGuiMemAllocFunc), p_free_func : Pointer(ImGuiMemFreeFunc), p_user_data : Pointer(Pointer(Void))) : Void
- .get_background_draw_list : ImDrawList
- .get_clipboard_text : String
- .get_color_u32(idx : ImGuiCol, alpha_mul : Float32 = 1.0) : UInt32
- .get_color_u32(col : ImVec4) : UInt32
- .get_color_u32(col : UInt32, alpha_mul : Float32 = 1.0) : UInt32
- .get_column_index : Int32
- .get_column_offset(column_index : Int32 = -1) : Float32
- .get_column_width(column_index : Int32 = -1) : Float32
- .get_columns_count : Int32
- .get_content_region_avail : ImGui::ImVec2
- .get_content_region_max : ImGui::ImVec2
- .get_current_context : ImGuiContext
- .get_cursor_pos : ImGui::ImVec2
- .get_cursor_pos_x : Float32
- .get_cursor_pos_y : Float32
- .get_cursor_screen_pos : ImGui::ImVec2
- .get_cursor_start_pos : ImGui::ImVec2
- .get_drag_drop_payload : ImGuiPayload | Nil
- .get_draw_data : ImDrawData
- .get_draw_list_shared_data : ImDrawListSharedData
- .get_font : ImFont
- .get_font_size : Float32
- .get_font_tex_uv_white_pixel : ImGui::ImVec2
- .get_foreground_draw_list : ImDrawList
- .get_frame_count : Int32
- .get_frame_height : Float32
- .get_frame_height_with_spacing : Float32
- .get_id(str_id : String) : ImGuiID
- .get_id(str_id : Bytes | String) : ImGuiID
- .get_id(int_id : Int) : ImGuiID
- .get_id(ptr_id : Reference | ClassType | Int | Pointer(Void)) : ImGuiID
- .get_io : ImGuiIO
- .get_item_id : ImGuiID
- .get_item_rect_max : ImGui::ImVec2
- .get_item_rect_min : ImGui::ImVec2
- .get_item_rect_size : ImGui::ImVec2
- .get_key_name(key : ImGuiKey) : String
- .get_key_pressed_amount(key : ImGuiKey, repeat_delay : Float32, rate : Float32) : Int32
- .get_main_viewport : ImGuiViewport
- .get_mouse_clicked_count(button : ImGuiMouseButton) : Int32
- .get_mouse_cursor : ImGuiMouseCursor
- .get_mouse_drag_delta(button : ImGuiMouseButton = ImGuiMouseButton.new(0), lock_threshold : Float32 = -1.0) : ImGui::ImVec2
- .get_mouse_pos : ImGui::ImVec2
- .get_mouse_pos_on_opening_current_popup : ImGui::ImVec2
- .get_rgba(color : ImVec4) : Tuple(UInt8, UInt8, UInt8, UInt8)
- .get_scroll_max_x : Float32
- .get_scroll_max_y : Float32
- .get_scroll_x : Float32
- .get_scroll_y : Float32
- .get_state_storage : ImGuiStorage
- .get_style : ImGuiStyle
- .get_style_color_name(idx : ImGuiCol) : String
- .get_style_color_vec4(idx : ImGuiCol) : ImVec4
- .get_text_line_height : Float32
- .get_text_line_height_with_spacing : Float32
- .get_time : Float64
- .get_tree_node_to_label_spacing : Float32
- .get_version : String
- .get_window_content_region_max : ImGui::ImVec2
- .get_window_content_region_min : ImGui::ImVec2
- .get_window_draw_list : ImDrawList
- .get_window_height : Float32
- .get_window_pos : ImGui::ImVec2
- .get_window_size : ImGui::ImVec2
- .get_window_width : Float32
-
.group(&) : Nil
Calls
.begin_group
, yields to the block, then calls.end_group
. - .hsv(h : Number, s : Number, v : Number, a : Number = 1.0) : ImVec4
- .image(user_texture_id : ImTextureID, image_size : ImVec2, uv0 : ImVec2 = ImVec2.new(0, 0), uv1 : ImVec2 = ImVec2.new(1, 1), tint_col : ImVec4 = ImVec4.new(1, 1, 1, 1), border_col : ImVec4 = ImVec4.new(0, 0, 0, 0)) : Void
- .image_button(str_id : String, user_texture_id : ImTextureID, image_size : ImVec2, uv0 : ImVec2 = ImVec2.new(0, 0), uv1 : ImVec2 = ImVec2.new(1, 1), bg_col : ImVec4 = ImVec4.new(0, 0, 0, 0), tint_col : ImVec4 = ImVec4.new(1, 1, 1, 1)) : Bool
- .indent(indent_w : Float32 = 0.0) : Void
- .input_double(label : String, v : Pointer(Float64), step : Float64 = 0.0, step_fast : Float64 = 0.0, format : String = "%.6f", flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_float(label : String, v : Pointer(Float32), step : Float32 = 0.0, step_fast : Float32 = 0.0, format : String = "%.3f", flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_float2(label : String, v : Pointer(ImVec2) | Indexable(Float32) | Pointer(Float32), format : String = "%.3f", flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_float3(label : String, v : Indexable(Float32) | Pointer(Float32), format : String = "%.3f", flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_float4(label : String, v : Pointer(ImVec4) | Indexable(Float32) | Pointer(Float32), format : String = "%.3f", flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_int(label : String, v : Pointer(Int32), step : Int32 = 1, step_fast : Int32 = 100, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_int2(label : String, v : Indexable(Int32) | Pointer(Int32), flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_int3(label : String, v : Indexable(Int32) | Pointer(Int32), flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_int4(label : String, v : Indexable(Int32) | Pointer(Int32), flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar(label : String, p_data : Pointer(Int8), p_step : Int8 | Nil = nil, p_step_fast : Int8 | Nil = nil, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar(label : String, p_data : Pointer(UInt8), p_step : UInt8 | Nil = nil, p_step_fast : UInt8 | Nil = nil, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar(label : String, p_data : Pointer(Int16), p_step : Int16 | Nil = nil, p_step_fast : Int16 | Nil = nil, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar(label : String, p_data : Pointer(UInt16), p_step : UInt16 | Nil = nil, p_step_fast : UInt16 | Nil = nil, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar(label : String, p_data : Pointer(Int32), p_step : Int32 | Nil = nil, p_step_fast : Int32 | Nil = nil, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar(label : String, p_data : Pointer(UInt32), p_step : UInt32 | Nil = nil, p_step_fast : UInt32 | Nil = nil, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar(label : String, p_data : Pointer(Int64), p_step : Int64 | Nil = nil, p_step_fast : Int64 | Nil = nil, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar(label : String, p_data : Pointer(UInt64), p_step : UInt64 | Nil = nil, p_step_fast : UInt64 | Nil = nil, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar(label : String, p_data : Pointer(Float32), p_step : Float32 | Nil = nil, p_step_fast : Float32 | Nil = nil, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar(label : String, p_data : Pointer(Float64), p_step : Float64 | Nil = nil, p_step_fast : Float64 | Nil = nil, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar_n(label : String, p_data : Pointer(Int8), components : Int32, p_step : Pointer(Int8) = Pointer(Int8).null, p_step_fast : Pointer(Int8) = Pointer(Int8).null, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar_n(label : String, p_data : Pointer(UInt8), components : Int32, p_step : Pointer(UInt8) = Pointer(UInt8).null, p_step_fast : Pointer(UInt8) = Pointer(UInt8).null, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar_n(label : String, p_data : Pointer(Int16), components : Int32, p_step : Pointer(Int16) = Pointer(Int16).null, p_step_fast : Pointer(Int16) = Pointer(Int16).null, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar_n(label : String, p_data : Pointer(UInt16), components : Int32, p_step : Pointer(UInt16) = Pointer(UInt16).null, p_step_fast : Pointer(UInt16) = Pointer(UInt16).null, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar_n(label : String, p_data : Pointer(Int32), components : Int32, p_step : Pointer(Int32) = Pointer(Int32).null, p_step_fast : Pointer(Int32) = Pointer(Int32).null, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar_n(label : String, p_data : Pointer(UInt32), components : Int32, p_step : Pointer(UInt32) = Pointer(UInt32).null, p_step_fast : Pointer(UInt32) = Pointer(UInt32).null, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar_n(label : String, p_data : Pointer(Int64), components : Int32, p_step : Pointer(Int64) = Pointer(Int64).null, p_step_fast : Pointer(Int64) = Pointer(Int64).null, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar_n(label : String, p_data : Pointer(UInt64), components : Int32, p_step : Pointer(UInt64) = Pointer(UInt64).null, p_step_fast : Pointer(UInt64) = Pointer(UInt64).null, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar_n(label : String, p_data : Pointer(Float32), components : Int32, p_step : Pointer(Float32) = Pointer(Float32).null, p_step_fast : Pointer(Float32) = Pointer(Float32).null, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_scalar_n(label : String, p_data : Pointer(Float64), components : Int32, p_step : Pointer(Float64) = Pointer(Float64).null, p_step_fast : Pointer(Float64) = Pointer(Float64).null, format : String | Nil = nil, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_text(label : String, buf : Bytes, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0), callback : ImGuiInputTextCallback | Nil = nil, user_data : Pointer(Void) = Pointer(Void).null) : Bool
- .input_text(label : String, buf : TextBuffer, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0), &block : ImGuiInputTextCallbackData -> Int32) : Bool
- .input_text(label : String, buf : TextBuffer, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_text_multiline(label : String, buf : Bytes, size : ImVec2 = ImVec2.new(0, 0), flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0), callback : ImGuiInputTextCallback | Nil = nil, user_data : Pointer(Void) = Pointer(Void).null) : Bool
- .input_text_multiline(label : String, buf : TextBuffer, size : ImVec2 = ImVec2.new(0, 0), flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0), &block : ImGuiInputTextCallbackData -> Int32) : Bool
- .input_text_multiline(label : String, buf : TextBuffer, size : ImVec2 = ImVec2.new(0, 0), flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .input_text_with_hint(label : String, hint : String, buf : Bytes, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0), callback : ImGuiInputTextCallback | Nil = nil, user_data : Pointer(Void) = Pointer(Void).null) : Bool
- .input_text_with_hint(label : String, hint : String, buf : TextBuffer, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0), &block : ImGuiInputTextCallbackData -> Int32) : Bool
- .input_text_with_hint(label : String, hint : String, buf : TextBuffer, flags : ImGuiInputTextFlags = ImGuiInputTextFlags.new(0)) : Bool
- .invisible_button(str_id : String, size : ImVec2, flags : ImGuiButtonFlags = ImGuiButtonFlags.new(0)) : Bool
- .is_any_item_active : Bool
- .is_any_item_focused : Bool
- .is_any_item_hovered : Bool
- .is_any_mouse_down : Bool
- .is_item_activated : Bool
- .is_item_active : Bool
- .is_item_clicked(mouse_button : ImGuiMouseButton = ImGuiMouseButton.new(0)) : Bool
- .is_item_deactivated : Bool
- .is_item_deactivated_after_edit : Bool
- .is_item_edited : Bool
- .is_item_focused : Bool
- .is_item_hovered(flags : ImGuiHoveredFlags = ImGuiHoveredFlags.new(0)) : Bool
- .is_item_toggled_open : Bool
- .is_item_visible : Bool
- .is_key_chord_pressed(key_chord : ImGuiKeyChord) : Bool
- .is_key_down(key : ImGuiKey) : Bool
- .is_key_pressed(key : ImGuiKey, repeat : Bool = true) : Bool
- .is_key_released(key : ImGuiKey) : Bool
- .is_mouse_clicked(button : ImGuiMouseButton, repeat : Bool = false) : Bool
- .is_mouse_double_clicked(button : ImGuiMouseButton) : Bool
- .is_mouse_down(button : ImGuiMouseButton) : Bool
- .is_mouse_dragging(button : ImGuiMouseButton, lock_threshold : Float32 = -1.0) : Bool
- .is_mouse_hovering_rect(r_min : ImVec2, r_max : ImVec2, clip : Bool = true) : Bool
- .is_mouse_pos_valid(mouse_pos : Pointer(ImVec2) = Pointer(ImVec2).null) : Bool
- .is_mouse_released(button : ImGuiMouseButton) : Bool
- .is_popup_open(str_id : String, flags : ImGuiPopupFlags = ImGuiPopupFlags.new(0)) : Bool
- .is_rect_visible(rect_min : ImVec2, rect_max : ImVec2) : Bool
- .is_rect_visible(size : ImVec2) : Bool
- .is_window_appearing : Bool
- .is_window_collapsed : Bool
- .is_window_focused(flags : ImGuiFocusedFlags = ImGuiFocusedFlags.new(0)) : Bool
- .is_window_hovered(flags : ImGuiHoveredFlags = ImGuiHoveredFlags.new(0)) : Bool
- .label_text(label : String, fmt : String, *args) : Void
- .list_box(label : String, current_item : Pointer(Int32) | Pointer, items_count : Int32, height_in_items : Int32 = -1, &block : Int32 -> Slice(UInt8) | String | Nil) : Bool
-
.list_box(label : String, size : ImVec2 = ImVec2.new(0, 0), &) : Nil
Calls
.begin_list_box
, conditionally yields to the block, then conditionally calls.end_list_box
. - .list_box(label : String, current_item : Pointer(Int32) | Pointer, getter : Pointer(Void), Int32 -> String, user_data : Pointer(Void), items_count : Int32, height_in_items : Int32 = -1) : Bool
- .list_box(label : String, current_item : Pointer(Int32) | Pointer, items : Indexable(Pointer(LibC::Char)), height_in_items : Int32 = -1) : Bool
- .list_box(label : String, current_item : Pointer(Int32) | Pointer, items : Indexable(String), height_in_items : Int32 = -1)
- .load_ini_settings_from_disk(ini_filename : String) : Void
- .load_ini_settings_from_memory(ini_data : String, ini_size : LibC::SizeT = 0) : Void
- .log_buttons : Void
- .log_finish : Void
- .log_text(fmt : String, *args) : Void
- .log_to_clipboard(auto_open_depth : Int32 = -1) : Void
- .log_to_file(auto_open_depth : Int32 = -1, filename : String | Nil = nil) : Void
- .log_to_tty(auto_open_depth : Int32 = -1) : Void
-
.main_menu_bar(&) : Nil
Calls
.begin_main_menu_bar
, conditionally yields to the block, then conditionally calls.end_main_menu_bar
. - .mem_alloc(size : LibC::SizeT) : Pointer(Void)
- .mem_free(ptr : Pointer(Void)) : Void
-
.menu(label : String, enabled : Bool = true, &) : Nil
Calls
.begin_menu
, conditionally yields to the block, then conditionally calls.end_menu
. -
.menu_bar(&) : Nil
Calls
.begin_menu_bar
, conditionally yields to the block, then conditionally calls.end_menu_bar
. - .menu_item(label : String, shortcut : String | Nil = nil, selected : Bool = false, enabled : Bool = true) : Bool
- .menu_item(label : String, shortcut : String, p_selected : Pointer(Bool), enabled : Bool = true) : Bool
- .new_frame : Void
- .new_line : Void
- .next_column : Void
- .open_popup(str_id : String, popup_flags : ImGuiPopupFlags = ImGuiPopupFlags.new(0)) : Void
- .open_popup(id : ImGuiID, popup_flags : ImGuiPopupFlags = ImGuiPopupFlags.new(0)) : Void
- .open_popup_on_item_click(str_id : String | Nil = nil, popup_flags : ImGuiPopupFlags = ImGuiPopupFlags.new(1)) : Void
- .plot_histogram(label : String, values : Indexable(Float32), values_offset : Int32 = 0, overlay_text : String | Nil = nil, scale_min : Float32 = Float32::MAX, scale_max : Float32 = Float32::MAX, graph_size : ImVec2 = ImVec2.new(0, 0), stride : Int32 = sizeof(Float32)) : Void
- .plot_histogram(label : String, values_getter : Pointer(Void), Int32 -> Float32, data : Pointer(Void), values_count : Int32, values_offset : Int32 = 0, overlay_text : String | Nil = nil, scale_min : Float32 = Float32::MAX, scale_max : Float32 = Float32::MAX, graph_size : ImVec2 = ImVec2.new(0, 0)) : Void
- .plot_histogram(label : String, values_count : Int32, values_offset : Int32 = 0, overlay_text : String | Nil = nil, scale_min : Float32 = Float32::MAX, scale_max : Float32 = Float32::MAX, graph_size : ImVec2 = ImVec2.new(0, 0), &block : Int32 -> Float32) : Void
- .plot_lines(label : String, values : Indexable(Float32), values_offset : Int32 = 0, overlay_text : String | Nil = nil, scale_min : Float32 = Float32::MAX, scale_max : Float32 = Float32::MAX, graph_size : ImVec2 = ImVec2.new(0, 0), stride : Int32 = sizeof(Float32)) : Void
- .plot_lines(label : String, values_getter : Pointer(Void), Int32 -> Float32, data : Pointer(Void), values_count : Int32, values_offset : Int32 = 0, overlay_text : String | Nil = nil, scale_min : Float32 = Float32::MAX, scale_max : Float32 = Float32::MAX, graph_size : ImVec2 = ImVec2.new(0, 0)) : Void
- .plot_lines(label : String, values_count : Int32, values_offset : Int32 = 0, overlay_text : String | Nil = nil, scale_min : Float32 = Float32::MAX, scale_max : Float32 = Float32::MAX, graph_size : ImVec2 = ImVec2.new(0, 0), &block : Int32 -> Float32) : Void
- .pop_button_repeat : Void
- .pop_clip_rect : Void
- .pop_font : Void
- .pop_id : Void
- .pop_item_width : Void
- .pop_style_color(count : Int32 = 1) : Void
- .pop_style_var(count : Int32 = 1) : Void
- .pop_tab_stop : Void
- .pop_text_wrap_pos : Void
-
.popup(str_id : String, flags : ImGuiWindowFlags = ImGuiWindowFlags.new(0), &) : Nil
Calls
.begin_popup
, conditionally yields to the block, then conditionally calls.end_popup
. -
.popup_context_item(str_id : String | Nil = nil, popup_flags : ImGuiPopupFlags = ImGuiPopupFlags.new(1), &) : Nil
Calls
.begin_popup_context_item
, conditionally yields to the block, then conditionally calls.end_popup
. -
.popup_context_void(str_id : String | Nil = nil, popup_flags : ImGuiPopupFlags = ImGuiPopupFlags.new(1), &) : Nil
Calls
.begin_popup_context_void
, conditionally yields to the block, then conditionally calls.end_popup
. -
.popup_context_window(str_id : String | Nil = nil, popup_flags : ImGuiPopupFlags = ImGuiPopupFlags.new(1), &) : Nil
Calls
.begin_popup_context_window
, conditionally yields to the block, then conditionally calls.end_popup
. -
.popup_modal(name : String, p_open : Pointer(Bool) = Pointer(Bool).null, flags : ImGuiWindowFlags = ImGuiWindowFlags.new(0), &) : Nil
Calls
.begin_popup_modal
, conditionally yields to the block, then conditionally calls.end_popup
. - .progress_bar(fraction : Float32, size_arg : ImVec2 = ImVec2.new(-Float32::MIN_POSITIVE, 0), overlay : String | Nil = nil) : Void
- .push_button_repeat(repeat : Bool) : Void
- .push_clip_rect(clip_rect_min : ImVec2, clip_rect_max : ImVec2, intersect_with_current_clip_rect : Bool) : Void
- .push_font(font : ImFont) : Void
- .push_id(str_id : String) : Void
- .push_id(str_id : Bytes | String) : Void
- .push_id(int_id : Int32) : Void
- .push_id(ptr_id : ClassType) : Void
- .push_id(ptr_id : Reference | ClassType | Int | Pointer(Void)) : Void
- .push_item_width(item_width : Float32) : Void
- .push_style_color(idx : ImGuiCol, col : UInt32) : Void
- .push_style_color(idx : ImGuiCol, col : ImVec4) : Void
- .push_style_var(idx : ImGuiStyleVar, val : Float32) : Void
- .push_style_var(idx : ImGuiStyleVar, val : ImVec2) : Void
- .push_tab_stop(tab_stop : Bool) : Void
- .push_text_wrap_pos(wrap_local_pos_x : Float32 = 0.0) : Void
- .radio_button(label : String, v : Pointer(Int32), v_button : Int32) : Bool
- .radio_button(label : String, v : Pointer(T), v_button : T) : Bool forall T
- .radio_button(label : String, active : Bool) : Bool
- .render : Void
- .reset_mouse_drag_delta(button : ImGuiMouseButton = ImGuiMouseButton.new(0)) : Void
- .rgb(r : Number, g : Number, b : Number, a : Number = 1.0) : ImVec4
- .same_line(offset_from_start_x : Float32 = 0.0, spacing : Float32 = -1.0) : Void
- .save_ini_settings_to_disk(ini_filename : String) : Void
- .save_ini_settings_to_memory : Tuple(String, LibC::SizeT)
- .selectable(label : String, selected : Bool = false, flags : ImGuiSelectableFlags = ImGuiSelectableFlags.new(0), size : ImVec2 = ImVec2.new(0, 0)) : Bool
- .selectable(label : String, p_selected : Pointer(Bool), flags : ImGuiSelectableFlags = ImGuiSelectableFlags.new(0), size : ImVec2 = ImVec2.new(0, 0)) : Bool
- .separator : Void
- .separator_text(label : String) : Void
- .set_allocator_functions(alloc_func : ImGuiMemAllocFunc, free_func : ImGuiMemFreeFunc, user_data : Pointer(Void) = Pointer(Void).null) : Void
- .set_clipboard_text(text : String) : Void
- .set_color_edit_options(flags : ImGuiColorEditFlags) : Void
- .set_column_offset(column_index : Int32, offset_x : Float32) : Void
- .set_column_width(column_index : Int32, width : Float32) : Void
- .set_current_context(ctx : ImGuiContext) : Void
- .set_cursor_pos(local_pos : ImVec2) : Void
- .set_cursor_pos_x(local_x : Float32) : Void
- .set_cursor_pos_y(local_y : Float32) : Void
- .set_cursor_screen_pos(pos : ImVec2) : Void
- .set_drag_drop_payload(type : String, data : Pointer(Void), sz : LibC::SizeT, cond : ImGuiCond = ImGuiCond.new(0)) : Bool
- .set_item_default_focus : Void
- .set_item_tooltip(fmt : String, *args) : Void
- .set_keyboard_focus_here(offset : Int32 = 0) : Void
- .set_mouse_cursor(cursor_type : ImGuiMouseCursor) : Void
- .set_next_frame_want_capture_keyboard(want_capture_keyboard : Bool) : Void
- .set_next_frame_want_capture_mouse(want_capture_mouse : Bool) : Void
- .set_next_item_allow_overlap : Void
- .set_next_item_open(is_open : Bool, cond : ImGuiCond = ImGuiCond.new(0)) : Void
- .set_next_item_width(item_width : Float32) : Void
- .set_next_window_bg_alpha(alpha : Float32) : Void
- .set_next_window_collapsed(collapsed : Bool, cond : ImGuiCond = ImGuiCond.new(0)) : Void
- .set_next_window_content_size(size : ImVec2) : Void
- .set_next_window_focus : Void
- .set_next_window_pos(pos : ImVec2, cond : ImGuiCond = ImGuiCond.new(0), pivot : ImVec2 = ImVec2.new(0, 0)) : Void
- .set_next_window_scroll(scroll : ImVec2) : Void
- .set_next_window_size(size : ImVec2, cond : ImGuiCond = ImGuiCond.new(0)) : Void
- .set_next_window_size_constraints(size_min : ImVec2, size_max : ImVec2, custom_callback : ImGuiSizeCallback | Nil = nil, custom_callback_data : Pointer(Void) = Pointer(Void).null) : Void
- .set_next_window_size_constraints(size_min : ImVec2, size_max : ImVec2, &block : ImGuiSizeCallbackData -> ) : Void
- .set_scroll_from_pos_x(local_x : Float32, center_x_ratio : Float32 = 0.5) : Void
- .set_scroll_from_pos_y(local_y : Float32, center_y_ratio : Float32 = 0.5) : Void
- .set_scroll_here_x(center_x_ratio : Float32 = 0.5) : Void
- .set_scroll_here_y(center_y_ratio : Float32 = 0.5) : Void
- .set_scroll_x(scroll_x : Float32) : Void
- .set_scroll_y(scroll_y : Float32) : Void
- .set_state_storage(storage : Pointer(ImGuiStorage)) : Void
- .set_tab_item_closed(tab_or_docked_window_label : String) : Void
- .set_tooltip(fmt : String, *args) : Void
- .set_window_collapsed(collapsed : Bool, cond : ImGuiCond = ImGuiCond.new(0)) : Void
- .set_window_collapsed(name : String, collapsed : Bool, cond : ImGuiCond = ImGuiCond.new(0)) : Void
- .set_window_focus(name : String) : Void
- .set_window_focus : Void
- .set_window_font_scale(scale : Float32) : Void
- .set_window_pos(pos : ImVec2, cond : ImGuiCond = ImGuiCond.new(0)) : Void
- .set_window_pos(name : String, pos : ImVec2, cond : ImGuiCond = ImGuiCond.new(0)) : Void
- .set_window_size(size : ImVec2, cond : ImGuiCond = ImGuiCond.new(0)) : Void
- .set_window_size(name : String, size : ImVec2, cond : ImGuiCond = ImGuiCond.new(0)) : Void
- .show_about_window(p_open : Pointer(Bool) = Pointer(Bool).null) : Void
- .show_debug_log_window(p_open : Pointer(Bool) = Pointer(Bool).null) : Void
- .show_demo_window(p_open : Pointer(Bool) = Pointer(Bool).null) : Void
- .show_font_selector(label : String) : Void
- .show_id_stack_tool_window(p_open : Pointer(Bool) = Pointer(Bool).null) : Void
- .show_metrics_window(p_open : Pointer(Bool) = Pointer(Bool).null) : Void
- .show_style_editor(ref : ImGuiStyle | Nil = nil) : Void
- .show_style_selector(label : String) : Bool
- .show_user_guide : Void
- .slider_angle(label : String, v_rad : Pointer(Float32), v_degrees_min : Float32 = -360.0, v_degrees_max : Float32 = +360.0, format : String = "%.0f deg", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_float(label : String, v : Pointer(Float32), v_min : Float32, v_max : Float32, format : String = "%.3f", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_float2(label : String, v : Pointer(ImVec2) | Indexable(Float32) | Pointer(Float32), v_min : Float32, v_max : Float32, format : String = "%.3f", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_float3(label : String, v : Indexable(Float32) | Pointer(Float32), v_min : Float32, v_max : Float32, format : String = "%.3f", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_float4(label : String, v : Pointer(ImVec4) | Indexable(Float32) | Pointer(Float32), v_min : Float32, v_max : Float32, format : String = "%.3f", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_int(label : String, v : Pointer(Int32), v_min : Int32, v_max : Int32, format : String = "%d", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_int2(label : String, v : Indexable(Int32) | Pointer(Int32), v_min : Int32, v_max : Int32, format : String = "%d", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_int3(label : String, v : Indexable(Int32) | Pointer(Int32), v_min : Int32, v_max : Int32, format : String = "%d", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_int4(label : String, v : Indexable(Int32) | Pointer(Int32), v_min : Int32, v_max : Int32, format : String = "%d", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar(label : String, p_data : Pointer(Int8), p_min : Int8, p_max : Int8, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar(label : String, p_data : Pointer(UInt8), p_min : UInt8, p_max : UInt8, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar(label : String, p_data : Pointer(Int16), p_min : Int16, p_max : Int16, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar(label : String, p_data : Pointer(UInt16), p_min : UInt16, p_max : UInt16, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar(label : String, p_data : Pointer(Int32), p_min : Int32, p_max : Int32, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar(label : String, p_data : Pointer(UInt32), p_min : UInt32, p_max : UInt32, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar(label : String, p_data : Pointer(Int64), p_min : Int64, p_max : Int64, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar(label : String, p_data : Pointer(UInt64), p_min : UInt64, p_max : UInt64, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar(label : String, p_data : Pointer(Float32), p_min : Float32, p_max : Float32, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar(label : String, p_data : Pointer(Float64), p_min : Float64, p_max : Float64, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar_n(label : String, p_data : Pointer(Int8), components : Int32, p_min : Pointer(Int8), p_max : Pointer(Int8), format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar_n(label : String, p_data : Pointer(UInt8), components : Int32, p_min : Pointer(UInt8), p_max : Pointer(UInt8), format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar_n(label : String, p_data : Pointer(Int16), components : Int32, p_min : Pointer(Int16), p_max : Pointer(Int16), format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar_n(label : String, p_data : Pointer(UInt16), components : Int32, p_min : Pointer(UInt16), p_max : Pointer(UInt16), format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar_n(label : String, p_data : Pointer(Int32), components : Int32, p_min : Pointer(Int32), p_max : Pointer(Int32), format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar_n(label : String, p_data : Pointer(UInt32), components : Int32, p_min : Pointer(UInt32), p_max : Pointer(UInt32), format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar_n(label : String, p_data : Pointer(Int64), components : Int32, p_min : Pointer(Int64), p_max : Pointer(Int64), format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar_n(label : String, p_data : Pointer(UInt64), components : Int32, p_min : Pointer(UInt64), p_max : Pointer(UInt64), format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar_n(label : String, p_data : Pointer(Float32), components : Int32, p_min : Pointer(Float32), p_max : Pointer(Float32), format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .slider_scalar_n(label : String, p_data : Pointer(Float64), components : Int32, p_min : Pointer(Float64), p_max : Pointer(Float64), format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .small_button(label : String) : Bool
- .spacing : Void
- .style_colors_classic(dst : ImGuiStyle | Nil = nil) : Void
- .style_colors_dark(dst : ImGuiStyle | Nil = nil) : Void
- .style_colors_light(dst : ImGuiStyle | Nil = nil) : Void
-
.tab_bar(str_id : String, flags : ImGuiTabBarFlags = ImGuiTabBarFlags.new(0), &) : Nil
Calls
.begin_tab_bar
, conditionally yields to the block, then conditionally calls.end_tab_bar
. -
.tab_item(label : String, p_open : Pointer(Bool) = Pointer(Bool).null, flags : ImGuiTabItemFlags = ImGuiTabItemFlags.new(0), &) : Nil
Calls
.begin_tab_item
, conditionally yields to the block, then conditionally calls.end_tab_item
. - .tab_item_button(label : String, flags : ImGuiTabItemFlags = ImGuiTabItemFlags.new(0)) : Bool
-
.table(str_id : String, column : Int32, flags : ImGuiTableFlags = ImGuiTableFlags.new(0), outer_size : ImVec2 = ImVec2.new(0.0, 0.0), inner_width : Float32 = 0.0, &) : Nil
Calls
.begin_table
, conditionally yields to the block, then conditionally calls.end_table
. - .table_angled_headers_row : Void
- .table_get_column_count : Int32
- .table_get_column_flags(column_n : Int32 = -1) : ImGuiTableColumnFlags
- .table_get_column_index : Int32
- .table_get_column_name(column_n : Int32 = -1) : String
- .table_get_row_index : Int32
- .table_get_sort_specs : ImGuiTableSortSpecs | Nil
- .table_header(label : String) : Void
- .table_headers_row : Void
- .table_next_column : Bool
- .table_next_row(row_flags : ImGuiTableRowFlags = ImGuiTableRowFlags.new(0), min_row_height : Float32 = 0.0) : Void
- .table_set_bg_color(target : ImGuiTableBgTarget, color : UInt32, column_n : Int32 = -1) : Void
- .table_set_column_enabled(column_n : Int32, v : Bool) : Void
- .table_set_column_index(column_n : Int32) : Bool
- .table_setup_column(label : String, flags : ImGuiTableColumnFlags = ImGuiTableColumnFlags.new(0), init_width_or_weight : Float32 = 0.0, user_id : ImGuiID = 0) : Void
- .table_setup_scroll_freeze(cols : Int32, rows : Int32) : Void
- .text(fmt : String, *args) : Void
- .text_colored(col : ImVec4, fmt : String, *args) : Void
- .text_disabled(fmt : String, *args) : Void
- .text_unformatted(text : Bytes | String) : Void
- .text_wrapped(fmt : String, *args) : Void
-
.tooltip(&) : Nil
Calls
.begin_tooltip
, conditionally yields to the block, then calls.end_tooltip
. - .tree_node(str_id : String, fmt : String, *args) : Bool
- .tree_node(ptr_id : Reference | ClassType | Int | Pointer(Void), fmt : String, *args) : Bool
- .tree_node(label : String) : Bool
-
.tree_node(str_id : String, fmt : String, *args, &) : Nil
Calls
.tree_node
, conditionally yields to the block, then conditionally calls.tree_pop
. -
.tree_node(ptr_id : Reference | ClassType | Int | Pointer(Void), fmt : String, *args, &) : Nil
Calls
.tree_node
, conditionally yields to the block, then conditionally calls.tree_pop
. -
.tree_node(label : String, &) : Nil
Calls
.tree_node
, conditionally yields to the block, then conditionally calls.tree_pop
. - .tree_node_ex(str_id : String, flags : ImGuiTreeNodeFlags, fmt : String, *args) : Bool
- .tree_node_ex(ptr_id : Reference | ClassType | Int | Pointer(Void), flags : ImGuiTreeNodeFlags, fmt : String, *args) : Bool
- .tree_node_ex(label : String, flags : ImGuiTreeNodeFlags = ImGuiTreeNodeFlags.new(0)) : Bool
-
.tree_node_ex(str_id : String, flags : ImGuiTreeNodeFlags, fmt : String, *args, &) : Nil
Calls
.tree_node_ex
, conditionally yields to the block, then conditionally calls.tree_pop
. -
.tree_node_ex(ptr_id : Reference | ClassType | Int | Pointer(Void), flags : ImGuiTreeNodeFlags, fmt : String, *args, &) : Nil
Calls
.tree_node_ex
, conditionally yields to the block, then conditionally calls.tree_pop
. -
.tree_node_ex(label : String, flags : ImGuiTreeNodeFlags = ImGuiTreeNodeFlags.new(0), &) : Nil
Calls
.tree_node_ex
, conditionally yields to the block, then conditionally calls.tree_pop
. - .tree_pop : Void
- .tree_push(str_id : String) : Void
- .tree_push(ptr_id : Reference | ClassType | Int | Pointer(Void)) : Void
- .unindent(indent_w : Float32 = 0.0) : Void
- .v_slider_float(label : String, size : ImVec2, v : Pointer(Float32), v_min : Float32, v_max : Float32, format : String = "%.3f", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .v_slider_int(label : String, size : ImVec2, v : Pointer(Int32), v_min : Int32, v_max : Int32, format : String = "%d", flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .v_slider_scalar(label : String, size : ImVec2, p_data : Pointer(Int8), p_min : Int8, p_max : Int8, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .v_slider_scalar(label : String, size : ImVec2, p_data : Pointer(UInt8), p_min : UInt8, p_max : UInt8, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .v_slider_scalar(label : String, size : ImVec2, p_data : Pointer(Int16), p_min : Int16, p_max : Int16, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .v_slider_scalar(label : String, size : ImVec2, p_data : Pointer(UInt16), p_min : UInt16, p_max : UInt16, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .v_slider_scalar(label : String, size : ImVec2, p_data : Pointer(Int32), p_min : Int32, p_max : Int32, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .v_slider_scalar(label : String, size : ImVec2, p_data : Pointer(UInt32), p_min : UInt32, p_max : UInt32, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .v_slider_scalar(label : String, size : ImVec2, p_data : Pointer(Int64), p_min : Int64, p_max : Int64, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .v_slider_scalar(label : String, size : ImVec2, p_data : Pointer(UInt64), p_min : UInt64, p_max : UInt64, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .v_slider_scalar(label : String, size : ImVec2, p_data : Pointer(Float32), p_min : Float32, p_max : Float32, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .v_slider_scalar(label : String, size : ImVec2, p_data : Pointer(Float64), p_min : Float64, p_max : Float64, format : String | Nil = nil, flags : ImGuiSliderFlags = ImGuiSliderFlags.new(0)) : Bool
- .value(prefix : String, b : Bool) : Void
- .value(prefix : String, v : Int32) : Void
- .value(prefix : String, v : UInt32) : Void
- .value(prefix : String, v : Float32, float_format : String | Nil = nil) : Void
- .window(name : String, p_open : Pointer(Bool) = Pointer(Bool).null, flags : ImGuiWindowFlags = ImGuiWindowFlags.new(0), &) : Nil
-
.with_button_repeat(repeat : Bool, &) : Nil
Calls
.push_button_repeat
, yields to the block, then calls.pop_button_repeat
. -
.with_clip_rect(clip_rect_min : ImVec2, clip_rect_max : ImVec2, intersect_with_current_clip_rect : Bool, &) : Nil
Calls
.push_clip_rect
, yields to the block, then calls.pop_clip_rect
. -
.with_font(font : ImFont, &) : Nil
Calls
.push_font
, yields to the block, then calls.pop_font
. - .with_id(str_id : String, &) : Nil
- .with_id(str_id : Bytes | String, &) : Nil
- .with_id(int_id : Int32, &) : Nil
- .with_id(ptr_id : Reference | ClassType | Int | Pointer(Void), &) : Nil
-
.with_item_width(item_width : Float32, &) : Nil
Calls
.push_item_width
, yields to the block, then calls.pop_item_width
. -
.with_style_color(idx : ImGuiCol, col : UInt32, &) : Nil
Calls
.push_style_color
, yields to the block, then calls.pop_style_color
. -
.with_style_color(idx : ImGuiCol, col : ImVec4, &) : Nil
Calls
.push_style_color
, yields to the block, then calls.pop_style_color
. -
.with_style_var(idx : ImGuiStyleVar, val : Float32, &) : Nil
Calls
.push_style_var
, yields to the block, then calls.pop_style_var
. -
.with_style_var(idx : ImGuiStyleVar, val : ImVec2, &) : Nil
Calls
.push_style_var
, yields to the block, then calls.pop_style_var
. -
.with_tab_stop(tab_stop : Bool, &) : Nil
Calls
.push_tab_stop
, yields to the block, then calls.pop_tab_stop
. -
.with_text_wrap_pos(wrap_local_pos_x : Float32 = 0.0, &) : Nil
Calls
.push_text_wrap_pos
, yields to the block, then calls.pop_text_wrap_pos
. -
.with_tree(str_id : String, &) : Nil
Calls
.tree_push
, yields to the block, then calls.tree_pop
. -
.with_tree(ptr_id : Reference | ClassType | Int | Pointer(Void), &) : Nil
Calls
.tree_push
, yields to the block, then calls.tree_pop
.
Macro Summary
- begin(*args, **kwargs, &block)
- begin_popup_modal(*args, **kwargs, &block)
- begin_tab_item(*args, **kwargs, &block)
- checkbox(*args, **kwargs, &block)
- checkbox_flags(*args, **kwargs, &block)
- collapsing_header(*args, **kwargs, &block)
- color_edit3(*args, **kwargs, &block)
- color_edit4(*args, **kwargs, &block)
- color_picker3(*args, **kwargs, &block)
- color_picker4(*args, **kwargs, &block)
- combo(*args, **kwargs, &block)
- drag_float(*args, **kwargs, &block)
- drag_float2(*args, **kwargs, &block)
- drag_float3(*args, **kwargs, &block)
- drag_float4(*args, **kwargs, &block)
- drag_float_range2(*args, **kwargs, &block)
- drag_int(*args, **kwargs, &block)
- drag_int2(*args, **kwargs, &block)
- drag_int3(*args, **kwargs, &block)
- drag_int4(*args, **kwargs, &block)
- drag_int_range2(*args, **kwargs, &block)
- drag_scalar(*args, **kwargs, &block)
- drag_scalar_n(*args, **kwargs, &block)
- get_allocator_functions(*args, **kwargs, &block)
- input_double(*args, **kwargs, &block)
- input_float(*args, **kwargs, &block)
- input_float2(*args, **kwargs, &block)
- input_float3(*args, **kwargs, &block)
- input_float4(*args, **kwargs, &block)
- input_int(*args, **kwargs, &block)
- input_int2(*args, **kwargs, &block)
- input_int3(*args, **kwargs, &block)
- input_int4(*args, **kwargs, &block)
- input_scalar(*args, **kwargs, &block)
- input_scalar_n(*args, **kwargs, &block)
- list_box(*args, **kwargs, &block)
- menu_item(*args, **kwargs, &block)
-
popup_modal(*args, **kwargs, &block)
Calls
.begin_popup_modal
, conditionally yields to the block, then conditionally calls.end_popup
. - radio_button(*args, **kwargs, &block)
- selectable(*args, **kwargs, &block)
- show_about_window(*args, **kwargs, &block)
- show_debug_log_window(*args, **kwargs, &block)
- show_demo_window(*args, **kwargs, &block)
- show_id_stack_tool_window(*args, **kwargs, &block)
- show_metrics_window(*args, **kwargs, &block)
- slider_angle(*args, **kwargs, &block)
- slider_float(*args, **kwargs, &block)
- slider_float2(*args, **kwargs, &block)
- slider_float3(*args, **kwargs, &block)
- slider_float4(*args, **kwargs, &block)
- slider_int(*args, **kwargs, &block)
- slider_int2(*args, **kwargs, &block)
- slider_int3(*args, **kwargs, &block)
- slider_int4(*args, **kwargs, &block)
- slider_scalar(*args, **kwargs, &block)
- slider_scalar_n(*args, **kwargs, &block)
-
tab_item(*args, **kwargs, &block)
Calls
.begin_tab_item
, conditionally yields to the block, then conditionally calls.end_tab_item
. - v_slider_float(*args, **kwargs, &block)
- v_slider_int(*args, **kwargs, &block)
- v_slider_scalar(*args, **kwargs, &block)
- window(*args, **kwargs, &block)
Class Method Detail
Calls .begin_child
, conditionally yields to the block, then calls .end_child
.
Calls .begin_child
, conditionally yields to the block, then calls .end_child
.
Calls .begin_combo
, conditionally yields to the block, then conditionally calls .end_combo
.
Calls .begin_disabled
, yields to the block, then calls .end_disabled
.
Calls .begin_drag_drop_source
, conditionally yields to the block, then conditionally calls .end_drag_drop_source
.
Calls .begin_drag_drop_target
, conditionally yields to the block, then conditionally calls .end_drag_drop_target
.
Calls .begin_list_box
, conditionally yields to the block, then conditionally calls .end_list_box
.
Calls .begin_popup
, conditionally yields to the block, then conditionally calls .end_popup
.
Calls .begin_popup_context_item
, conditionally yields to the block, then conditionally calls .end_popup
.
Calls .begin_popup_context_void
, conditionally yields to the block, then conditionally calls .end_popup
.
Calls .begin_popup_context_window
, conditionally yields to the block, then conditionally calls .end_popup
.
Calls .begin_popup_modal
, conditionally yields to the block, then conditionally calls .end_popup
.
Calls .begin_tab_bar
, conditionally yields to the block, then conditionally calls .end_tab_bar
.
Calls .begin_tab_item
, conditionally yields to the block, then conditionally calls .end_tab_item
.
Calls .begin_table
, conditionally yields to the block, then conditionally calls .end_table
.
Calls .begin_tooltip
, conditionally yields to the block, then calls .end_tooltip
.
Calls .tree_node
, conditionally yields to the block, then conditionally calls .tree_pop
.
Calls .tree_node
, conditionally yields to the block, then conditionally calls .tree_pop
.
Calls .tree_node
, conditionally yields to the block, then conditionally calls .tree_pop
.
Calls .tree_node_ex
, conditionally yields to the block, then conditionally calls .tree_pop
.
Calls .tree_node_ex
, conditionally yields to the block, then conditionally calls .tree_pop
.
Calls .tree_node_ex
, conditionally yields to the block, then conditionally calls .tree_pop
.
Calls .push_button_repeat
, yields to the block, then calls .pop_button_repeat
.
Calls .push_clip_rect
, yields to the block, then calls .pop_clip_rect
.
Calls .push_font
, yields to the block, then calls .pop_font
.
Calls .push_item_width
, yields to the block, then calls .pop_item_width
.
Calls .push_style_color
, yields to the block, then calls .pop_style_color
.
Calls .push_style_color
, yields to the block, then calls .pop_style_color
.
Calls .push_style_var
, yields to the block, then calls .pop_style_var
.
Calls .push_style_var
, yields to the block, then calls .pop_style_var
.
Calls .push_tab_stop
, yields to the block, then calls .pop_tab_stop
.
Calls .push_text_wrap_pos
, yields to the block, then calls .pop_text_wrap_pos
.
Calls .tree_push
, yields to the block, then calls .tree_pop
.
Calls .tree_push
, yields to the block, then calls .tree_pop
.
Macro Detail
Calls .begin_popup_modal
, conditionally yields to the block, then conditionally calls .end_popup
.
Calls .begin_tab_item
, conditionally yields to the block, then conditionally calls .end_tab_item
.