[−][src]Crate egui
Re-exports
pub use containers::*; |
pub use math::*; |
pub use paint::color; |
pub use paint::Color; |
pub use paint::TextStyle; |
pub use widgets::*; |
Modules
containers | |
examples | |
math | |
paint | |
widgets |
Macros
label | Usage: label!("Foo: {}", bar) |
Structs
Context | Contains the input, style and output of all GUI commands.
|
GraphicLayers | TODO: improve this |
GuiResponse | |
Id | |
InputState | What egui maintains |
InteractInfo | |
Layer | An ideintifer for a paint layer.
Also acts as an identifier for |
Layout | |
Memory | |
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 | |
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 | |
Texture | |
Ui | Represents a region of the screen with a type of layout (horizontal or vertical). |
Enums
Align | |
CursorIcon | |
Direction | |
Event | |
Key | |
Order | Different layer categories |
Functions
align_rect | Used e.g. to anchor a piece of text to a part of the rectangle. Give a position within the rect, specified by the aligns |