mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Apply clang-format to code base
This commit is contained in:
parent
f37d0be806
commit
ddb0522bbf
2199 changed files with 118692 additions and 114392 deletions
|
@ -18,7 +18,7 @@ namespace Gui
|
|||
}
|
||||
}
|
||||
|
||||
void SharedStateButton::shareStateWith(const ButtonGroup &shared)
|
||||
void SharedStateButton::shareStateWith(const ButtonGroup& shared)
|
||||
{
|
||||
mSharedWith = shared;
|
||||
}
|
||||
|
@ -37,14 +37,14 @@ namespace Gui
|
|||
updateButtonState();
|
||||
}
|
||||
|
||||
void SharedStateButton::onMouseSetFocus(MyGUI::Widget *_old)
|
||||
void SharedStateButton::onMouseSetFocus(MyGUI::Widget* _old)
|
||||
{
|
||||
mIsMouseFocus = true;
|
||||
Base::onMouseSetFocus(_old);
|
||||
updateButtonState();
|
||||
}
|
||||
|
||||
void SharedStateButton::onMouseLostFocus(MyGUI::Widget *_new)
|
||||
void SharedStateButton::onMouseLostFocus(MyGUI::Widget* _new)
|
||||
{
|
||||
mIsMouseFocus = false;
|
||||
Base::onMouseLostFocus(_new);
|
||||
|
@ -68,7 +68,7 @@ namespace Gui
|
|||
}
|
||||
}
|
||||
|
||||
bool SharedStateButton::_setState(const std::string &_value)
|
||||
bool SharedStateButton::_setState(const std::string& _value)
|
||||
{
|
||||
bool ret = _setWidgetState(_value);
|
||||
if (ret)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue