mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 19:39:41 +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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void mwmp::GUIController::changeChatMode()
|
||||||
|
{
|
||||||
|
mChat->pressedChatMode();
|
||||||
|
}
|
||||||
|
|
||||||
bool mwmp::GUIController::getChatEditState()
|
bool mwmp::GUIController::getChatEditState()
|
||||||
{
|
{
|
||||||
return mChat->editState;
|
return mChat->editState;
|
||||||
|
|
|
@ -45,11 +45,13 @@ namespace mwmp
|
||||||
|
|
||||||
void showDialogList(const BasePlayer::GUIMessageBox &guiMessageBox);
|
void showDialogList(const BasePlayer::GUIMessageBox &guiMessageBox);
|
||||||
|
|
||||||
bool getChatEditState();
|
|
||||||
|
|
||||||
/// Returns 0 if there was no events
|
/// Returns 0 if there was no events
|
||||||
bool pressedKey(int key);
|
bool pressedKey(int key);
|
||||||
|
|
||||||
|
void changeChatMode();
|
||||||
|
|
||||||
|
bool getChatEditState();
|
||||||
|
|
||||||
void update(float dt);
|
void update(float dt);
|
||||||
|
|
||||||
void processCustomMessageBoxInput(int pressedButton);
|
void processCustomMessageBoxInput(int pressedButton);
|
||||||
|
|
Loading…
Reference in a new issue