diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-05 14:00:04 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-05 14:00:04 +0200 |
commit | 7a78f23b4a03d36dc6db56a7e269f5c181c2a6fb (patch) | |
tree | dfdefff6f6f0ed4f1d90f2f67e5b0a155463a243 /src/UI/SlotArea.h | |
parent | Merge pull request #1151 from mc-server/immediatesocketrebind (diff) | |
download | cuberite-7a78f23b4a03d36dc6db56a7e269f5c181c2a6fb.tar cuberite-7a78f23b4a03d36dc6db56a7e269f5c181c2a6fb.tar.gz cuberite-7a78f23b4a03d36dc6db56a7e269f5c181c2a6fb.tar.bz2 cuberite-7a78f23b4a03d36dc6db56a7e269f5c181c2a6fb.tar.lz cuberite-7a78f23b4a03d36dc6db56a7e269f5c181c2a6fb.tar.xz cuberite-7a78f23b4a03d36dc6db56a7e269f5c181c2a6fb.tar.zst cuberite-7a78f23b4a03d36dc6db56a7e269f5c181c2a6fb.zip |
Diffstat (limited to 'src/UI/SlotArea.h')
-rw-r--r-- | src/UI/SlotArea.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/UI/SlotArea.h b/src/UI/SlotArea.h index b4b693cf6..b72450a58 100644 --- a/src/UI/SlotArea.h +++ b/src/UI/SlotArea.h @@ -46,10 +46,13 @@ public: /// Called from Clicked when the action is a shiftclick (left or right) virtual void ShiftClicked(cPlayer & a_Player, int a_SlotNum, const cItem & a_ClickedItem); - + /// Called from Clicked when the action is a caDblClick virtual void DblClicked(cPlayer & a_Player, int a_SlotNum); - + + /** Called from Clicked when the action is a middleclick */ + virtual void MiddleClicked(cPlayer & a_Player, int a_SlotNum); + /// Called when a new player opens the same parent window. The window already tracks the player. CS-locked. virtual void OnPlayerAdded(cPlayer & a_Player); |