struct ImGui::ImGuiIO

Included Modules

Defined in:

obj.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new : ImGuiIO #

[View source]

Instance Method Detail

def add_focus_event(focused : Bool) : Void #

[View source]
def add_input_character(c : UInt32) : Void #

[View source]
def add_input_character_utf16(c : ImWchar16) : Void #

[View source]
def add_input_characters_utf8(str : String) : Void #

[View source]
def add_key_analog_event(key : ImGuiKey, down : Bool, v : Float32) : Void #

[View source]
def add_key_event(key : ImGuiKey, down : Bool) : Void #

[View source]
def add_mouse_button_event(button : Int32, down : Bool) : Void #

[View source]
def add_mouse_pos_event(x : Float32, y : Float32) : Void #

[View source]
def add_mouse_source_event(source : ImGuiMouseSource) : Void #

[View source]
def add_mouse_wheel_event(wheel_x : Float32, wheel_y : Float32) : Void #

[View source]
def app_accepting_events : Bool #

[View source]
def app_accepting_events=(app_accepting_events : Bool) #

[View source]
def app_focus_lost : Bool #

[View source]
def app_focus_lost=(app_focus_lost : Bool) #

[View source]
def backend_flags : ImGuiBackendFlags #

[View source]
def backend_flags=(backend_flags : ImGuiBackendFlags) #

[View source]
def backend_language_user_data : Pointer(Void) #

[View source]
def backend_language_user_data=(backend_language_user_data : Pointer(Void)) #

[View source]
def backend_platform_name : String | Nil #

[View source]
def backend_platform_name=(backend_platform_name : String | Nil) #

[View source]
def backend_platform_user_data : Pointer(Void) #

[View source]
def backend_platform_user_data=(backend_platform_user_data : Pointer(Void)) #

[View source]
def backend_renderer_name : String | Nil #

[View source]
def backend_renderer_name=(backend_renderer_name : String | Nil) #

[View source]
def backend_renderer_user_data : Pointer(Void) #

[View source]
def backend_renderer_user_data=(backend_renderer_user_data : Pointer(Void)) #

[View source]
def backend_using_legacy_key_arrays : Int8 #

[View source]
def backend_using_legacy_key_arrays=(backend_using_legacy_key_arrays : Int8) #

[View source]
def backend_using_legacy_nav_input_array : Bool #

[View source]
def backend_using_legacy_nav_input_array=(backend_using_legacy_nav_input_array : Bool) #

[View source]
def clear_events_queue : Void #

[View source]
def clear_input_keys : Void #

[View source]
def clipboard_user_data : Pointer(Void) #

[View source]
def clipboard_user_data=(clipboard_user_data : Pointer(Void)) #

[View source]
def config_debug_begin_return_value_loop : Bool #

[View source]
def config_debug_begin_return_value_loop=(config_debug_begin_return_value_loop : Bool) #

[View source]
def config_debug_begin_return_value_once : Bool #

[View source]
def config_debug_begin_return_value_once=(config_debug_begin_return_value_once : Bool) #

[View source]
def config_debug_ignore_focus_loss : Bool #

[View source]
def config_debug_ignore_focus_loss=(config_debug_ignore_focus_loss : Bool) #

[View source]
def config_debug_ini_settings : Bool #

[View source]
def config_debug_ini_settings=(config_debug_ini_settings : Bool) #

[View source]
def config_debug_is_debugger_present : Bool #

[View source]
def config_debug_is_debugger_present=(config_debug_is_debugger_present : Bool) #

[View source]
def config_drag_click_to_input_text : Bool #

[View source]
def config_drag_click_to_input_text=(config_drag_click_to_input_text : Bool) #

[View source]
def config_flags : ImGuiConfigFlags #

[View source]
def config_flags=(config_flags : ImGuiConfigFlags) #

[View source]
def config_input_text_cursor_blink : Bool #

[View source]
def config_input_text_cursor_blink=(config_input_text_cursor_blink : Bool) #

[View source]
def config_input_text_enter_keep_active : Bool #

[View source]
def config_input_text_enter_keep_active=(config_input_text_enter_keep_active : Bool) #

[View source]
def config_input_trickle_event_queue : Bool #

[View source]
def config_input_trickle_event_queue=(config_input_trickle_event_queue : Bool) #

[View source]
def config_mac_osx_behaviors : Bool #

[View source]
def config_mac_osx_behaviors=(config_mac_osx_behaviors : Bool) #

[View source]
def config_memory_compact_timer : Float32 #

[View source]
def config_memory_compact_timer=(config_memory_compact_timer : Float32) #

[View source]
def config_windows_move_from_title_bar_only : Bool #

[View source]
def config_windows_move_from_title_bar_only=(config_windows_move_from_title_bar_only : Bool) #

