From bc466f07a454271d4845a7e8c7f0822541c5afbd Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 20 Sep 2012 13:25:54 +0000 Subject: Refactored windows. As described on the forum: http://forum.mc-server.org/showthread.php?tid=561 For now, only basic clicking works; shift-click not implemented yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@867 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cCraftingWindow.h | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 source/cCraftingWindow.h (limited to 'source/cCraftingWindow.h') diff --git a/source/cCraftingWindow.h b/source/cCraftingWindow.h deleted file mode 100644 index 638b1aa53..000000000 --- a/source/cCraftingWindow.h +++ /dev/null @@ -1,43 +0,0 @@ - -#pragma once - -#include "cWindow.h" - - - - -// fwd: -class cWindowOwner; - - - - - -class cCraftingWindow : public cWindow -{ -public: - enum - { - SLOT_CRAFTING_RESULT = 0, - SLOT_CRAFTING_MIN = 1, - SLOT_CRAFTING_MAX = 9, - } ; - - cCraftingWindow(cWindowOwner * a_Owner, bool a_bInventoryVisible); - - virtual void Clicked( - cPlayer & a_Player, - int a_WindowID, short a_SlotNum, bool a_IsRightClick, bool a_IsShiftPressed, - const cItem & a_HeldItem - ) override; - - virtual void Close(cPlayer & a_Player) override; - - void ShiftClicked(cPlayer & a_Player, short a_SlotNum); - void ShiftClickedCraftingResult(cPlayer & a_Player, short a_SlotNum); - void ShiftClickedCraftingGrid (cPlayer & a_Player, short a_SlotNum); -}; - - - - -- cgit v1.2.3