Struct imgui::ImGui
[−]
[src]
pub struct ImGui { // some fields omitted }
pub struct ImGui { // some fields omitted }
impl ImGui
[src]fn init() -> ImGui
fn style(&self) -> &ImGuiStyle
fn style_mut(&self) -> &mut ImGuiStyle
fn prepare_texture<'a, F, T>(&mut self, f: F) -> T where F: FnOnce(TextureHandle<'a>) -> T
fn set_texture_id(&mut self, value: uintptr_t)
fn set_ini_filename(&mut self, value: Option<ImStr<'static>>)
fn set_log_filename(&mut self, value: Option<ImStr<'static>>)
fn set_ini_saving_rate(&mut self, value: f32)
fn set_mouse_double_click_time(&mut self, value: f32)
fn set_mouse_double_click_max_dist(&mut self, value: f32)
fn set_mouse_drag_threshold(&mut self, value: f32)
fn set_key_repeat_delay(&mut self, value: f32)
fn set_key_repeat_rate(&mut self, value: f32)
fn display_size(&self) -> (f32, f32)
fn display_framebuffer_scale(&self) -> (f32, f32)
fn mouse_pos(&self) -> (f32, f32)
fn set_mouse_pos(&mut self, x: f32, y: f32)
fn set_mouse_down(&mut self, states: &[bool; 5])
fn set_mouse_wheel(&mut self, value: f32)
fn set_mouse_draw_cursor(&mut self, value: bool)
fn set_key_ctrl(&mut self, value: bool)
fn set_key_shift(&mut self, value: bool)
fn set_key_alt(&mut self, value: bool)
fn set_key_super(&mut self, value: bool)
fn set_key(&mut self, key: u8, pressed: bool)
fn set_imgui_key(&mut self, key: ImGuiKey, mapping: u8)
fn add_input_character(&mut self, character: char)
fn get_time(&self) -> f32
fn get_frame_count(&self) -> i32
fn get_frame_rate(&self) -> f32
fn frame<'ui, 'a: 'ui>(&'a mut self, size_points: (u32, u32), size_pixels: (u32, u32), delta_time: f32) -> Ui<'ui>
impl Drop for ImGui
[src]