[View source]
def config_windows_resize_from_edges : Bool #

[View source]
def config_windows_resize_from_edges=(config_windows_resize_from_edges : Bool) #

[View source]
def ctx : ImGuiContext | Nil #

[View source]
def ctx=(ctx : ImGuiContext | Nil) #

[View source]
def delta_time : Float32 #

[View source]
def delta_time=(delta_time : Float32) #

[View source]
def display_framebuffer_scale : ImVec2 #

[View source]
def display_framebuffer_scale=(display_framebuffer_scale : ImVec2) #

[View source]
def display_size : ImVec2 #

[View source]
def display_size=(display_size : ImVec2) #

[View source]
def font_allow_user_scaling : Bool #

[View source]
def font_allow_user_scaling=(font_allow_user_scaling : Bool) #

[View source]
def font_default : ImFont #

[View source]
def font_default=(font_default : ImFont) #

[View source]
def font_global_scale : Float32 #

[View source]
def font_global_scale=(font_global_scale : Float32) #

[View source]
def fonts : ImFontAtlas #

[View source]
def fonts=(fonts : ImFontAtlas) #

[View source]
def framerate : Float32 #

[View source]
def framerate=(framerate : Float32) #

[View source]
def get_clipboard_text_fn : Pointer(Void) -> String #

[View source]
def get_clipboard_text_fn=(get_clipboard_text_fn : Pointer(Void) -> String) #

[View source]
def ini_filename : String | Nil #

[View source]
def ini_filename=(ini_filename : String | Nil) #

[View source]
def ini_saving_rate : Float32 #

[View source]
def ini_saving_rate=(ini_saving_rate : Float32) #

[View source]
def input_queue_characters : ImVector(ImWchar) #

[View source]
def input_queue_characters=(input_queue_characters : ImVector(ImWchar)) #

[View source]
def input_queue_surrogate : ImWchar16 #

[View source]
def input_queue_surrogate=(input_queue_surrogate : ImWchar16) #

[View source]
def key_alt : Bool #

[View source]
def key_alt=(key_alt : Bool) #

[View source]
def key_ctrl : Bool #

[View source]
def key_ctrl=(key_ctrl : Bool) #

[View source]
def key_mods : ImGuiKeyChord #

[View source]
def key_mods=(key_mods : ImGuiKeyChord) #

[View source]
def key_repeat_delay : Float32 #

[View source]
def key_repeat_delay=(key_repeat_delay : Float32) #

[View source]
def key_repeat_rate : Float32 #

[View source]
def key_repeat_rate=(key_repeat_rate : Float32) #

[View source]
def key_shift : Bool #

[View source]
def key_shift=(key_shift : Bool) #

[View source]
def key_super : Bool #

[View source]
def key_super=(key_super : Bool) #

[View source]
def keys_data : Slice(ImGuiKeyData) #

[View source]
def keys_data=(keys_data : Slice(ImGuiKeyData)) #

[View source]
def log_filename : String | Nil #

[View source]
def log_filename=(log_filename : String | Nil) #

[View source]
def metrics_active_windows : Int32 #

[View source]
def metrics_active_windows=(metrics_active_windows : Int32) #

[View source]
def metrics_render_indices : Int32 #

[View source]
def metrics_render_indices=(metrics_render_indices : Int32) #

[View source]
def metrics_render_vertices : Int32 #

[View source]
def metrics_render_vertices=(metrics_render_vertices : Int32) #

[View source]
def metrics_render_windows : Int32 #

[View source]
def metrics_render_windows=(metrics_render_windows : Int32) #

[View source]
def mouse_clicked : Slice(Bool) #

[View source]
def mouse_clicked=(mouse_clicked : Slice(Bool)) #

[View source]
def mouse_clicked_count : Slice(UInt16) #

[View source]
def mouse_clicked_count=(mouse_clicked_count : Slice(UInt16)) #

[View source]
def mouse_clicked_last_count : Slice(UInt16) #

[View source]
def mouse_clicked_last_count=(mouse_clicked_last_count : Slice(UInt16)) #

[View source]
def mouse_clicked_pos : Slice(ImVec2) #

[View source]
def mouse_clicked_pos=(mouse_clicked_pos : Slice(ImVec2)) #

[View source]
def mouse_clicked_time : Slice(Float64) #

[View source]
def mouse_clicked_time=(mouse_clicked_time : Slice(Float64)) #

[View source]
def mouse_delta : ImVec2 #

[View source]
def mouse_delta=(mouse_delta : ImVec2) #

[View source]
def mouse_double_click_max_dist : Float32 #

[View source]
def mouse_double_click_max_dist=(mouse_double_click_max_dist : Float32) #

[View source]
def mouse_double_click_time : Float32 #

