2026-04-25 16:46:01 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
2026-04-25 18:20:17 +08:00
|
|
|
#include "Windowing/Frame/EditorWindowTransferRequests.h"
|
2026-04-25 16:46:01 +08:00
|
|
|
|
|
|
|
|
namespace XCEngine::UI::Editor::App {
|
|
|
|
|
|
|
|
|
|
class EditorContext;
|
|
|
|
|
class EditorWindow;
|
|
|
|
|
|
|
|
|
|
class EditorWindowFrameDriver final {
|
|
|
|
|
public:
|
|
|
|
|
static EditorWindowFrameTransferRequests DriveFrame(
|
|
|
|
|
EditorWindow& window,
|
|
|
|
|
EditorContext& editorContext,
|
|
|
|
|
bool globalTabDragActive);
|
|
|
|
|
static EditorWindowFrameTransferRequests DriveImmediateFrame(
|
|
|
|
|
EditorWindow& window,
|
|
|
|
|
EditorContext& editorContext,
|
|
|
|
|
bool globalTabDragActive);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
static EditorWindowFrameTransferRequests DriveFrameInternal(
|
|
|
|
|
EditorWindow& window,
|
|
|
|
|
EditorContext& editorContext,
|
|
|
|
|
bool globalTabDragActive,
|
|
|
|
|
bool requestSkipNextSteadyStateFrame);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace XCEngine::UI::Editor::App
|