Crate rg3d_ui[][src]

Expand description

Extendable, retained mode, graphics API agnostic UI library.

See examples here - https://github.com/mrDIMAS/rusty-shooter/blob/master/src/menu.rs

Re-exports

pub use rg3d_core as core;

Modules

border
brush
button
canvas
check_box
color
decorator
dock

Docking manager allows you to dock windows and hold them in-place.

draw
dropdown_list

Drop-down list. This is control which shows currently selected item and provides drop-down list to select its current item. It is build using composition with standard list view.

expander
file_browser

File browser is a tree view over file system. It allows to select file or folder.

formatted_text
grid
image
list_view
menu
message

Message and events module contains all possible widget messages and OS events.

messagebox
node
numeric
popup
progress_bar
scroll_bar
scroll_panel
scroll_viewer
stack_panel
tab_control
text
text_box
tree
ttf
utils
vec
vector_image
widget
window
wrap_panel

Macros

define_widget_deref

Structs

BuildContext
DEFAULT_FONT
DragContext
MouseState
NodeHandleMapping
RestrictionEntry
Thickness
UserInterface

Enums

HorizontalAlignment
Orientation
VerticalAlignment

Constants

BRUSH_BRIGHT
BRUSH_BRIGHT_BLUE
BRUSH_DARK
BRUSH_DARKER
BRUSH_DARKEST
BRUSH_FOREGROUND
BRUSH_LIGHT
BRUSH_LIGHTER
BRUSH_LIGHTEST
BRUSH_PRIMARY
BRUSH_TEXT
COLOR_BRIGHT
COLOR_BRIGHT_BLUE
COLOR_DARK
COLOR_DARKER
COLOR_DARKEST
COLOR_FOREGROUND
COLOR_LIGHT
COLOR_LIGHTER
COLOR_LIGHTEST
COLOR_PRIMARY
COLOR_TEXT

Traits

Control

Trait for all UI controls in library.