Split camera frame render-graph stage recording helpers
This commit is contained in:
27
new_editor/app/Features/Console/ConsolePanel.h
Normal file
27
new_editor/app/Features/Console/ConsolePanel.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include "Core/ProductEditorSession.h"
|
||||
|
||||
#include <XCEditor/Shell/UIEditorPanelContentHost.h>
|
||||
|
||||
#include <XCEngine/UI/DrawData.h>
|
||||
|
||||
namespace XCEngine::UI::Editor::App {
|
||||
|
||||
class ProductConsolePanel {
|
||||
public:
|
||||
void Update(
|
||||
const ProductEditorSession& session,
|
||||
const UIEditorPanelContentHostFrame& contentHostFrame);
|
||||
void Append(::XCEngine::UI::UIDrawList& drawList) const;
|
||||
|
||||
private:
|
||||
const UIEditorPanelContentHostPanelState* FindMountedConsolePanel(
|
||||
const UIEditorPanelContentHostFrame& contentHostFrame) const;
|
||||
|
||||
bool m_visible = false;
|
||||
::XCEngine::UI::UIRect m_bounds = {};
|
||||
const std::vector<ProductEditorConsoleEntry>* m_entries = nullptr;
|
||||
};
|
||||
|
||||
} // namespace XCEngine::UI::Editor::App
|
||||
Reference in New Issue
Block a user