GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git
src/widget/input/mod.rs (1.2K)
1 pub mod button;
2 pub mod checkbox;
3 pub mod slider;
4 pub mod slider2d;
5 pub mod spinbox;
6 pub mod color_selector;
7 pub mod dropdown;
8 pub mod text_box;
9 pub mod trackpad;
10 pub mod font_selector;
11 pub mod button_strip;
12 pub mod keybind_recorder;
13 pub mod ramp;
14 pub mod bevel_preview;
15 pub mod ramp_preview;
16
17 pub use button::{Button, ButtonKind, PageButton};
18 pub use checkbox::{Checkbox, Toggle};
19 pub use slider::{Slider, RangeSlider, ActiveThumb};
20 pub use slider2d::Slider2D;
21 pub use spinbox::Spinbox;
22 pub use color_selector::ColorSelector;
23 pub use dropdown::Dropdown;
24 pub use text_box::{TextBox, get_font_db};
25 pub use trackpad::{Trackpad, Finger};
26 pub use font_selector::FontSelector;
27 pub use button_strip::ButtonStrip;
28 pub use keybind_recorder::KeybindRecorder;
29 pub use ramp::{Ramp, RampKey, ColorRamp, ColorRampKey, format_ramp_spec, parse_ramp_spec};
30 pub use bevel_preview::{BevelPreview, bevel_ease, parse_bevel_knobs};
31 pub use ramp_preview::RampPreview;
32
33 // `BREADCRUMB_PADDING` / `SEGMENT_GAP` lived here and had exactly one consumer
34 // between them. The breadcrumb owns its own spacing now (`Breadcrumb::SEG_INSET`,
35 // `SEG_GAP`), where it sits next to the geometry that has to agree with it.