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:
parent
d45db97808
commit
ae2d247968
2 changed files with 9 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue