Files
XCEngine/editor/app/Platform/Win32/Runtime/EditorWindowFrameDriver.h

30 lines
798 B
C
Raw Normal View History

2026-04-25 16:46:01 +08:00
#pragma once
#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