summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-23 19:57:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-26 22:51:50 +0300
commit072f39dfc98c8b7a5a584b0381972552617f07f0 (patch)
treea7f0ccf7011d46de8ab2979b78757f6b3c84dabb /src/input
parentaa8ee33b2f560fd5d230bb6399de50b4470e287e (diff)
downloadplus-072f39dfc98c8b7a5a584b0381972552617f07f0.tar.gz
plus-072f39dfc98c8b7a5a584b0381972552617f07f0.tar.bz2
plus-072f39dfc98c8b7a5a584b0381972552617f07f0.tar.xz
plus-072f39dfc98c8b7a5a584b0381972552617f07f0.zip
Add incomplete mail window.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index d5bad5483..2f4bdcb3c 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -595,6 +595,7 @@ namespace InputAction
JOIN_ROOM,
LEAVE_ROOM,
WINDOW_QUICK_SETTINGS,
+ WINDOW_MAIL,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 54a15e806..edd75851a 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4460,6 +4460,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::GAME | InputCondition::NOTARGET,
"yellowbar|quickoptions",
false},
+ {"keyWindowMail",
+ emptyKey,
+ emptyKey,
+ Input::GRP_DEFAULT | Input::GRP_GUI,
+ &Actions::mailWindowShow,
+ InputAction::NO_VALUE, 50,
+ InputCondition::GAME | InputCondition::NOTARGET,
+ "mailwindow|mail",
+ false},
};
#undef defaultAction