mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
48 lines
983 B
C++
48 lines
983 B
C++
#ifndef MGUI_Inventory_H
|
|
#define MGUI_Inventory_H
|
|
|
|
#include "container.hpp"
|
|
namespace MWWorld
|
|
{
|
|
class Environment;
|
|
}
|
|
|
|
namespace MyGUI
|
|
{
|
|
class Gui;
|
|
class Widget;
|
|
}
|
|
|
|
namespace MWGui
|
|
{
|
|
class WindowManager;
|
|
}
|
|
|
|
|
|
namespace MWGui
|
|
{
|
|
class InventoryWindow : public MWGui::ContainerBase
|
|
{
|
|
public:
|
|
InventoryWindow(WindowManager& parWindowManager,DragAndDrop* dragAndDrop);
|
|
|
|
void openInventory();
|
|
|
|
protected:
|
|
MyGUI::Widget* mAvatar;
|
|
MyGUI::TextBox* mArmorRating;
|
|
MyGUI::ProgressBar* mEncumbranceBar;
|
|
MyGUI::TextBox* mEncumbranceText;
|
|
|
|
MyGUI::Button* mFilterAll;
|
|
MyGUI::Button* mFilterWeapon;
|
|
MyGUI::Button* mFilterApparel;
|
|
MyGUI::Button* mFilterMagic;
|
|
MyGUI::Button* mFilterMisc;
|
|
|
|
void onWindowResize(MyGUI::Window* _sender);
|
|
void onFilterChanged(MyGUI::Widget* _sender);
|
|
};
|
|
}
|
|
#endif // Inventory_H
|