Crates.io | egui_double_slider |
lib.rs | egui_double_slider |
version | |
source | src |
created_at | 2024-11-01 17:00:47.695085 |
updated_at | 2024-12-05 18:22:47.975207 |
description | A double slider widget for egui. |
homepage | https://github.com/hacknus/egui_double_slider |
repository | https://github.com/hacknus/egui_double_slider |
max_upload_size | |
id | 1432061 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A double slider widget for the GUI rust library egui.
Add double slider along with egui to your cargo.toml
.
egui_double_slider = "0.3.2"
egui = "0.29"
Example code:
use egui_double_slider::DoubleSlider;
use egui;
fn main() {
egui::__run_test_ui(|ui| {
ui.add(
DoubleSlider::new(
&mut self.slider_val_low_1,
&mut self.slider_val_high_1,
10.0..=300.0,
)
.width(width)
.separation_distance(10.0),
);
});
}
TODO:
f64