summaryrefslogtreecommitdiff
path: root/src/gui/popups
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/popups
parent760b544fb26dcfc5103a44bf977cd8cd95b0862a (diff)
downloadmanaverse-f67a60ea6108e2c70186bf4742c223179ac5f4be.tar.gz
manaverse-f67a60ea6108e2c70186bf4742c223179ac5f4be.tar.bz2
manaverse-f67a60ea6108e2c70186bf4742c223179ac5f4be.tar.xz
manaverse-f67a60ea6108e2c70186bf4742c223179ac5f4be.zip
add targetingType feature
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/statuspopup.cpp3
-rw-r--r--src/gui/popups/statuspopup.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/popups/statuspopup.cpp b/src/gui/popups/statuspopup.cpp
index c54a57874..b81e3fe1e 100644
--- a/src/gui/popups/statuspopup.cpp
+++ b/src/gui/popups/statuspopup.cpp
@@ -75,6 +75,7 @@ void StatusPopup::postInit()
addLabel(12);
addLabel(13);
addLabel(14);
+ addLabel(15);
y += 4;
addLabel(11);
}
@@ -164,4 +165,6 @@ void StatusPopup::updateLabels() const
InputAction::AWAY);
setLabelText(14, GameModifiers::getCameraModeString(),
InputAction::CAMERA);
+ setLabelText(15, GameModifiers::getTargetingTypeString(),
+ InputAction::CHANGE_TARGETING_TYPE);
}
diff --git a/src/gui/popups/statuspopup.h b/src/gui/popups/statuspopup.h
index 43b793821..ed39c3ab6 100644
--- a/src/gui/popups/statuspopup.h
+++ b/src/gui/popups/statuspopup.h
@@ -30,7 +30,7 @@
class Label;
-const int STATUSPOPUP_NUM_LABELS = 15;
+const int STATUSPOPUP_NUM_LABELS = 16;
/**
* A popup that displays information about an item.