aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/push_toggle_control.cpp
diff options
context:
space:
mode:
authorMarisa-Chan2013-10-20 18:39:06 +0000
committerMarisa-Chan2013-10-20 18:39:06 +0000
commit25834faf0738ae6c33819b196fdfb8ab5e8f1888 (patch)
treefb4c9fa0883f24d44a9c76926cf99be32c908f9e /engines/zvision/push_toggle_control.cpp
parentaefa58f5a4470b1ba2e275c62aa1a7a0cec76539 (diff)
downloadscummvm-rg350-25834faf0738ae6c33819b196fdfb8ab5e8f1888.tar.gz
scummvm-rg350-25834faf0738ae6c33819b196fdfb8ab5e8f1888.tar.bz2
scummvm-rg350-25834faf0738ae6c33819b196fdfb8ab5e8f1888.zip
ZVISION: Style modifing by astyle.
Diffstat (limited to 'engines/zvision/push_toggle_control.cpp')
-rw-r--r--engines/zvision/push_toggle_control.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/push_toggle_control.cpp b/engines/zvision/push_toggle_control.cpp
index 689311ba5b..21a1c41548 100644
--- a/engines/zvision/push_toggle_control.cpp
+++ b/engines/zvision/push_toggle_control.cpp
@@ -35,7 +35,7 @@
namespace ZVision {
PushToggleControl::PushToggleControl(ZVision *engine, uint32 key, Common::SeekableReadStream &stream)
- : Control(engine, key) {
+ : Control(engine, key) {
// Loop until we find the closing brace
Common::String line = stream.readLine();
trimCommentsAndWhiteSpace(&line);
@@ -76,7 +76,7 @@ void PushToggleControl::onMouseUp(const Common::Point &screenSpacePos, const Com
if (!_enabled) {
return;
}
-
+
if (_hotspot.contains(backgroundImageSpacePos)) {
_engine->getScriptManager()->setStateValue(_key, 1);
}
@@ -86,7 +86,7 @@ bool PushToggleControl::onMouseMove(const Common::Point &screenSpacePos, const C
if (!_enabled) {
return false;
}
-
+
if (_hotspot.contains(backgroundImageSpacePos)) {
_engine->getCursorManager()->changeCursor(_hoverCursor);
return true;