Move remaining two LyShine headers to the gem

Signed-off-by: abrmich <abrmich@amazon.com>
This commit is contained in:
abrmich
2022-01-18 16:13:28 -08:00
parent 08d4ddeb8a
commit c262696056
8 changed files with 4 additions and 14 deletions
-5
View File
@@ -29,7 +29,6 @@
#include <AzCore/std/algorithm.h>
#include <AzCore/Time/ITime.h>
#include <LyShine/Bus/UiCursorBus.h>
//#define DEFENCE_CVAR_HASH_LOGGING
// s should point to a buffer at least 65 chars long
@@ -749,8 +748,6 @@ void CXConsole::ShowConsole(bool show, const int iRequestScrollMax)
if (show && !m_bConsoleActive)
{
UiCursorBus::Broadcast(&UiCursorBus::Events::IncrementVisibleCounter);
AzFramework::InputSystemCursorRequestBus::EventResult(m_previousSystemCursorState,
AzFramework::InputDeviceMouse::Id,
&AzFramework::InputSystemCursorRequests::GetSystemCursorState);
@@ -760,8 +757,6 @@ void CXConsole::ShowConsole(bool show, const int iRequestScrollMax)
}
else if (!show && m_bConsoleActive)
{
UiCursorBus::Broadcast(&UiCursorBus::Events::DecrementVisibleCounter);
AzFramework::InputSystemCursorRequestBus::Event(AzFramework::InputDeviceMouse::Id,
&AzFramework::InputSystemCursorRequests::SetSystemCursorState,
m_previousSystemCursorState);