关键节点
This commit is contained in:
24
editor/app/Features/Console/ConsolePanel.h
Normal file
24
editor/app/Features/Console/ConsolePanel.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "State/EditorSession.h"
|
||||
|
||||
#include <XCEditor/Panels/UIEditorHostedPanelDispatch.h>
|
||||
|
||||
#include <XCEngine/UI/DrawData.h>
|
||||
|
||||
namespace XCEngine::UI::Editor::App {
|
||||
|
||||
class ConsolePanel {
|
||||
public:
|
||||
void Update(
|
||||
const EditorSession& session,
|
||||
const UIEditorHostedPanelDispatchEntry& dispatchEntry);
|
||||
void Append(::XCEngine::UI::UIDrawList& drawList) const;
|
||||
|
||||
bool m_visible = false;
|
||||
::XCEngine::UI::UIRect m_bounds = {};
|
||||
const std::vector<EditorConsoleEntry>* m_entries = nullptr;
|
||||
};
|
||||
|
||||
} // namespace XCEngine::UI::Editor::App
|
||||
|
||||
Reference in New Issue
Block a user