summaryrefslogtreecommitdiff
path: root/src/actions
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/actions
parentaa8ee33b2f560fd5d230bb6399de50b4470e287e (diff)
downloadManaVerse-072f39dfc98c8b7a5a584b0381972552617f07f0.tar.gz
ManaVerse-072f39dfc98c8b7a5a584b0381972552617f07f0.tar.bz2
ManaVerse-072f39dfc98c8b7a5a584b0381972552617f07f0.tar.xz
ManaVerse-072f39dfc98c8b7a5a584b0381972552617f07f0.zip
Add incomplete mail window.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/windows.cpp7
-rw-r--r--src/actions/windows.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/actions/windows.cpp b/src/actions/windows.cpp
index 4008245fa..168409366 100644
--- a/src/actions/windows.cpp
+++ b/src/actions/windows.cpp
@@ -44,6 +44,7 @@
#include "gui/windows/helpwindow.h"
#include "gui/windows/inventorywindow.h"
#include "gui/windows/killstats.h"
+#include "gui/windows/mailwindow.h"
#include "gui/windows/minimap.h"
#include "gui/windows/outfitwindow.h"
#include "gui/windows/setupwindow.h"
@@ -332,4 +333,10 @@ impHandler0(quickWindowShow)
return false;
}
+impHandler0(mailWindowShow)
+{
+ showHideWindow(mailWindow);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/windows.h b/src/actions/windows.h
index 59ffc502e..01727055c 100644
--- a/src/actions/windows.h
+++ b/src/actions/windows.h
@@ -54,6 +54,7 @@ namespace Actions
decHandler(bankWindowShow);
decHandler(cartWindowShow);
decHandler(quickWindowShow);
+ decHandler(mailWindowShow);
} // namespace Actions
#undef decHandler