forked from mirror/openmw-tes3mp
2d3cc014c9
Conflicts: apps/openmw/mwgui/container.cpp apps/openmw/mwgui/container.hpp
34 lines
860 B
C++
34 lines
860 B
C++
#include "inventorywindow.hpp"
|
|
#include <iterator>
|
|
#include <algorithm>
|
|
#include "window_manager.hpp"
|
|
#include "widgets.hpp"
|
|
|
|
#include "../mwbase/environment.hpp"
|
|
#include "../mwworld/manualref.hpp"
|
|
#include <cmath>
|
|
#include <algorithm>
|
|
#include <iterator>
|
|
|
|
#include <assert.h>
|
|
#include <iostream>
|
|
#include "../mwclass/container.hpp"
|
|
#include "../mwworld/containerstore.hpp"
|
|
#include <boost/lexical_cast.hpp>
|
|
#include "../mwworld/class.hpp"
|
|
#include "../mwworld/world.hpp"
|
|
#include "../mwworld/player.hpp"
|
|
namespace MWGui
|
|
{
|
|
|
|
InventoryWindow::InventoryWindow(WindowManager& parWindowManager,DragAndDrop* dragAndDrop)
|
|
:ContainerWindow(parWindowManager,dragAndDrop,"openmw_inventory_window_layout.xml")
|
|
{
|
|
}
|
|
|
|
void InventoryWindow::openInventory()
|
|
{
|
|
open(MWBase::Environment::get().getWorld()->getPlayer().getPlayer());
|
|
}
|
|
|
|
}
|