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:
parent
b1e4aea496
commit
ce6eb1d6d9
|
|
@ -40,7 +40,6 @@ namespace Ndk
|
||||||
void Layout() override;
|
void Layout() override;
|
||||||
|
|
||||||
void OnMouseEnter() 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 OnMouseButtonRelease(int x, int y, Nz::Mouse::Button button) override;
|
||||||
void OnMouseExit() override;
|
void OnMouseExit() override;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -300,7 +300,7 @@ namespace Ndk
|
||||||
void Console::ExecuteInput()
|
void Console::ExecuteInput()
|
||||||
{
|
{
|
||||||
Nz::String input = m_inputDrawer.GetText();
|
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);
|
m_inputDrawer.SetText(s_inputPrefix);
|
||||||
|
|
||||||
if (m_commandHistory.empty() || m_commandHistory.back() != inputCmd)
|
if (m_commandHistory.empty() || m_commandHistory.back() != inputCmd)
|
||||||
|
|
|
||||||
|
|
@ -61,9 +61,6 @@ namespace Ndk
|
||||||
m_gradientSprite->SetColor(Nz::Color(128, 128, 128));
|
m_gradientSprite->SetColor(Nz::Color(128, 128, 128));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ButtonWidget::OnMouseMoved(int x, int y, int deltaX, int deltaY)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void ButtonWidget::OnMouseExit()
|
void ButtonWidget::OnMouseExit()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue