mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Moves global classnames to e.g. `egui::class::ROOT`. Widget specific classes live on the widgets struct. Adds some more classes for our buttons styling options (`CLASS_SMALL` etc), so that custom `StyleProvider`s can choose to implement them differently or ignore them altogether. Also removes some styleproviders that were partly or completely unused (e.g. basestyle / labelstyle). We can add them back once we actually implement styling for those. --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
egui and eframe examples
All the examples in this folder uses eframe to set up a window for egui. Some examples are specific to eframe, but many are applicable to any egui integration.
There are a lot more examples at https://www.egui.rs, and it has links to the source code of each example.
Also check out the official docs at https://docs.rs/egui and https://docs.rs/eframe.
Note that all the examples on main are for the latest main version of egui.
If you want to look for examples for a specific version of egui, go to that tag, e.g. https://github.com/emilk/egui/tree/latest/examples.