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