Removes ImGuiLYCurveEditor from Gems/ImGui
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AzCore/EBus/EBus.h>
|
||||
|
||||
namespace ImGui
|
||||
{
|
||||
/// Bus for sending events and getting state from the ImGui manager.
|
||||
class IImGuiCurveEditorRequests : public AZ::EBusTraits
|
||||
{
|
||||
public:
|
||||
static const char* GetUniqueName() { return "IImGuiCurveEditorRequests"; }
|
||||
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple;
|
||||
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single;
|
||||
using Bus = AZ::EBus<IImGuiCurveEditorRequests>;
|
||||
};
|
||||
|
||||
using ImGuiCurveEditorRequestBus = AZ::EBus<IImGuiCurveEditorRequests>;
|
||||
|
||||
} // namespace ImGui
|
||||
@@ -1,24 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "ImGuiLYCurveEditor.h"
|
||||
|
||||
#ifdef IMGUI_ENABLED
|
||||
|
||||
namespace ImGui
|
||||
{
|
||||
ImGuiCurveEditor::~ImGuiCurveEditor()
|
||||
{
|
||||
}
|
||||
|
||||
void ImGuiCurveEditor::CreateCurveEditor(const char * label, float * points, int num_points, int max_points)
|
||||
{
|
||||
}
|
||||
} // namespace ImGui
|
||||
|
||||
#endif
|
||||
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "ImGuiManager.h"
|
||||
|
||||
#ifdef IMGUI_ENABLED
|
||||
#include "ImGuiLYCurveEditorBus.h"
|
||||
#include <AzCore/std/containers/map.h>
|
||||
#include <AzCore/Serialization/SerializeContext.h>
|
||||
|
||||
namespace ImGui
|
||||
{
|
||||
class ImGuiCurveEditor
|
||||
: public ImGuiCurveEditorRequestBus::Handler
|
||||
{
|
||||
ImGuiCurveEditor();
|
||||
~ImGuiCurveEditor();
|
||||
|
||||
void CreateCurveEditor(const char* label, float* points, int num_points, int max_points);
|
||||
|
||||
};
|
||||
}
|
||||
#endif // IMGUI_ENABLED
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
set(FILES
|
||||
Include/ImGuiBus.h
|
||||
Include/ImGuiLYCurveEditorBus.h
|
||||
Source/ImGuiGem.cpp
|
||||
Source/ImGuiColorDefines.h
|
||||
Source/ImGuiManager.h
|
||||
@@ -17,6 +16,4 @@ set(FILES
|
||||
Source/LYCommonMenu/ImGuiLYCommonMenu.cpp
|
||||
Source/LYCommonMenu/ImGuiLYEntityOutliner.h
|
||||
Source/LYCommonMenu/ImGuiLYEntityOutliner.cpp
|
||||
Source/LYCommonMenu/ImGuiLYCurveEditor.h
|
||||
Source/LYCommonMenu/ImGuiLYCurveEditor.cpp
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user