Crate ui

Source
Expand description

Β§DungeonRS ui

Handles building the user interface that users can interact with. Currently, this implementation uses the excellent egui crate, but this might change in the future to bevy_ui once it matures enough.

ModulesΒ§

camera πŸ”’
Contains data structures and configuration related to the UI camera(s).
dialogs πŸ”’
Contains the trait for defining dialogs, as well as the resource that tracks all β€œopen” dialogs currently active in the UI.
layout πŸ”’
This module defines the building blocks for building the layout of the editor.
notifications πŸ”’
A thin wrapper around the egui-notify crate to integrate it into Bevy’s ECS.
plugin πŸ”’
Defines the UIPlugin which inserts all UI related functionality into the bevy App.
state πŸ”’
We need to share various bits and bops throughout the different UI layers, we define a singleton resource that contains this code.

StructsΒ§

UIPlugin
A Bevy plugin that adds UI to the app it’s added to.