editor: remove shared panel services bag
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
|
||||
namespace XCEngine::UI::Editor::App {
|
||||
|
||||
class EditorSceneRuntime;
|
||||
|
||||
class AddComponentPanel final : public EditorUtilityWindowPanel {
|
||||
public:
|
||||
std::string_view GetDrawListId() const override {
|
||||
@@ -16,7 +18,7 @@ public:
|
||||
}
|
||||
void ResetInteractionState() override;
|
||||
void Update(
|
||||
EditorPanelServices& services,
|
||||
EditorFrameServices& frameServices,
|
||||
const EditorUtilityWindowHostContext& hostContext,
|
||||
const std::vector<::XCEngine::UI::UIInputEvent>& inputEvents) override;
|
||||
void Append(::XCEngine::UI::UIDrawList& drawList) const override;
|
||||
@@ -32,7 +34,7 @@ private:
|
||||
|
||||
void ResetPanelState();
|
||||
void RebuildEntries(const EditorSceneObjectSnapshot* gameObject);
|
||||
bool TryActivateEntry(EditorPanelServices& services, std::size_t entryIndex);
|
||||
bool TryActivateEntry(EditorSceneRuntime& sceneRuntime, std::size_t entryIndex);
|
||||
std::size_t HitTestEntry(const ::XCEngine::UI::UIPoint& point) const;
|
||||
|
||||
bool m_visible = false;
|
||||
|
||||
Reference in New Issue
Block a user