]> git.localhorst.tv Git - blank.git/blobdiff - src/ui/Interface.hpp
better handling of focus and input
[blank.git] / src / ui / Interface.hpp
index aa040a1ede174e63a20708bdb1208fe0118e4896..92d1c943705c8f9ecf83b74856aa0e193e75d756 100644 (file)
@@ -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;
+
 };
 
 }