2026-04-22 14:37:25 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "Platform/Win32/EditorWindowTransferRequests.h"
|
|
|
|
|
|
|
|
|
|
namespace XCEngine::UI::Editor::App {
|
|
|
|
|
|
|
|
|
|
class EditorContext;
|
|
|
|
|
class EditorWindow;
|
|
|
|
|
|
|
|
|
|
class EditorWindowFrameDriver final {
|
|
|
|
|
public:
|
|
|
|
|
static EditorWindowFrameTransferRequests DriveFrame(
|
|
|
|
|
EditorWindow& window,
|
|
|
|
|
EditorContext& editorContext,
|
|
|
|
|
bool globalTabDragActive);
|
2026-04-22 21:08:36 +08:00
|
|
|
static EditorWindowFrameTransferRequests DriveImmediateFrame(
|
|
|
|
|
EditorWindow& window,
|
|
|
|
|
EditorContext& editorContext,
|
|
|
|
|
bool globalTabDragActive);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
static EditorWindowFrameTransferRequests DriveFrameInternal(
|
|
|
|
|
EditorWindow& window,
|
|
|
|
|
EditorContext& editorContext,
|
|
|
|
|
bool globalTabDragActive,
|
|
|
|
|
bool requestSkipNextSteadyStateFrame);
|
2026-04-22 14:37:25 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace XCEngine::UI::Editor::App
|