1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00
Files
egui/crates/egui
Lucas Meurer 095edcdce2 Mark the widgets a DragValue is built from with DragValue::CLASS
A drag value is not a widget of its own: it shows a `Button` while you drag
it and a `TextEdit` while you type into it. A `StyleProvider` asked to style
either had no way to tell it apart from a stand-alone one, so it could not
style the two states as one control.

Set `egui::drag_value` on the drag value itself; it already forwards its
classes to both.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-01 11:39:17 +02:00
..

GUI implementation

This is the core library crate egui. It is fully platform independent without any backend. You give the egui library input each frame (mouse pos etc), and it outputs a triangle mesh for you to paint.