Expand description
This module defines the building blocks for building the layout of the editor.
The current implementation builds an egui_dock
TabViewer
and delegates the specific layout
to that. We contain the different panels and how to construct them in this module.
Modulesยง
- assets ๐
- Contains the rendering logic for the
crate::layout::EditorPanels::Assets
pane. - layers ๐
- Contains the rendering logic for the
crate::layout::EditorPanels::Layers
pane. - levels ๐
- Contains the rendering logic for the
crate::layout::EditorPanels::Levels
pane. - settings ๐
- Renders the settings tab in the editor layout.
- status_
bar ๐ - Renders the status bar at the bottom of the screen.
- toolbar ๐
- Renders the toolbar at the top of the screen.
Structsยง
- Editor
Layout - Contains the data structures that are available to the [
TabViewer
] when rendering the editor layout. SeeEditorLayout::ui
in particular.
Enumsยง
- Editor
Panels - The different panels that can be shown in the editor UI.
If a new panel needs to be available for the user in the UI it needs to be added here,
if it needs to be shown by default, make sure to add it in
UiState::default
as well.
Functionsยง
- render_
editor_ layout - Handles rendering the
EditorLayout
in theWorld
.