summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorJoseph Botosh <rumly111@gmail.com>2015-06-05 20:34:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-25 21:38:30 +0300
commitf67a60ea6108e2c70186bf4742c223179ac5f4be (patch)
treec057d9dc5a8c9716b24b5ba2dc4cb576832ee1dc /src/gui/widgets
parent760b544fb26dcfc5103a44bf977cd8cd95b0862a (diff)
downloadmv-f67a60ea6108e2c70186bf4742c223179ac5f4be.tar.gz
mv-f67a60ea6108e2c70186bf4742c223179ac5f4be.tar.bz2
mv-f67a60ea6108e2c70186bf4742c223179ac5f4be.tar.xz
mv-f67a60ea6108e2c70186bf4742c223179ac5f4be.zip
add targetingType feature
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/setup_quick.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_quick.cpp b/src/gui/widgets/tabs/setup_quick.cpp
index a85fdc0ca..e9199aa45 100644
--- a/src/gui/widgets/tabs/setup_quick.cpp
+++ b/src/gui/widgets/tabs/setup_quick.cpp
@@ -104,6 +104,10 @@ Setup_Quick::Setup_Quick(const Widget2 *const widget) :
&GameModifiers::getAwayModeString,
&GameModifiers::changeAwayMode);
+ new SetupQuickItem("", this, "targetingTypeEvent",
+ &GameModifiers::getTargetingTypeString,
+ &GameModifiers::changeTargetingType);
+
setDimension(Rect(0, 0, 550, 350));
}