mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 19:39:41 +00:00
[Client] Replace unused method in GUIController with getChatEditState()
This commit is contained in:
parent
053a5a6258
commit
dc0ce09ab6
4 changed files with 11 additions and 4 deletions
|
@ -66,6 +66,11 @@ namespace mwmp
|
|||
return true;
|
||||
}
|
||||
|
||||
bool GUIChat::getEditState()
|
||||
{
|
||||
return editState;
|
||||
}
|
||||
|
||||
void GUIChat::acceptCommand(MyGUI::EditBox *_sender)
|
||||
{
|
||||
const std::string &cm = MyGUI::TextIterator::toTagsString(mCommandLine->getCaption());
|
||||
|
|
|
@ -44,6 +44,8 @@ namespace mwmp
|
|||
|
||||
virtual bool exit();
|
||||
|
||||
bool getEditState();
|
||||
|
||||
void setFont(const std::string &fntName);
|
||||
|
||||
void onResChange(int width, int height);
|
||||
|
|
|
@ -213,9 +213,9 @@ bool mwmp::GUIController::pressedKey(int key)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool mwmp::GUIController::hasFocusedElement()
|
||||
bool mwmp::GUIController::getChatEditState()
|
||||
{
|
||||
return false;
|
||||
return mChat->editState;
|
||||
}
|
||||
|
||||
void mwmp::GUIController::update(float dt)
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace mwmp
|
|||
|
||||
void showDialogList(const BasePlayer::GUIMessageBox &guiMessageBox);
|
||||
|
||||
/// Return true if any tes3mp gui element in active state
|
||||
bool hasFocusedElement();
|
||||
bool getChatEditState();
|
||||
|
||||
/// Returns 0 if there was no events
|
||||
bool pressedKey(int key);
|
||||
|
||||
|
|
Loading…
Reference in a new issue