Module egui::memory

source ·

Structs

  • Keeps track of Areas, which are free-floating Uis. These Areas can be in any Order.
  • Focus 🔒
    Keeps tracks of what widget has keyboard focus
  • Say there is a button in a scroll area. If the user clicks the button, the button should click. If the user drags the button we should scroll the scroll area. So what we do is that when the mouse is pressed we register both the button and the scroll area (as click_id/drag_id). If the user releases the button without moving the mouse we register it as a click on click_id. If the cursor moves too much we clear the click_id and start passing move events to drag_id.
  • The data that egui persists between frames.
  • Some global options that you can read and write.