- mu_begin
void mu_begin(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_begin_panel
mu_Container* mu_begin_panel(mu_Context* ctx, const(char)* name)
- mu_begin_panel_ex
mu_Container* mu_begin_panel_ex(mu_Context* ctx, const(char)* name, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_begin_popup
int mu_begin_popup(mu_Context* ctx, const(char)* name)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_begin_root_container
void mu_begin_root_container(mu_Context* ctx, mu_Container* cnt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_begin_treenode
int mu_begin_treenode(mu_Context* ctx, const(char)* label)
- mu_begin_treenode_ex
int mu_begin_treenode_ex(mu_Context* ctx, const(char)* label, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_begin_window
int mu_begin_window(mu_Context* ctx, const(char)* title, mu_Rect rect)
- mu_begin_window_ex
int mu_begin_window_ex(mu_Context* ctx, const(char)* title, mu_Rect rect, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_bring_to_front
void mu_bring_to_front(mu_Context* ctx, mu_Container* cnt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_button
int mu_button(mu_Context* ctx, const(char)* label)
- mu_button_ex
int mu_button_ex(mu_Context* ctx, const(char)* label, int icon, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_check_clip
int mu_check_clip(mu_Context* ctx, mu_Rect r)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_checkbox
int mu_checkbox(mu_Context* ctx, const(char)* label, int* state)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_clamp
auto mu_clamp(X x, A a, B b)
Returns a clamped value with a given minimum and maximum.
- mu_command_range
mu_Command[] mu_command_range(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_compare_zindex
int mu_compare_zindex(void* a, void* b)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_draw_box
void mu_draw_box(mu_Context* ctx, mu_Rect rect, mu_Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_draw_control_frame
void mu_draw_control_frame(mu_Context* ctx, mu_Id id, mu_Rect rect, int colorid, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_draw_control_text
void mu_draw_control_text(mu_Context* ctx, const(char)* str, mu_Rect rect, int colorid, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_draw_frame
void mu_draw_frame(mu_Context* ctx, mu_Rect rect, int colorid)
- mu_draw_icon
void mu_draw_icon(mu_Context* ctx, int id, mu_Rect rect, mu_Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_draw_rect
void mu_draw_rect(mu_Context* ctx, mu_Rect rect, mu_Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_draw_text
void mu_draw_text(mu_Context* ctx, mu_Font font, const(char)* str, int len, mu_Vec2 pos, mu_Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_end
void mu_end(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_end_panel
void mu_end_panel(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_end_popup
void mu_end_popup(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_end_root_container
void mu_end_root_container(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_end_treenode
void mu_end_treenode(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_end_window
void mu_end_window(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_expand_rect
mu_Rect mu_expand_rect(mu_Rect rect, int n)
Expand a rectangle from its center by n pixels.
- mu_get_clip_rect
mu_Rect mu_get_clip_rect(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_get_container
mu_Container* mu_get_container(mu_Context* ctx, const(char)* name)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_get_container2
mu_Container* mu_get_container2(mu_Context* ctx, mu_Id id, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_get_current_container
mu_Container* mu_get_current_container(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_get_id
mu_Id mu_get_id(mu_Context* ctx, const(void)* data, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_get_layout
mu_Layout* mu_get_layout(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_header
int mu_header(mu_Context* ctx, const(char)* label)
- mu_header2
int mu_header2(mu_Context* ctx, const(char)* label, int istreenode, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_header_ex
int mu_header_ex(mu_Context* ctx, const(char)* label, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_in_hover_root
int mu_in_hover_root(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_init
void mu_init(mu_Context* ctx, mu_Style* style)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_input_keydown
void mu_input_keydown(mu_Context* ctx, int key)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_input_keyup
void mu_input_keyup(mu_Context* ctx, int key)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_input_mousedown
void mu_input_mousedown(mu_Context* ctx, int x, int y, int btn)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_input_mousemove
void mu_input_mousemove(mu_Context* ctx, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_input_mouseup
void mu_input_mouseup(mu_Context* ctx, int x, int y, int btn)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_input_scroll
void mu_input_scroll(mu_Context* ctx, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_input_text
void mu_input_text(mu_Context* ctx, const(char)* text)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_intersect_rects
mu_Rect mu_intersect_rects(mu_Rect r1, mu_Rect r2)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_label
void mu_label(mu_Context* ctx, const(char)* text)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_layout_begin_column
void mu_layout_begin_column(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_layout_end_column
void mu_layout_end_column(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_layout_height
void mu_layout_height(mu_Context* ctx, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_layout_next
mu_Rect mu_layout_next(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_layout_row
void mu_layout_row(mu_Context* ctx, int items, const(int)* widths, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_layout_set_next
void mu_layout_set_next(mu_Context* ctx, mu_Rect r, int relative)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_layout_width
void mu_layout_width(mu_Context* ctx, int width)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_max
auto mu_max(A a, B b)
- mu_min
auto mu_min(A a, B b)
- mu_mouse_over
int mu_mouse_over(mu_Context* ctx, mu_Rect rect)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_next_command
deprecated int mu_next_command(mu_Context* ctx, mu_Command** cmd)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_number
int mu_number(mu_Context* ctx, mu_Real* value, mu_Real step)
- mu_number_ex
int mu_number_ex(mu_Context* ctx, mu_Real* value, mu_Real step, const(char)* fmt, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_number_textbox
int mu_number_textbox(mu_Context* ctx, mu_Real* value, mu_Rect r, mu_Id id)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_open_popup
void mu_open_popup(mu_Context* ctx, const(char)* name)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_pool_get
int mu_pool_get(mu_Context* ctx, mu_PoolItem* items, int len, mu_Id id)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_pool_init
int mu_pool_init(mu_Context* ctx, mu_PoolItem* items, int len, mu_Id id)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_pool_update
void mu_pool_update(mu_Context* ctx, mu_PoolItem* items, int idx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_pop_clip_rect
void mu_pop_clip_rect(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_pop_container
void mu_pop_container(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_pop_id
void mu_pop_id(mu_Context* ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_push_clip_rect
void mu_push_clip_rect(mu_Context* ctx, mu_Rect rect)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_push_command
mu_Command* mu_push_command(mu_Context* ctx, int type)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_push_container_body
void mu_push_container_body(mu_Context* ctx, mu_Container* cnt, mu_Rect body_, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_push_id
void mu_push_id(mu_Context* ctx, void* data, int size)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_push_jump
int mu_push_jump(mu_Context* ctx, int idx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_push_layout
void mu_push_layout(mu_Context* ctx, mu_Rect body_, mu_Vec2 scroll)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_scrollbars
void mu_scrollbars(mu_Context* ctx, mu_Container* cnt, mu_Rect* body_)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_set_clip
void mu_set_clip(mu_Context* ctx, mu_Rect rect)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_set_focus
void mu_set_focus(mu_Context* ctx, mu_Id id)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_slider
int mu_slider(mu_Context* ctx, mu_Real* value, mu_Real low, mu_Real high)
- mu_slider_ex
int mu_slider_ex(mu_Context* ctx, mu_Real* value, mu_Real low, mu_Real high, mu_Real step, const(char)* fmt, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_text
void mu_text(mu_Context* ctx, const(char)* text)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_textbox
int mu_textbox(mu_Context* ctx, char* buf, int bufsz)
Creates a editable textbox.
- mu_textbox_ex
int mu_textbox_ex(mu_Context* ctx, char* buf, int bufsz, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_textbox_raw
int mu_textbox_raw(mu_Context* ctx, char* buf, int bufsz, mu_Id id, mu_Rect r, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- mu_update_control
void mu_update_control(mu_Context* ctx, mu_Id id, mu_Rect rect, int opt)
Undocumented in source. Be warned that the author may not have intended to support it.
- rect_overlaps_vec2
int rect_overlaps_vec2(mu_Rect r, mu_Vec2 p)
Undocumented in source. Be warned that the author may not have intended to support it.
Immediate-mode UI based on rxi/microui.