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
|
@ -24,7 +24,7 @@ namespace Gui
|
|||
throw std::runtime_error("WindowCaption needs an EditBox Client widget in its skin");
|
||||
}
|
||||
|
||||
void WindowCaption::setCaption(const MyGUI::UString &_value)
|
||||
void WindowCaption::setCaption(const MyGUI::UString& _value)
|
||||
{
|
||||
EditBox::setCaption(_value);
|
||||
align();
|
||||
|
@ -48,7 +48,7 @@ namespace Gui
|
|||
MyGUI::Widget* caption = mClient;
|
||||
caption->setSize(textSize.width + 24, caption->getHeight());
|
||||
|
||||
int barwidth = (getWidth()-caption->getWidth())/2;
|
||||
int barwidth = (getWidth() - caption->getWidth()) / 2;
|
||||
caption->setPosition(barwidth, caption->getTop());
|
||||
if (mLeft)
|
||||
mLeft->setCoord(0, mLeft->getTop(), barwidth, mLeft->getHeight());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue