From a908eb0431a25e3228277991d94d6a4add8f5010 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Dec 2016 20:45:36 +0300 Subject: Fix too long lines. --- src/gui/color.h | 5 ++++- src/gui/skin.h | 6 ++++-- src/gui/windows/whoisonline.h | 6 ++++-- 3 files changed, 12 insertions(+), 5 deletions(-) (limited to 'src/gui') 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 &getOnlinePlayers() const noexcept2 A_WARN_UNUSED + const std::set &getOnlinePlayers() const noexcept2 + A_WARN_UNUSED { return mOnlinePlayers; } - const std::set &getOnlineNicks() const noexcept2 A_WARN_UNUSED + const std::set &getOnlineNicks() const noexcept2 + A_WARN_UNUSED { return mOnlineNicks; } void setAllowUpdate(const bool n) noexcept2 -- cgit v1.2.3-60-g2f50