Struct imgui_sys::ImGuiIO [] [src]

#[repr(C)]
pub struct ImGuiIO { pub display_size: ImVec2, pub delta_time: c_float, pub ini_saving_rate: c_float, pub ini_filename: *const c_char, pub log_filename: *const c_char, pub mouse_double_click_time: c_float, pub mouse_double_click_max_dist: c_float, pub mouse_drag_threshold: c_float, pub key_map: [c_int; 19], pub key_repeat_delay: c_float, pub key_repeat_rate: c_float, pub user_data: *mut c_void, pub fonts: *mut ImFontAtlas, pub font_global_scale: c_float, pub font_allow_user_scaling: bool, pub display_framebuffer_scale: ImVec2, pub display_visible_min: ImVec2, pub display_visible_max: ImVec2, pub word_movement_uses_alt_key: bool, pub shortcuts_use_super_key: bool, pub double_click_selects_word: bool, pub multi_select_uses_super_key: bool, pub render_draw_lists_fn: Option<extern fn(_: *mut ImDrawData)>, pub get_clipboard_text_fn: Option<extern fn() -> *const c_char>, pub set_clipboard_text_fn: Option<extern fn(_: *const c_char)>, pub mem_alloc_fn: Option<extern fn(_: usize) -> *mut c_void>, pub mem_free_fn: Option<extern fn(_: *mut c_void)>, pub ime_set_input_screen_pos_fn: Option<extern fn(_: c_int, _: c_int)>, pub ime_window_handle: *mut c_void, pub mouse_pos: ImVec2, pub mouse_down: [bool; 5], pub mouse_wheel: c_float, pub mouse_draw_cursor: bool, pub key_ctrl: bool, pub key_shift: bool, pub key_alt: bool, pub key_super: bool, pub keys_down: [bool; 512], pub input_characters: [ImWchar; 17], pub want_capture_mouse: bool, pub want_capture_keyboard: bool, pub want_text_input: bool, pub framerate: c_float, pub metrics_allocs: c_int, pub metrics_render_vertices: c_int, pub metrics_render_indices: c_int, pub metrics_active_windows: c_int, pub mouse_pos_prev: ImVec2, pub mouse_delta: ImVec2, pub mouse_clicked: [bool; 5], pub mouse_clicked_pos: [ImVec2; 5], pub mouse_clicked_time: [c_float; 5], pub mouse_double_clicked: [bool; 5], pub mouse_released: [bool; 5], pub mouse_down_owned: [bool; 5], pub mouse_down_duration: [c_float; 5], pub mouse_down_duration_prev: [c_float; 5], pub mouse_drag_max_distance_sqr: [c_float; 5], pub keys_down_duration: [c_float; 512], pub keys_down_duration_prev: [c_float; 512], }

Main configuration and I/O between your application and ImGui

Fields