Bump version to 0.1.1 and add font color option

This commit is contained in:
2025-02-03 14:33:32 +03:00
parent 7c2ab9654e
commit 89f83c28a7
9 changed files with 3826 additions and 8 deletions

View File

@@ -1,7 +1,9 @@
# Knob Widget
# egui_knob
Simple knob widget for egui.
![Knob Widget Screenshot](scrot.png)
## Features
- Adjustable size, font size, and stroke width.
@@ -31,7 +33,7 @@ let knob = Knob::new(&mut value, 0.0, 1.0, KnobStyle::Wiper)
.with_size(50.0)
.with_font_size(14.0)
.with_stroke_width(3.0)
.with_colors(Color32::GRAY, Color32::WHITE)
.with_colors(Color32::GRAY, Color32::WHITE, Color32::WHITE)
.with_label("Volume", LabelPosition::Top);
egui::CentralPanel::default().show(ctx, |ui| {