[View source]
def mouse_double_click_time=(mouse_double_click_time : Float32) #

[View source]
def mouse_double_clicked : Slice(Bool) #

[View source]
def mouse_double_clicked=(mouse_double_clicked : Slice(Bool)) #

[View source]
def mouse_down : Slice(Bool) #

[View source]
def mouse_down=(mouse_down : Slice(Bool)) #

[View source]
def mouse_down_duration : Slice(Float32) #

[View source]
def mouse_down_duration=(mouse_down_duration : Slice(Float32)) #

[View source]
def mouse_down_duration_prev : Slice(Float32) #

[View source]
def mouse_down_duration_prev=(mouse_down_duration_prev : Slice(Float32)) #

[View source]
def mouse_down_owned : Slice(Bool) #

[View source]
def mouse_down_owned=(mouse_down_owned : Slice(Bool)) #

[View source]
def mouse_down_owned_unless_popup_close : Slice(Bool) #

[View source]
def mouse_down_owned_unless_popup_close=(mouse_down_owned_unless_popup_close : Slice(Bool)) #

[View source]
def mouse_drag_max_distance_sqr : Slice(Float32) #

[View source]
def mouse_drag_max_distance_sqr=(mouse_drag_max_distance_sqr : Slice(Float32)) #

[View source]
def mouse_drag_threshold : Float32 #

[View source]
def mouse_drag_threshold=(mouse_drag_threshold : Float32) #

[View source]
def mouse_draw_cursor : Bool #

[View source]
def mouse_draw_cursor=(mouse_draw_cursor : Bool) #

[View source]
def mouse_pos : ImVec2 #

[View source]
def mouse_pos=(mouse_pos : ImVec2) #

[View source]
def mouse_pos_prev : ImVec2 #

[View source]
def mouse_pos_prev=(mouse_pos_prev : ImVec2) #

[View source]
def mouse_released : Slice(Bool) #

[View source]
def mouse_released=(mouse_released : Slice(Bool)) #

[View source]
def mouse_source : ImGuiMouseSource #

[View source]
def mouse_source=(mouse_source : ImGuiMouseSource) #

[View source]
def mouse_wheel : Float32 #

[View source]
def mouse_wheel=(mouse_wheel : Float32) #

[View source]
def mouse_wheel_h : Float32 #

[View source]
def mouse_wheel_h=(mouse_wheel_h : Float32) #

[View source]
def mouse_wheel_request_axis_swap : Bool #

[View source]
def mouse_wheel_request_axis_swap=(mouse_wheel_request_axis_swap : Bool) #

[View source]
def nav_active : Bool #

[View source]
def nav_active=(nav_active : Bool) #

[View source]
def nav_visible : Bool #

[View source]
def nav_visible=(nav_visible : Bool) #

[View source]
def pen_pressure : Float32 #

[View source]
def pen_pressure=(pen_pressure : Float32) #

[View source]
def platform_locale_decimal_point : ImWchar #

[View source]
def platform_locale_decimal_point=(platform_locale_decimal_point : ImWchar) #

[View source]
def set_app_accepting_events(accepting_events : Bool) : Void #

[View source]
def set_clipboard_text_fn : Pointer(Void), String -> Void #

[View source]
def set_clipboard_text_fn=(set_clipboard_text_fn : Pointer(Void), String -> Void) #

[View source]
def set_key_event_native_data(key : ImGuiKey, native_keycode : Int32, native_scancode : Int32, native_legacy_index : Int32 = -1) : Void #

[View source]
def set_platform_ime_data_fn : ImGuiViewport, ImGuiPlatformImeData -> Void #

[View source]
def set_platform_ime_data_fn=(set_platform_ime_data_fn : ImGuiViewport, ImGuiPlatformImeData -> Void) #

[View source]
def to_unsafe : Pointer(T) #

[View source]
def user_data : Pointer(Void) #

[View source]
def user_data=(user_data : Pointer(Void)) #

[View source]
def want_capture_keyboard : Bool #

[View source]
def want_capture_keyboard=(want_capture_keyboard : Bool) #

[View source]
def want_capture_mouse : Bool #

[View source]
def want_capture_mouse=(want_capture_mouse : Bool) #

[View source]
def want_capture_mouse_unless_popup_close : Bool #

[View source]
def want_capture_mouse_unless_popup_close=(want_capture_mouse_unless_popup_close : Bool) #

[View source]
def want_save_ini_settings : Bool #

[View source]
def want_save_ini_settings=(want_save_ini_settings : Bool) #

[View source]
def want_set_mouse_pos : Bool #

[View source]
def want_set_mouse_pos=(want_set_mouse_pos : Bool) #

[View source]
def want_text_input : Bool #

[View source]
def want_text_input=(want_text_input : Bool) #

[View source]