1 #ifndef BLANK_UI_INTERFACE_HPP_
2 #define BLANK_UI_INTERFACE_HPP_
4 #include "../app/Config.hpp"
12 struct ClientController;
14 struct PlayerController;
19 Interface(Config &, const Keymap &, PlayerController &, ClientController &);
21 void SetInventorySlots(int num) { num_slots = num; }
23 void HandlePress(const SDL_KeyboardEvent &);
24 void HandleRelease(const SDL_KeyboardEvent &);
25 void Handle(const SDL_MouseMotionEvent &);
26 void HandlePress(const SDL_MouseButtonEvent &);
27 void HandleRelease(const SDL_MouseButtonEvent &);
28 void Handle(const SDL_MouseWheelEvent &);
31 void UpdateMovement();
32 void InvAbs(int slot);
33 void InvRel(int delta);
38 PlayerController &player_ctrl;
39 ClientController &client_ctrl;