Struct imgui::Ui [] [src]

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

Methods

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

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

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

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

Pushes a value to the item width stack.

Pops a value from the item width stack.

Aborts

The current process is aborted if the item width stack is empty.

Runs a function after temporarily pushing a value to the item width stack.

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

Pushes an identifier to the ID stack.

Pops an identifier from the ID stack.

Aborts

The current process is aborted if the ID stack is empty.

Runs a function after temporarily pushing a value to the ID stack.

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

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

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

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

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

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

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

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

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

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

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

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

Creates a progress bar. Fraction is the progress level with 0.0 = 0% and 1.0 = 100%.

Example

ui.progress_bar(0.6)
    .size(imgui::ImVec2::new(100.0, 12.0))
    .overlay_text(im_str!("Progress!"))
    .build();