diff options
author | Joseph Botosh <rumly111@gmail.com> | 2015-06-05 20:34:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-25 21:38:30 +0300 |
commit | f67a60ea6108e2c70186bf4742c223179ac5f4be (patch) | |
tree | c057d9dc5a8c9716b24b5ba2dc4cb576832ee1dc /src/gui/widgets | |
parent | 760b544fb26dcfc5103a44bf977cd8cd95b0862a (diff) | |
download | manaplus-f67a60ea6108e2c70186bf4742c223179ac5f4be.tar.gz manaplus-f67a60ea6108e2c70186bf4742c223179ac5f4be.tar.bz2 manaplus-f67a60ea6108e2c70186bf4742c223179ac5f4be.tar.xz manaplus-f67a60ea6108e2c70186bf4742c223179ac5f4be.zip |
add targetingType feature
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/setup_quick.cpp | 4 |
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)); } |