[−][src]Crate egui
Re-exports
pub use containers::*; |
pub use math::*; |
pub use paint::color; |
pub use paint::Color; |
pub use paint::PaintJobs; |
pub use paint::TextStyle; |
pub use widgets::*; |
Modules
app | Traits and helper for writing Egui apps. |
containers | Containers are pieces of the UI which wraps other pieces of UI. |
demos | |
math | Vectors, positions, rectangles etc. |
menu | Menu bar functionality. |
paint | Graphics module. |
widgets | Widgets are pieces of GUI such as labels, buttons, sliders etc. |
Macros
label | Shortcut for creating a |
Structs
Context | Contains the input, style and output of all GUI commands.
|
DemoApp | |
GraphicLayers | |
GuiResponse | The result of adding a widget to an |
Id | Egui tracks widgets frame-to-frame using |
InputState | What egui maintains |
InteractInfo | The result of an interaction. |
Layer | An identifier for a paint layer.
Also acts as an identifier for |
Layout | The layout of a |
Memory | The data that Egui persists between frames. |
MouseInput | What egui maintains |
MovementTracker | This struct tracks recent values of some time series. This can be used for things like smoothed averages (for e.g. FPS) or for smoothed velocity (e.g. mouse pointer speed). All times are in seconds. |
Output | What Egui emits each frame. The backend should use this. |
PaintCmdIdx | A unique identifier of a specific |
PaintList | Each |
Painter | Helper to paint shapes and text to a specific region on a specific layer. |
RawInput | What the integration gives to the gui. All coordinates in egui is in point/logical coordinates. |
Sense | What sort of interaction is a widget sensitive to? |
Style | Specifies the look and feel of a |
Texture | An 8-bit texture containing font data. |
Ui | Represents a region of the screen with a type of layout (horizontal or vertical). |
Enums
Align | left/center/right or top/center/bottom alignment for e.g. anchors and |
CursorIcon | |
Direction |
|
Event | An input event. Only covers events used by Egui. |
Key | Keyboard key name. Only covers keys used by Egui. |
Order | Different layer categories |