From 072f39dfc98c8b7a5a584b0381972552617f07f0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 23 Apr 2015 19:57:11 +0300 Subject: Add incomplete mail window. --- src/input/inputaction.h | 1 + src/input/inputactionmap.h | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'src/input') 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 -- cgit v1.2.3-70-g09d2