Module egui::style

source ยท
Expand description

egui theme (spacing, colors, etc).

Structsยง

  • Options for help debug egui by adding extra visualization
  • How and when interaction happens.
  • How to format numbers in e.g. a crate::DragValue.
  • Scroll animation configuration, used when programmatically scrolling somewhere (e.g. with [crate::Ui::scroll_to_cursor]) The animation duration is calculated based on the distance to be scrolled via [ScrollAnimation::points_per_second] and can be clamped to a min / max duration via [ScrollAnimation::duration].
  • Controls the spacing and visuals of a crate::ScrollArea.
  • Selected text, selected elements etc
  • Controls the sizes and distances between widgets.
  • Specifies the look and feel of egui.
  • Look and feel of the text cursor.
  • Controls the visual style (colors etc) of egui.
  • bg = background, fg = foreground.
  • The visuals of widgets for different states of interaction.

Enumsยง

Functionsยง