Update Console.cpp (#117)
* Update Console.cpp Deleting a semicolon * Update ButtonWidget.cpp Removing empty fuction * Update ButtonWidget.hpp Removing unnecessary variable
This commit is contained in:
@@ -40,7 +40,6 @@ namespace Ndk
|
||||
void Layout() override;
|
||||
|
||||
void OnMouseEnter() override;
|
||||
void OnMouseMoved(int x, int y, int deltaX, int deltaY) override;
|
||||
void OnMouseButtonRelease(int x, int y, Nz::Mouse::Button button) override;
|
||||
void OnMouseExit() override;
|
||||
|
||||
|
||||
@@ -300,7 +300,7 @@ namespace Ndk
|
||||
void Console::ExecuteInput()
|
||||
{
|
||||
Nz::String input = m_inputDrawer.GetText();
|
||||
Nz::String inputCmd = input.SubString(s_inputPrefixSize);;
|
||||
Nz::String inputCmd = input.SubString(s_inputPrefixSize);
|
||||
m_inputDrawer.SetText(s_inputPrefix);
|
||||
|
||||
if (m_commandHistory.empty() || m_commandHistory.back() != inputCmd)
|
||||
|
||||
@@ -61,9 +61,6 @@ namespace Ndk
|
||||
m_gradientSprite->SetColor(Nz::Color(128, 128, 128));
|
||||
}
|
||||
|
||||
void ButtonWidget::OnMouseMoved(int x, int y, int deltaX, int deltaY)
|
||||
{
|
||||
}
|
||||
|
||||
void ButtonWidget::OnMouseExit()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user