X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FInterface.hpp;h=92d1c943705c8f9ecf83b74856aa0e193e75d756;hb=80a9a59d71a7b144c12f64cbef4644751bd54745;hp=aa040a1ede174e63a20708bdb1208fe0118e4896;hpb=f21a21b285c5b54e3abcc757c6715d22520dd190;p=blank.git diff --git a/src/ui/Interface.hpp b/src/ui/Interface.hpp index aa040a1..92d1c94 100644 --- a/src/ui/Interface.hpp +++ b/src/ui/Interface.hpp @@ -20,6 +20,9 @@ public: void SetInventorySlots(int num) { num_slots = num; } + void Lock(); + void Unlock(); + void HandlePress(const SDL_KeyboardEvent &); void HandleRelease(const SDL_KeyboardEvent &); void Handle(const SDL_MouseMotionEvent &); @@ -42,6 +45,8 @@ private: int slot; int num_slots; + bool locked; + }; }