summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 20:45:36 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 20:45:36 +0300
commita908eb0431a25e3228277991d94d6a4add8f5010 (patch)
tree5b52d0e12acc8f813c396290c2bb0e2d8b016d4e /src/gui
parent8859a812ccf4b0758734192283c24b38a12b2eb9 (diff)
downloadmv-a908eb0431a25e3228277991d94d6a4add8f5010.tar.gz
mv-a908eb0431a25e3228277991d94d6a4add8f5010.tar.bz2
mv-a908eb0431a25e3228277991d94d6a4add8f5010.tar.xz
mv-a908eb0431a25e3228277991d94d6a4add8f5010.zip
Fix too long lines.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/color.h5
-rw-r--r--src/gui/skin.h6
-rw-r--r--src/gui/windows/whoisonline.h6
3 files changed, 12 insertions, 5 deletions
diff --git a/src/gui/color.h b/src/gui/color.h
index c6c3accbc..e81757adc 100644
--- a/src/gui/color.h
+++ b/src/gui/color.h
@@ -215,7 +215,10 @@ class Color final
*/
constexpr bool operator!=(const Color& color) const
{
- return !(r == color.r && g == color.g && b == color.b && a == color.a);
+ return !(r == color.r &&
+ g == color.g &&
+ b == color.b &&
+ a == color.a);
}
/**
diff --git a/src/gui/skin.h b/src/gui/skin.h
index a0b33fe53..74f248e99 100644
--- a/src/gui/skin.h
+++ b/src/gui/skin.h
@@ -70,13 +70,15 @@ class Skin final
/**
* Returns the image used by a close button for this skin.
*/
- const Image *getCloseImage(const bool state) const noexcept2 A_WARN_UNUSED
+ const Image *getCloseImage(const bool state) const
+ noexcept2 A_WARN_UNUSED
{ return state ? mCloseImageHighlighted : mCloseImage; }
/**
* Returns the image used by a sticky button for this skin.
*/
- const Image *getStickyImage(const bool state) const noexcept2 A_WARN_UNUSED
+ const Image *getStickyImage(const bool state) const
+ noexcept2 A_WARN_UNUSED
{ return state ? mStickyImageDown : mStickyImageUp; }
/**
diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h
index b5aee4cf8..0f0aa88b5 100644
--- a/src/gui/windows/whoisonline.h
+++ b/src/gui/windows/whoisonline.h
@@ -78,10 +78,12 @@ class WhoIsOnline final : public Window,
void widgetResized(const Event &event) override final;
- const std::set<OnlinePlayer*> &getOnlinePlayers() const noexcept2 A_WARN_UNUSED
+ const std::set<OnlinePlayer*> &getOnlinePlayers() const noexcept2
+ A_WARN_UNUSED
{ return mOnlinePlayers; }
- const std::set<std::string> &getOnlineNicks() const noexcept2 A_WARN_UNUSED
+ const std::set<std::string> &getOnlineNicks() const noexcept2
+ A_WARN_UNUSED
{ return mOnlineNicks; }
void setAllowUpdate(const bool n) noexcept2