* Allow handling of WM_CHAR in the case of Windows.

This commit is contained in:
iProgramInCpp
2023-08-05 16:13:11 +03:00
parent 386fac3ff6
commit 0ceef907c0
7 changed files with 47 additions and 13 deletions

View File

@@ -98,12 +98,16 @@ void Screen::keyPressed(int key)
#endif
}
#ifndef ORIGINAL_CODE
for (auto textInput : m_textInputs)
{
textInput->keyPressed(m_pMinecraft, key);
}
#endif
}
void Screen::charInput(char chr)
{
for (auto textInput : m_textInputs)
textInput->charPressed(chr);
}
void Screen::mouseClicked(int xPos, int yPos, int d) // d = clicked?