00001 #ifndef _INVENTORYPANEL_ 00002 #define _INVENTORYPANEL_ 00003 00004 #include <SDL.h> 00005 #include <SDL_ttf.h> 00006 00007 #include "panel.h" 00008 #include "player.h" 00009 00015 class InventoryPanel : public Panel{ 00016 public: 00021 InventoryPanel(); 00022 00028 InventoryPanel(const unsigned int x, const unsigned int y, 00029 const unsigned int w, const unsigned int h); 00030 00035 virtual ~InventoryPanel(); 00036 00040 InventoryPanel& operator=(InventoryPanel const& other); 00041 00047 void draw(SDL_Surface* screen, Player & player, SDL_Surface* tools); 00048 00049 private: 00050 void drawSelectedBorders(SDL_Surface* screen, SDL_Rect dst); 00051 }; 00052 00053 #endif