2021-01-19 15:30:00 +01:00
|
|
|
#include "InspectorView.h"
|
2022-11-17 16:47:42 +01:00
|
|
|
#include "Actor/Actor.h"
|
2022-04-15 11:19:30 +02:00
|
|
|
#include "Asset/AssetRegistry.h"
|
2023-02-01 22:13:04 +01:00
|
|
|
#include "Asset/FontLoader.h"
|
2024-06-09 12:20:04 +02:00
|
|
|
#include "Graphics/Graphics.h"
|
2022-04-18 18:08:38 +02:00
|
|
|
#include "UI/System.h"
|
2023-02-24 22:09:07 +01:00
|
|
|
#include "Window/Window.h"
|
2021-09-23 10:10:39 +02:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
|
2021-01-19 15:30:00 +01:00
|
|
|
using namespace Seele;
|
2023-02-24 22:09:07 +01:00
|
|
|
using namespace Seele::Editor;
|
2021-01-19 15:30:00 +01:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
InspectorView::InspectorView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo& createInfo)
|
2023-02-24 22:09:07 +01:00
|
|
|
: View(graphics, std::move(window), std::move(createInfo), "InspectorView")
|
2024-06-09 12:20:04 +02:00
|
|
|
//, renderGraph(RenderGraphBuilder::build(
|
|
|
|
|
// UIPass(graphics),
|
|
|
|
|
// TextPass(graphics)
|
|
|
|
|
//))
|
|
|
|
|
,
|
|
|
|
|
uiSystem(new UI::System()) {
|
|
|
|
|
// renderGraph.updateViewport(viewport);
|
2022-11-17 16:47:42 +01:00
|
|
|
uiSystem->updateViewport(viewport);
|
2021-01-19 15:30:00 +01:00
|
|
|
}
|
|
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
InspectorView::~InspectorView() {}
|
|
|
|
|
|
|
|
|
|
void InspectorView::beginUpdate() {
|
|
|
|
|
// co_return;
|
2021-01-19 15:30:00 +01:00
|
|
|
}
|
|
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
void InspectorView::update() {
|
|
|
|
|
// co_return;
|
2021-01-19 15:30:00 +01:00
|
|
|
}
|
|
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
void InspectorView::commitUpdate() {}
|
2021-01-19 15:30:00 +01:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
void InspectorView::prepareRender() {}
|
2021-10-01 19:55:04 +02:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
void InspectorView::render() {}
|
2021-10-01 19:55:04 +02:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
void InspectorView::keyCallback(KeyCode, InputAction, KeyModifier) {}
|
2021-09-23 10:10:39 +02:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
void InspectorView::mouseMoveCallback(double, double) {}
|
2021-09-23 10:10:39 +02:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
void InspectorView::mouseButtonCallback(MouseButton, InputAction, KeyModifier) {}
|
2021-09-23 10:10:39 +02:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
void InspectorView::scrollCallback(double, double) {}
|
2021-09-23 10:10:39 +02:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
void InspectorView::fileCallback(int, const char**) {}
|