1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
pub mod about;
pub mod build;
pub mod camera;
pub mod debug;
pub mod editor;
pub mod menu;
pub mod plugin;
pub mod process;
pub mod signal;
pub mod spawn;
pub mod stats;
pub mod utils;
pub mod shader;
use editor::docks::asset_viewer::AssetViewerDock;
use editor::docks::build_console::BuildConsoleDock;
use editor::docks::entity_list::EntityListDock;
use editor::docks::resource::ResourceInspectorDock;
use editor::docks::viewport::ViewportDock;
pub use redback_runtime as runtime;
use crate::editor::ui::inspector::UIInspector;
use crate::editor::ui::widget_tree::UIWidgetTree;
use crate::editor::{EditorTabRegistry, dock::ConsoleDock, ui::viewport::UICanvas};
dropbear_engine::features! {
pub mod features {
const ShowComponentTypeIDInEditor = 0b00000001
}
}
pub fn register_docks(registry: &mut EditorTabRegistry) {
registry.register::<ViewportDock>();
registry.register::<EntityListDock>();
registry.register::<AssetViewerDock>();
registry.register::<ResourceInspectorDock>();
registry.register::<BuildConsoleDock>();
registry.register::<ConsoleDock>();
registry.register::<UICanvas>();
registry.register::<UIInspector>();
registry.register::<UIWidgetTree>();
}