1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#![warn(
missing_debug_implementations,
missing_docs,
rust_2018_idioms,
rust_2018_compatibility
)]
#![warn(clippy::all)]
#![allow(clippy::new_without_default)]
pub use self::{
blink::BlinkSystem,
bundle::UiBundle,
button::{
UiButton, UiButtonAction, UiButtonActionRetrigger, UiButtonActionRetriggerSystem,
UiButtonActionRetriggerSystemDesc, UiButtonActionType, UiButtonBuilder,
UiButtonBuilderResources, UiButtonSystem, UiButtonSystemDesc,
},
event::{targeted, Interactable, UiEvent, UiEventType, UiMouseSystem},
event_retrigger::{EventReceiver, EventRetriggerSystem, EventRetriggerSystemDesc},
font::{
default::get_default_font,
systemfont::{default_system_font, get_all_font_handles, list_system_font_families},
},
format::{FontAsset, FontHandle, TtfFormat},
glyphs::{UiGlyphsSystem, UiGlyphsSystemDesc},
image::UiImage,
label::{UiLabel, UiLabelBuilder, UiLabelBuilderResources},
layout::{Anchor, ScaleMode, Stretch, UiTransformSystem, UiTransformSystemDesc},
pass::{DrawUi, DrawUiDesc, RenderUi},
prefab::{
NoCustomUi, ToNativeWidget, UiButtonData, UiCreator, UiFormat, UiImagePrefab, UiLoader,
UiLoaderSystem, UiLoaderSystemDesc, UiPrefab, UiTextData, UiTransformData, UiWidget,
},
resize::{ResizeSystem, ResizeSystemDesc, UiResize},
selection::{
Selectable, Selected, SelectionKeyboardSystem, SelectionKeyboardSystemDesc,
SelectionMouseSystem, SelectionMouseSystemDesc,
},
selection_order_cache::{CacheSelectionOrderSystem, CachedSelectionOrder},
sound::{
UiPlaySoundAction, UiSoundRetrigger, UiSoundRetriggerSystem, UiSoundRetriggerSystemDesc,
UiSoundSystem, UiSoundSystemDesc,
},
text::{LineMode, TextEditing, TextEditingMouseSystem, TextEditingMouseSystemDesc, UiText},
text_editing::{TextEditingInputSystem, TextEditingInputSystemDesc},
transform::{UiFinder, UiTransform},
widgets::{Widget, WidgetId, Widgets},
};
pub(crate) use amethyst_core::ecs::prelude::Entity;
pub(crate) use paste;
mod blink;
mod bundle;
mod button;
mod event;
mod event_retrigger;
mod font;
mod format;
mod glyphs;
mod image;
mod label;
mod layout;
mod pass;
mod prefab;
mod resize;
mod selection;
mod selection_order_cache;
mod sound;
mod text;
mod text_editing;
mod transform;
mod widgets;