X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FInventoryMenu.h;h=c1d458b18cdaf906370e7f24797567cd75069552;hb=1852ed1ca9ccfb63183fec12efeeaccc211a9f72;hp=20cbe17f54ef388786488f9d98941f9b46e3c01c;hpb=f552d26f537af9fa48255bd71cdc1a0a1b860bac;p=l2e.git diff --git a/src/menu/InventoryMenu.h b/src/menu/InventoryMenu.h index 20cbe17..c1d458b 100644 --- a/src/menu/InventoryMenu.h +++ b/src/menu/InventoryMenu.h @@ -38,12 +38,19 @@ private: virtual void OnResize(int width, int height); + void LoadInventory(); + void RenderMenu(SDL_Surface *screen, const geometry::Vector &offset) const; void RenderInventory(SDL_Surface *screen, const geometry::Vector &offset) const; private: PartyMenu *parent; - graphics::Menu menu; + enum Choice { + CHOICE_USE, + CHOICE_SORT, + CHOICE_DROP, + }; + graphics::Menu menu; graphics::Menu itemMenu; };