Struct imgui::Ui [] [src]

pub struct Ui<'ui> {
    // some fields omitted
}

Methods

impl<'ui> Ui<'ui>
[src]

fn imgui(&self) -> &ImGui

fn want_capture_mouse(&self) -> bool

fn want_capture_keyboard(&self) -> bool

fn framerate(&self) -> f32

fn metrics_allocs(&self) -> i32

fn metrics_render_vertices(&self) -> i32

fn metrics_render_indices(&self) -> i32

fn metrics_active_windows(&self) -> i32

fn render<F, E>(self, f: F) -> Result<(), E> where F: FnMut(DrawList<'ui>) -> Result<(), E>

fn show_user_guide(&self)

fn show_default_style_editor(&self)

fn show_style_editor<'p>(&self, style: &'p mut ImGuiStyle)

fn show_test_window(&self, opened: &mut bool)

fn show_metrics_window(&self, opened: &mut bool)

impl<'a> Ui<'a>
[src]

unsafe fn current_ui() -> Option<&'a Ui<'a>>

impl<'ui> Ui<'ui>
[src]

fn window<'p>(&self) -> Window<'ui, 'p>

impl<'ui> Ui<'ui>
[src]

fn separator(&self)

fn same_line(&self, pos_x: f32)

fn same_line_spacing(&self, pos_x: f32, spacing_w: f32)

fn spacing(&self)

impl<'ui> Ui<'ui>
[src]

fn text<'p>(&self, text: ImStr<'p>)

fn text_colored<'p, A>(&self, col: A, text: ImStr<'p>) where A: Into<ImVec4>

fn text_disabled<'p>(&self, text: ImStr<'p>)

fn text_wrapped<'p>(&self, text: ImStr<'p>)

fn label_text<'p>(&self, label: ImStr<'p>, text: ImStr<'p>)

fn bullet(&self)

fn bullet_text<'p>(&self, text: ImStr<'p>)

fn small_button<'p>(&self, label: ImStr<'p>) -> bool

fn collapsing_header<'p>(&self, label: ImStr<'p>) -> CollapsingHeader<'ui, 'p>

fn checkbox<'p>(&self, label: ImStr<'p>, value: &'p mut bool) -> bool

impl<'ui> Ui<'ui>
[src]

fn input_text<'p>(&self, label: ImStr<'p>, buf: &'p mut str) -> InputText<'ui, 'p>

impl<'ui> Ui<'ui>
[src]

fn slider_f32<'p>(&self, label: ImStr<'p>, value: &'p mut f32, min: f32, max: f32) -> SliderFloat<'ui, 'p>

fn slider_i32<'p>(&self, label: ImStr<'p>, value: &'p mut i32, min: i32, max: i32) -> SliderInt<'ui, 'p>

impl<'ui> Ui<'ui>
[src]

fn tree_node<'p>(&self, id: ImStr<'p>) -> TreeNode<'ui, 'p>

impl<'ui> Ui<'ui>
[src]

fn main_menu_bar<F>(&self, f: F) where F: FnOnce()

fn menu_bar<F>(&self, f: F) where F: FnOnce()

fn menu<'p>(&self, label: ImStr<'p>) -> Menu<'ui, 'p>

fn menu_item<'p>(&self, label: ImStr<'p>) -> MenuItem<'ui, 'p>