1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 03:45:32 +00:00

[Client] Add GUIController method for changing chat window mode

This commit is contained in:
David Cernat 2022-04-29 00:06:04 +03:00
parent d45db97808
commit ae2d247968
2 changed files with 9 additions and 2 deletions

View file

@ -211,6 +211,11 @@ bool mwmp::GUIController::pressedKey(int key)
return false;
}
void mwmp::GUIController::changeChatMode()
{
mChat->pressedChatMode();
}
bool mwmp::GUIController::getChatEditState()
{
return mChat->editState;

View file

@ -45,11 +45,13 @@ namespace mwmp
void showDialogList(const BasePlayer::GUIMessageBox &guiMessageBox);
bool getChatEditState();
/// Returns 0 if there was no events
bool pressedKey(int key);
void changeChatMode();
bool getChatEditState();
void update(float dt);
void processCustomMessageBoxInput(int pressedButton);