diff options
| author | Alexander Tkachev | 2016-07-02 13:26:05 +0600 |
|---|---|---|
| committer | Eugene Sandulenko | 2016-07-03 12:24:53 +0200 |
| commit | cea58cc61c12206f41b64ba0094655dcd84b57af (patch) | |
| tree | 9588efa4feb39ab09b41d8dd16de392471ace4e4 /gui | |
| parent | bc2c7689dc6753828f7ac0672eb7b3fea5414293 (diff) | |
| download | scummvm-rg350-cea58cc61c12206f41b64ba0094655dcd84b57af.tar.gz scummvm-rg350-cea58cc61c12206f41b64ba0094655dcd84b57af.tar.bz2 scummvm-rg350-cea58cc61c12206f41b64ba0094655dcd84b57af.zip | |
JANITORIAL: Remove trailing spaces
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/ThemeEngine.cpp | 2 | ||||
| -rw-r--r-- | gui/ThemeEval.cpp | 2 | ||||
| -rw-r--r-- | gui/ThemeLayout.h | 2 | ||||
| -rw-r--r-- | gui/widget.cpp | 2 | ||||
| -rw-r--r-- | gui/widgets/scrollcontainer.cpp | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index b1decb1b74..c850a6a02e 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -1377,7 +1377,7 @@ void ThemeEngine::drawPopUpWidgetClip(const Common::Rect &r, const Common::Rect else if (state == kStateDisabled) dd = kDDPopUpDisabled; - queueDDClip(dd, r, clip); + queueDDClip(dd, r, clip); if (!sel.empty()) { Common::Rect text(r.left + 3, r.top + 1, r.right - 10, r.bottom); diff --git a/gui/ThemeEval.cpp b/gui/ThemeEval.cpp index 9b7b57cad3..5255587089 100644 --- a/gui/ThemeEval.cpp +++ b/gui/ThemeEval.cpp @@ -89,7 +89,7 @@ void ThemeEval::addWidget(const Common::String &name, int w, int h, const Common typeW = getVar("Globals." + type + ".Width", -1); typeH = getVar("Globals." + type + ".Height", -1); typeAlign = (Graphics::TextAlign)getVar("Globals." + type + ".Align", Graphics::kTextAlignInvalid); - } + } ThemeLayoutWidget *widget; if (type == "TabWidget") diff --git a/gui/ThemeLayout.h b/gui/ThemeLayout.h index 00e55ce509..e738002aa6 100644 --- a/gui/ThemeLayout.h +++ b/gui/ThemeLayout.h @@ -233,7 +233,7 @@ public: _tabHeight = tabHeight; } - void reflowLayout() { + void reflowLayout() { for (uint i = 0; i < _children.size(); ++i) { _children[i]->resetLayout(); _children[i]->reflowLayout(); diff --git a/gui/widget.cpp b/gui/widget.cpp index f2a888e31d..56b7e91455 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -437,7 +437,7 @@ void PicButtonWidget::drawWidget() { const int x = _x + (_w - _gfx.w) / 2; const int y = _y + (_h - _gfx.h) / 2; - g_gui.theme()->drawSurfaceClip(Common::Rect(x, y, x + _gfx.w, y + _gfx.h), getBossClipRect(), _gfx, _state, _alpha, _transparency); + g_gui.theme()->drawSurfaceClip(Common::Rect(x, y, x + _gfx.w, y + _gfx.h), getBossClipRect(), _gfx, _state, _alpha, _transparency); } } diff --git a/gui/widgets/scrollcontainer.cpp b/gui/widgets/scrollcontainer.cpp index 8b68b0fc0b..1b38478c11 100644 --- a/gui/widgets/scrollcontainer.cpp +++ b/gui/widgets/scrollcontainer.cpp @@ -95,7 +95,7 @@ uint16 ScrollContainerWidget::getHeight() const { } void ScrollContainerWidget::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) { - Widget::handleCommand(sender, cmd, data); + Widget::handleCommand(sender, cmd, data); switch (cmd) { case kSetPositionCmd: _scrolledY = _verticalScroll->_currentPos; @@ -103,7 +103,7 @@ void ScrollContainerWidget::handleCommand(CommandSender *sender, uint32 cmd, uin draw(); g_gui.doFullRedraw(); break; - } + } } void ScrollContainerWidget::reflowLayout() { |
