summaryrefslogtreecommitdiffstats
path: root/source/LuaWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/LuaWindow.h')
-rw-r--r--source/LuaWindow.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/LuaWindow.h b/source/LuaWindow.h
index 30c07bdbf..dc4497df7 100644
--- a/source/LuaWindow.h
+++ b/source/LuaWindow.h
@@ -10,6 +10,7 @@
#pragma once
#include "UI/Window.h"
+#include "ItemGrid.h"
@@ -35,7 +36,8 @@ cPlayer:OpenWindow check if the window is of this class, and if so, make a globa
This reference needs to be unreferenced in the Destroy() function.
*/
class cLuaWindow :
- public cWindow
+ public cWindow,
+ public cItemGrid::cListener
{
typedef cWindow super;
@@ -83,6 +85,9 @@ protected:
// cWindow overrides:
virtual bool ClosedByPlayer(cPlayer & a_Player) override;
virtual void Destroy(void) override;
+
+ // cItemGrid::cListener overrides:
+ virtual void OnSlotChanged(cItemGrid * a_ItemGrid, int a_SlotNum) override;
} ; // tolua_export