Struct nuklear::Context [−][src]
pub struct Context { /* fields omitted */ }Methods
impl Context[src]
impl Contextpub fn new(alloc: &mut Allocator, font: &UserFont) -> Context[src]
pub fn new(alloc: &mut Allocator, font: &UserFont) -> Contextpub fn input_mut(&mut self) -> &mut Input[src]
pub fn input_mut(&mut self) -> &mut Inputpub fn style_mut(&mut self) -> &mut Style[src]
pub fn style_mut(&mut self) -> &mut Stylepub fn draw_list_mut(&mut self) -> &mut DrawList[src]
pub fn draw_list_mut(&mut self) -> &mut DrawListpub fn input(&self) -> &Input[src]
pub fn input(&self) -> &Inputpub fn style(&self) -> &Style[src]
pub fn style(&self) -> &Stylepub fn draw_list(&self) -> &DrawList[src]
pub fn draw_list(&self) -> &DrawListpub fn clear(&mut self)[src]
pub fn clear(&mut self)pub fn begin(&mut self, title: String, bounds: Rect, flags: Flags) -> bool[src]
pub fn begin(&mut self, title: String, bounds: Rect, flags: Flags) -> boolpub fn begin_titled(
&mut self,
name: String,
title: String,
bounds: Rect,
flags: Flags
) -> i32[src]
pub fn begin_titled(
&mut self,
name: String,
title: String,
bounds: Rect,
flags: Flags
) -> i32pub fn end(&mut self)[src]
pub fn end(&mut self)pub fn window_find(&self, name: String) -> Option<&Window>[src]
pub fn window_find(&self, name: String) -> Option<&Window>pub fn window_find_mut(&mut self, name: String) -> Option<&mut Window>[src]
pub fn window_find_mut(&mut self, name: String) -> Option<&mut Window>pub fn window_get_bounds(&self) -> Rect[src]
pub fn window_get_bounds(&self) -> Rectpub fn window_get_size(&self) -> Vec2[src]
pub fn window_get_size(&self) -> Vec2pub fn window_get_position(&self) -> Vec2[src]
pub fn window_get_position(&self) -> Vec2pub fn window_get_width(&self) -> f32[src]
pub fn window_get_width(&self) -> f32pub fn window_get_height(&self) -> f32[src]
pub fn window_get_height(&self) -> f32pub fn window_get_panel_mut(&mut self) -> Option<&mut Panel>[src]
pub fn window_get_panel_mut(&mut self) -> Option<&mut Panel>pub fn window_get_panel(&self) -> Option<&Panel>[src]
pub fn window_get_panel(&self) -> Option<&Panel>pub fn window_get_content_region(&self) -> Rect[src]
pub fn window_get_content_region(&self) -> Rectpub fn window_get_content_region_min(&self) -> Vec2[src]
pub fn window_get_content_region_min(&self) -> Vec2pub fn window_get_content_region_max(&self) -> Vec2[src]
pub fn window_get_content_region_max(&self) -> Vec2pub fn window_get_content_region_size(&self) -> Vec2[src]
pub fn window_get_content_region_size(&self) -> Vec2pub fn window_get_canvas_mut(&mut self) -> Option<&mut CommandBuffer>[src]
pub fn window_get_canvas_mut(&mut self) -> Option<&mut CommandBuffer>pub fn window_get_canvas(&self) -> Option<&CommandBuffer>[src]
pub fn window_get_canvas(&self) -> Option<&CommandBuffer>pub fn window_has_focus(&self) -> bool[src]
pub fn window_has_focus(&self) -> boolpub fn window_is_collapsed(&self, name: String) -> bool[src]
pub fn window_is_collapsed(&self, name: String) -> boolpub fn window_is_closed(&self, name: String) -> bool[src]
pub fn window_is_closed(&self, name: String) -> boolpub fn window_is_active(&self, name: String) -> bool[src]
pub fn window_is_active(&self, name: String) -> boolpub fn window_is_hovered(&self) -> bool[src]
pub fn window_is_hovered(&self) -> boolpub fn window_is_any_hovered(&self) -> bool[src]
pub fn window_is_any_hovered(&self) -> boolpub fn item_is_any_active(&self) -> bool[src]
pub fn item_is_any_active(&self) -> boolpub fn window_set_bounds(&mut self, bounds: Rect)[src]
pub fn window_set_bounds(&mut self, bounds: Rect)pub fn window_set_position(&mut self, pos: Vec2)[src]
pub fn window_set_position(&mut self, pos: Vec2)pub fn window_set_size(&mut self, size: Vec2)[src]
pub fn window_set_size(&mut self, size: Vec2)pub fn window_set_focus(&mut self, name: String)[src]
pub fn window_set_focus(&mut self, name: String)pub fn window_close(&mut self, name: String)[src]
pub fn window_close(&mut self, name: String)pub fn window_collapse(&mut self, name: String, state: CollapseState)[src]
pub fn window_collapse(&mut self, name: String, state: CollapseState)pub fn window_collapse_if(
&mut self,
name: String,
state: CollapseState,
cond: bool
)[src]
pub fn window_collapse_if(
&mut self,
name: String,
state: CollapseState,
cond: bool
)pub fn window_show(&mut self, name: String, state: ShowState)[src]
pub fn window_show(&mut self, name: String, state: ShowState)pub fn window_show_if(&mut self, name: String, state: ShowState, cond: bool)[src]
pub fn window_show_if(&mut self, name: String, state: ShowState, cond: bool)pub fn layout_row_dynamic(&mut self, height: f32, cols: i32)[src]
pub fn layout_row_dynamic(&mut self, height: f32, cols: i32)pub fn layout_row_static(&mut self, height: f32, item_width: i32, cols: i32)[src]
pub fn layout_row_static(&mut self, height: f32, item_width: i32, cols: i32)pub fn layout_row_begin(
&mut self,
fmt: LayoutFormat,
row_height: f32,
cols: i32
)[src]
pub fn layout_row_begin(
&mut self,
fmt: LayoutFormat,
row_height: f32,
cols: i32
)pub fn layout_row_push(&mut self, value: f32)[src]
pub fn layout_row_push(&mut self, value: f32)pub fn layout_row_end(&mut self)[src]
pub fn layout_row_end(&mut self)pub fn layout_row(&mut self, fmt: LayoutFormat, height: f32, cols_ratio: &[f32])[src]
pub fn layout_row(&mut self, fmt: LayoutFormat, height: f32, cols_ratio: &[f32])pub fn layout_space_begin(
&mut self,
fmt: LayoutFormat,
height: f32,
widget_count: i32
)[src]
pub fn layout_space_begin(
&mut self,
fmt: LayoutFormat,
height: f32,
widget_count: i32
)pub fn layout_space_push(&mut self, space: Rect)[src]
pub fn layout_space_push(&mut self, space: Rect)pub fn layout_space_end(&mut self)[src]
pub fn layout_space_end(&mut self)pub fn layout_space_bounds(&mut self) -> Rect[src]
pub fn layout_space_bounds(&mut self) -> Rectpub fn layout_space_to_screen(&mut self, space: Vec2) -> Vec2[src]
pub fn layout_space_to_screen(&mut self, space: Vec2) -> Vec2pub fn layout_space_to_local(&mut self, space: Vec2) -> Vec2[src]
pub fn layout_space_to_local(&mut self, space: Vec2) -> Vec2pub fn layout_space_rect_to_screen(&mut self, space: Rect) -> Rect[src]
pub fn layout_space_rect_to_screen(&mut self, space: Rect) -> Rectpub fn layout_space_rect_to_local(&mut self, space: Rect) -> Rect[src]
pub fn layout_space_rect_to_local(&mut self, space: Rect) -> Rectpub fn layout_ratio_from_pixel(&mut self, pixel_width: f32) -> f32[src]
pub fn layout_ratio_from_pixel(&mut self, pixel_width: f32) -> f32pub fn nk_group_begin(&mut self, title: String, flags: Flags) -> i32[src]
pub fn nk_group_begin(&mut self, title: String, flags: Flags) -> i32pub fn group_end(&mut self)[src]
pub fn group_end(&mut self)pub fn tree_push_hashed(
&mut self,
ty: TreeType,
title: String,
initial_state: CollapseState,
hash: String,
len: i32,
seed: i32
) -> i32[src]
pub fn tree_push_hashed(
&mut self,
ty: TreeType,
title: String,
initial_state: CollapseState,
hash: String,
len: i32,
seed: i32
) -> i32pub fn tree_image_push_hashed(
&mut self,
ty: TreeType,
i: Image,
title: String,
initial_state: CollapseState,
hash: String,
len: i32,
seed: i32
) -> i32[src]
pub fn tree_image_push_hashed(
&mut self,
ty: TreeType,
i: Image,
title: String,
initial_state: CollapseState,
hash: String,
len: i32,
seed: i32
) -> i32pub fn tree_pop(&mut self)[src]
pub fn tree_pop(&mut self)pub fn text(&mut self, text: &str, flags: Flags)[src]
pub fn text(&mut self, text: &str, flags: Flags)pub fn text_colored(&mut self, text: &str, flags: Flags, color: Color)[src]
pub fn text_colored(&mut self, text: &str, flags: Flags, color: Color)pub fn text_wrap(&mut self, text: &str)[src]
pub fn text_wrap(&mut self, text: &str)pub fn text_wrap_colored(&mut self, text: &str, color: Color)[src]
pub fn text_wrap_colored(&mut self, text: &str, color: Color)pub fn label(&mut self, text: String, flags: Flags)[src]
pub fn label(&mut self, text: String, flags: Flags)pub fn label_colored(&mut self, text: String, flags: Flags, color: Color)[src]
pub fn label_colored(&mut self, text: String, flags: Flags, color: Color)pub fn label_wrap(&mut self, text: String)[src]
pub fn label_wrap(&mut self, text: String)pub fn label_colored_wrap(&mut self, text: String, color: Color)[src]
pub fn label_colored_wrap(&mut self, text: String, color: Color)pub fn image(&mut self, img: Image)[src]
pub fn image(&mut self, img: Image)pub fn check_label(&mut self, title: String, active: bool) -> i32[src]
pub fn check_label(&mut self, title: String, active: bool) -> i32pub fn check_text(&mut self, title: &str, active: bool) -> i32[src]
pub fn check_text(&mut self, title: &str, active: bool) -> i32pub fn check_flags_label(
&mut self,
title: String,
flags: u32,
value: u32
) -> u32[src]
pub fn check_flags_label(
&mut self,
title: String,
flags: u32,
value: u32
) -> u32pub fn check_flags_text(&mut self, title: &str, flags: u32, value: u32) -> u32[src]
pub fn check_flags_text(&mut self, title: &str, flags: u32, value: u32) -> u32pub fn checkbox_label(&mut self, title: String, active: &mut bool) -> bool[src]
pub fn checkbox_label(&mut self, title: String, active: &mut bool) -> boolpub fn checkbox_text(&mut self, title: &str, active: &mut bool) -> bool[src]
pub fn checkbox_text(&mut self, title: &str, active: &mut bool) -> boolpub fn checkbox_flags_label(
&mut self,
title: String,
flags: &mut u32,
value: u32
) -> bool[src]
pub fn checkbox_flags_label(
&mut self,
title: String,
flags: &mut u32,
value: u32
) -> boolpub fn checkbox_flags_text(
&mut self,
title: &str,
flags: &mut u32,
value: u32
) -> bool[src]
pub fn checkbox_flags_text(
&mut self,
title: &str,
flags: &mut u32,
value: u32
) -> boolpub fn radio_label(&mut self, title: String, active: &mut bool) -> bool[src]
pub fn radio_label(&mut self, title: String, active: &mut bool) -> boolpub fn radio_text(&mut self, title: &str, active: &mut bool) -> bool[src]
pub fn radio_text(&mut self, title: &str, active: &mut bool) -> boolpub fn option_label(&mut self, title: String, active: bool) -> bool[src]
pub fn option_label(&mut self, title: String, active: bool) -> boolpub fn option_text(&mut self, title: &str, active: bool) -> bool[src]
pub fn option_text(&mut self, title: &str, active: bool) -> boolpub fn selectable_label(
&mut self,
title: String,
align: Flags,
value: &mut i32
) -> bool[src]
pub fn selectable_label(
&mut self,
title: String,
align: Flags,
value: &mut i32
) -> boolpub fn selectable_text(
&mut self,
title: &str,
align: Flags,
value: &mut i32
) -> bool[src]
pub fn selectable_text(
&mut self,
title: &str,
align: Flags,
value: &mut i32
) -> boolpub fn selectable_image_label(
&mut self,
img: Image,
title: String,
align: Flags,
value: &mut i32
) -> bool[src]
pub fn selectable_image_label(
&mut self,
img: Image,
title: String,
align: Flags,
value: &mut i32
) -> boolpub fn selectable_image_text(
&mut self,
img: Image,
title: &str,
align: Flags,
value: &mut i32
) -> bool[src]
pub fn selectable_image_text(
&mut self,
img: Image,
title: &str,
align: Flags,
value: &mut i32
) -> boolpub fn select_label(&mut self, title: String, align: Flags, value: i32) -> i32[src]
pub fn select_label(&mut self, title: String, align: Flags, value: i32) -> i32pub fn select_text(&mut self, title: &str, align: Flags, value: i32) -> i32[src]
pub fn select_text(&mut self, title: &str, align: Flags, value: i32) -> i32pub fn select_image_label(
&mut self,
img: Image,
title: String,
align: Flags,
value: i32
) -> i32[src]
pub fn select_image_label(
&mut self,
img: Image,
title: String,
align: Flags,
value: i32
) -> i32pub fn select_image_text(
&mut self,
img: Image,
title: &str,
align: Flags,
value: i32
) -> i32[src]
pub fn select_image_text(
&mut self,
img: Image,
title: &str,
align: Flags,
value: i32
) -> i32pub fn slide_float(&mut self, min: f32, val: f32, max: f32, step: f32) -> f32[src]
pub fn slide_float(&mut self, min: f32, val: f32, max: f32, step: f32) -> f32pub fn slide_int(&mut self, min: i32, val: i32, max: i32, step: i32) -> i32[src]
pub fn slide_int(&mut self, min: i32, val: i32, max: i32, step: i32) -> i32pub fn slider_float(
&mut self,
min: f32,
val: &mut f32,
max: f32,
step: f32
) -> bool[src]
pub fn slider_float(
&mut self,
min: f32,
val: &mut f32,
max: f32,
step: f32
) -> boolpub fn slider_int(
&mut self,
min: i32,
val: &mut i32,
max: i32,
step: i32
) -> bool[src]
pub fn slider_int(
&mut self,
min: i32,
val: &mut i32,
max: i32,
step: i32
) -> boolpub fn progress(
&mut self,
cur: &mut usize,
max: usize,
is_modifyable: bool
) -> bool[src]
pub fn progress(
&mut self,
cur: &mut usize,
max: usize,
is_modifyable: bool
) -> boolpub fn prog(&mut self, cur: usize, max: usize, is_modifyable: bool) -> usize[src]
pub fn prog(&mut self, cur: usize, max: usize, is_modifyable: bool) -> usizepub fn color_picker(&mut self, color: Color, fmt: ColorFormat) -> Color[src]
pub fn color_picker(&mut self, color: Color, fmt: ColorFormat) -> Colorpub fn color_pick(&mut self, fmt: ColorFormat) -> (bool, Color)[src]
pub fn color_pick(&mut self, fmt: ColorFormat) -> (bool, Color)pub fn property_int(
&mut self,
name: String,
min: i32,
val: &mut i32,
max: i32,
step: i32,
inc_per_pixel: f32
)[src]
pub fn property_int(
&mut self,
name: String,
min: i32,
val: &mut i32,
max: i32,
step: i32,
inc_per_pixel: f32
)pub fn property_float(
&mut self,
name: String,
min: f32,
val: &mut f32,
max: f32,
step: f32,
inc_per_pixel: f32
)[src]
pub fn property_float(
&mut self,
name: String,
min: f32,
val: &mut f32,
max: f32,
step: f32,
inc_per_pixel: f32
)pub fn property_double(
&mut self,
name: String,
min: f64,
val: &mut f64,
max: f64,
step: f64,
inc_per_pixel: f32
)[src]
pub fn property_double(
&mut self,
name: String,
min: f64,
val: &mut f64,
max: f64,
step: f64,
inc_per_pixel: f32
)pub fn propertyi(
&mut self,
name: String,
min: i32,
val: i32,
max: i32,
step: i32,
inc_per_pixel: f32
) -> i32[src]
pub fn propertyi(
&mut self,
name: String,
min: i32,
val: i32,
max: i32,
step: i32,
inc_per_pixel: f32
) -> i32pub fn propertyf(
&mut self,
name: String,
min: f32,
val: f32,
max: f32,
step: f32,
inc_per_pixel: f32
) -> f32[src]
pub fn propertyf(
&mut self,
name: String,
min: f32,
val: f32,
max: f32,
step: f32,
inc_per_pixel: f32
) -> f32pub fn propertyd(
&mut self,
name: String,
min: f64,
val: f64,
max: f64,
step: f64,
inc_per_pixel: f32
) -> f64[src]
pub fn propertyd(
&mut self,
name: String,
min: f64,
val: f64,
max: f64,
step: f64,
inc_per_pixel: f32
) -> f64pub fn edit_string_custom_filter(
&mut self,
flags: Flags,
buffer: &mut [u8],
len: &mut i32,
filter: fn(_: &TextEdit, _: char) -> bool
) -> Flags[src]
pub fn edit_string_custom_filter(
&mut self,
flags: Flags,
buffer: &mut [u8],
len: &mut i32,
filter: fn(_: &TextEdit, _: char) -> bool
) -> Flagspub fn edit_string(
&mut self,
flags: Flags,
buffer: &mut [u8],
len: &mut i32,
filter: PluginFilter
) -> Flags[src]
pub fn edit_string(
&mut self,
flags: Flags,
buffer: &mut [u8],
len: &mut i32,
filter: PluginFilter
) -> Flagspub fn edit_buffer(
&mut self,
flags: Flags,
editor: &mut TextEdit,
filter: PluginFilter
) -> Flags[src]
pub fn edit_buffer(
&mut self,
flags: Flags,
editor: &mut TextEdit,
filter: PluginFilter
) -> Flagspub fn chart_begin(
&mut self,
ty: ChartType,
num: i32,
min: f32,
max: f32
) -> bool[src]
pub fn chart_begin(
&mut self,
ty: ChartType,
num: i32,
min: f32,
max: f32
) -> boolpub fn chart_begin_colored(
&mut self,
ty: ChartType,
color: Color,
active: Color,
num: i32,
min: f32,
max: f32
) -> bool[src]
pub fn chart_begin_colored(
&mut self,
ty: ChartType,
color: Color,
active: Color,
num: i32,
min: f32,
max: f32
) -> boolpub fn chart_add_slot(
&mut self,
ty: ChartType,
count: i32,
min_value: f32,
max_value: f32
)[src]
pub fn chart_add_slot(
&mut self,
ty: ChartType,
count: i32,
min_value: f32,
max_value: f32
)pub fn chart_add_slot_colored(
&mut self,
ty: ChartType,
color: Color,
active: Color,
count: i32,
min_value: f32,
max_value: f32
)[src]
pub fn chart_add_slot_colored(
&mut self,
ty: ChartType,
color: Color,
active: Color,
count: i32,
min_value: f32,
max_value: f32
)pub fn chart_push(&mut self, value: f32) -> Flags[src]
pub fn chart_push(&mut self, value: f32) -> Flagspub fn chart_push_slot(&mut self, value: f32, count: i32) -> Flags[src]
pub fn chart_push_slot(&mut self, value: f32, count: i32) -> Flagspub fn chart_end(&mut self)[src]
pub fn chart_end(&mut self)pub fn plot(&mut self, ty: ChartType, values: &[f32])[src]
pub fn plot(&mut self, ty: ChartType, values: &[f32])pub fn popup_begin(
&mut self,
ty: PopupType,
title: String,
flags: Flags,
bounds: Rect
) -> bool[src]
pub fn popup_begin(
&mut self,
ty: PopupType,
title: String,
flags: Flags,
bounds: Rect
) -> boolpub fn popup_close(&mut self)[src]
pub fn popup_close(&mut self)pub fn popup_end(&mut self)[src]
pub fn popup_end(&mut self)pub fn combo(
&mut self,
items: &mut StringArray,
selected: i32,
item_height: i32,
size: Vec2
) -> i32[src]
pub fn combo(
&mut self,
items: &mut StringArray,
selected: i32,
item_height: i32,
size: Vec2
) -> i32pub fn combo_separator(
&mut self,
items_separated_by_separator: String,
separator: char,
selected: i32,
item_height: i32,
size: Vec2
) -> i32[src]
pub fn combo_separator(
&mut self,
items_separated_by_separator: String,
separator: char,
selected: i32,
item_height: i32,
size: Vec2
) -> i32pub fn combo_begin_label(&mut self, selected: String, size: Vec2) -> bool[src]
pub fn combo_begin_label(&mut self, selected: String, size: Vec2) -> boolpub fn combo_begin_text(&mut self, selected: &str, size: Vec2) -> bool[src]
pub fn combo_begin_text(&mut self, selected: &str, size: Vec2) -> boolpub fn combo_begin_color(&mut self, color: Color, size: Vec2) -> bool[src]
pub fn combo_begin_color(&mut self, color: Color, size: Vec2) -> boolpub fn combo_begin_symbol(&mut self, sym: SymbolType, size: Vec2) -> bool[src]
pub fn combo_begin_symbol(&mut self, sym: SymbolType, size: Vec2) -> boolpub fn combo_begin_symbol_label(
&mut self,
label: String,
sym: SymbolType,
size: Vec2
) -> bool[src]
pub fn combo_begin_symbol_label(
&mut self,
label: String,
sym: SymbolType,
size: Vec2
) -> boolpub fn combo_begin_symbol_text(
&mut self,
label: &str,
sym: SymbolType,
size: Vec2
) -> bool[src]
pub fn combo_begin_symbol_text(
&mut self,
label: &str,
sym: SymbolType,
size: Vec2
) -> boolpub fn combo_begin_image(&mut self, img: Image, size: Vec2) -> bool[src]
pub fn combo_begin_image(&mut self, img: Image, size: Vec2) -> boolpub fn combo_begin_image_label(
&mut self,
label: String,
img: Image,
size: Vec2
) -> bool[src]
pub fn combo_begin_image_label(
&mut self,
label: String,
img: Image,
size: Vec2
) -> boolpub fn combo_begin_image_text(
&mut self,
label: &str,
img: Image,
size: Vec2
) -> bool[src]
pub fn combo_begin_image_text(
&mut self,
label: &str,
img: Image,
size: Vec2
) -> boolpub fn combo_item_label(&mut self, label: String, alignment: Flags) -> bool[src]
pub fn combo_item_label(&mut self, label: String, alignment: Flags) -> boolpub fn combo_item_text(&mut self, label: &str, alignment: Flags) -> bool[src]
pub fn combo_item_text(&mut self, label: &str, alignment: Flags) -> boolpub fn combo_item_image_label(
&mut self,
img: Image,
label: String,
alignment: Flags
) -> bool[src]
pub fn combo_item_image_label(
&mut self,
img: Image,
label: String,
alignment: Flags
) -> boolpub fn combo_item_image_text(
&mut self,
img: Image,
label: &str,
alignment: Flags
) -> bool[src]
pub fn combo_item_image_text(
&mut self,
img: Image,
label: &str,
alignment: Flags
) -> boolpub fn combo_item_symbol_label(
&mut self,
sym: SymbolType,
label: String,
alignment: Flags
) -> bool[src]
pub fn combo_item_symbol_label(
&mut self,
sym: SymbolType,
label: String,
alignment: Flags
) -> boolpub fn combo_item_symbol_text(
&mut self,
sym: SymbolType,
label: &str,
alignment: Flags
) -> bool[src]
pub fn combo_item_symbol_text(
&mut self,
sym: SymbolType,
label: &str,
alignment: Flags
) -> boolpub fn combo_close(&mut self)[src]
pub fn combo_close(&mut self)pub fn combo_end(&mut self)[src]
pub fn combo_end(&mut self)pub fn contextual_begin(
&mut self,
flags: Flags,
bounds: Vec2,
trigger_bounds: Rect
) -> bool[src]
pub fn contextual_begin(
&mut self,
flags: Flags,
bounds: Vec2,
trigger_bounds: Rect
) -> boolpub fn contextual_item_label(&mut self, label: String, align: Flags) -> bool[src]
pub fn contextual_item_label(&mut self, label: String, align: Flags) -> boolpub fn contextual_item_text(&mut self, label: &str, align: Flags) -> bool[src]
pub fn contextual_item_text(&mut self, label: &str, align: Flags) -> boolpub fn contextual_item_image_label(
&mut self,
img: Image,
label: String,
align: Flags
) -> bool[src]
pub fn contextual_item_image_label(
&mut self,
img: Image,
label: String,
align: Flags
) -> boolpub fn contextual_item_image_text(
&mut self,
img: Image,
label: &str,
align: Flags
) -> bool[src]
pub fn contextual_item_image_text(
&mut self,
img: Image,
label: &str,
align: Flags
) -> boolpub fn contextual_item_symbol_label(
&mut self,
sym: SymbolType,
label: String,
align: Flags
) -> bool[src]
pub fn contextual_item_symbol_label(
&mut self,
sym: SymbolType,
label: String,
align: Flags
) -> boolpub fn contextual_item_symbol_text(
&mut self,
sym: SymbolType,
label: &str,
align: Flags
) -> bool[src]
pub fn contextual_item_symbol_text(
&mut self,
sym: SymbolType,
label: &str,
align: Flags
) -> boolpub fn contextual_close(&mut self)[src]
pub fn contextual_close(&mut self)pub fn contextual_end(&mut self)[src]
pub fn contextual_end(&mut self)pub fn tooltip(&mut self, text: String)[src]
pub fn tooltip(&mut self, text: String)pub fn tooltip_begin(&mut self, width: f32) -> bool[src]
pub fn tooltip_begin(&mut self, width: f32) -> boolpub fn tooltip_end(&mut self)[src]
pub fn tooltip_end(&mut self)pub fn convert(
&mut self,
cmds: &mut Buffer,
vertices: &mut Buffer,
elements: &mut Buffer,
config: &ConvertConfig
)[src]
pub fn convert(
&mut self,
cmds: &mut Buffer,
vertices: &mut Buffer,
elements: &mut Buffer,
config: &ConvertConfig
)pub fn input_begin(&mut self)[src]
pub fn input_begin(&mut self)pub fn input_motion(&mut self, x: i32, y: i32)[src]
pub fn input_motion(&mut self, x: i32, y: i32)pub fn input_key(&mut self, key: Key, down: bool)[src]
pub fn input_key(&mut self, key: Key, down: bool)pub fn input_scroll(&mut self, y: f32)[src]
pub fn input_scroll(&mut self, y: f32)pub fn input_char(&mut self, c: u8)[src]
pub fn input_char(&mut self, c: u8)pub fn input_glyph(&mut self, g: Glyph)[src]
pub fn input_glyph(&mut self, g: Glyph)pub fn input_unicode(&mut self, r: char)[src]
pub fn input_unicode(&mut self, r: char)pub fn input_end(&mut self)[src]
pub fn input_end(&mut self)pub fn style_default(&mut self)[src]
pub fn style_default(&mut self)pub fn style_from_table(&mut self, table: &ColorMap)[src]
pub fn style_from_table(&mut self, table: &ColorMap)pub fn style_load_cursor(&mut self, cur: StyleCursor, res: &Cursor)[src]
pub fn style_load_cursor(&mut self, cur: StyleCursor, res: &Cursor)pub fn style_load_all_cursors(&mut self, table: &mut CursorMap)[src]
pub fn style_load_all_cursors(&mut self, table: &mut CursorMap)pub fn style_set_font(&mut self, font: &UserFont)[src]
pub fn style_set_font(&mut self, font: &UserFont)pub fn style_set_cursor(&mut self, cur: StyleCursor) -> bool[src]
pub fn style_set_cursor(&mut self, cur: StyleCursor) -> boolpub fn style_show_cursor(&mut self)[src]
pub fn style_show_cursor(&mut self)pub fn style_hide_cursor(&mut self)[src]
pub fn style_hide_cursor(&mut self)pub fn style_push_font(&mut self, font: &mut UserFont) -> bool[src]
pub fn style_push_font(&mut self, font: &mut UserFont) -> boolpub fn style_push_float(&mut self, addr: &mut f32, val: f32) -> bool[src]
pub fn style_push_float(&mut self, addr: &mut f32, val: f32) -> boolpub fn style_push_vec2(&mut self, addr: &mut Vec2, val: Vec2) -> bool[src]
pub fn style_push_vec2(&mut self, addr: &mut Vec2, val: Vec2) -> boolpub fn style_push_style_item(
&mut self,
addr: &mut StyleItem,
val: StyleItem
) -> bool[src]
pub fn style_push_style_item(
&mut self,
addr: &mut StyleItem,
val: StyleItem
) -> boolpub fn style_push_flags(&mut self, addr: &mut Flags, val: Flags) -> bool[src]
pub fn style_push_flags(&mut self, addr: &mut Flags, val: Flags) -> boolpub fn style_push_color(&mut self, addr: &mut Color, val: Color) -> bool[src]
pub fn style_push_color(&mut self, addr: &mut Color, val: Color) -> boolpub fn style_pop_font(&mut self) -> bool[src]
pub fn style_pop_font(&mut self) -> boolpub fn style_pop_float(&mut self) -> bool[src]
pub fn style_pop_float(&mut self) -> boolpub fn style_pop_vec2(&mut self) -> bool[src]
pub fn style_pop_vec2(&mut self) -> boolpub fn style_pop_style_item(&mut self) -> bool[src]
pub fn style_pop_style_item(&mut self) -> boolpub fn style_pop_flags(&mut self) -> bool[src]
pub fn style_pop_flags(&mut self) -> boolpub fn style_pop_color(&mut self) -> bool[src]
pub fn style_pop_color(&mut self) -> boolpub fn widget_bounds(&mut self) -> Rect[src]
pub fn widget_bounds(&mut self) -> Rectpub fn widget_position(&mut self) -> Vec2[src]
pub fn widget_position(&mut self) -> Vec2pub fn widget_size(&mut self) -> Vec2[src]
pub fn widget_size(&mut self) -> Vec2pub fn widget_width(&mut self) -> f32[src]
pub fn widget_width(&mut self) -> f32pub fn widget_height(&mut self) -> f32[src]
pub fn widget_height(&mut self) -> f32pub fn widget_is_hovered(&mut self) -> bool[src]
pub fn widget_is_hovered(&mut self) -> boolpub fn widget_is_mouse_clicked(&mut self, b: Button) -> bool[src]
pub fn widget_is_mouse_clicked(&mut self, b: Button) -> boolpub fn widget_has_mouse_click_down(&mut self, b: Button, down: bool) -> bool[src]
pub fn widget_has_mouse_click_down(&mut self, b: Button, down: bool) -> boolpub fn widget(&self, arg1: &mut Rect) -> WidgetLayoutState[src]
pub fn widget(&self, arg1: &mut Rect) -> WidgetLayoutStatepub fn spacing(&mut self, cols: i32)[src]
pub fn spacing(&mut self, cols: i32)pub fn draw_begin(&self, buf: &Buffer) -> Option<&DrawCommand>[src]
pub fn draw_begin(&self, buf: &Buffer) -> Option<&DrawCommand>pub fn draw_next<'a>(
&self,
prev: &DrawCommand,
buf: &Buffer
) -> Option<&'a DrawCommand>[src]
pub fn draw_next<'a>(
&self,
prev: &DrawCommand,
buf: &Buffer
) -> Option<&'a DrawCommand>pub fn next_cmd<'a, 'b>(&self, arg2: &'b Command) -> Option<&'a Command>[src]
pub fn next_cmd<'a, 'b>(&self, arg2: &'b Command) -> Option<&'a Command>pub fn begin_cmd(&self) -> Option<&Command>[src]
pub fn begin_cmd(&self) -> Option<&Command>pub fn draw_command_iterator<'a>(
&'a mut self,
buf: &'a Buffer
) -> DrawCommandIterator<'a>[src]
pub fn draw_command_iterator<'a>(
&'a mut self,
buf: &'a Buffer
) -> DrawCommandIterator<'a>pub fn command_iterator(&mut self) -> CommandIterator[src]
pub fn command_iterator(&mut self) -> CommandIterator