24 lines
650 B
C
24 lines
650 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <XCEditor/Docking/UIEditorDockHost.h>
|
||
|
|
|
||
|
|
#include <XCEngine/UI/Types.h>
|
||
|
|
|
||
|
|
#include <cstddef>
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
namespace XCEngine::UI::Editor::App::Internal {
|
||
|
|
|
||
|
|
struct EditorWindowTabDragDropTarget {
|
||
|
|
bool valid = false;
|
||
|
|
std::string nodeId = {};
|
||
|
|
UIEditorWorkspaceDockPlacement placement = UIEditorWorkspaceDockPlacement::Center;
|
||
|
|
std::size_t insertionIndex = Widgets::UIEditorTabStripInvalidIndex;
|
||
|
|
};
|
||
|
|
|
||
|
|
EditorWindowTabDragDropTarget ResolveEditorWindowTabDragDropTarget(
|
||
|
|
const Widgets::UIEditorDockHostLayout& layout,
|
||
|
|
const ::XCEngine::UI::UIPoint& point);
|
||
|
|
|
||
|
|
} // namespace XCEngine::UI::Editor::App::Internal
|