OpenMW
Public Member Functions | Private Member Functions | Private Attributes
MWGui::ContainerWindow Class Reference

#include <container.hpp>

List of all members.

Public Member Functions

 ContainerWindow (DragAndDrop *dragAndDrop)
void open (const MWWorld::Ptr &container, bool loot=false)

Private Member Functions

void onItemSelected (int index)
void onBackgroundSelected ()
void dragItem (MyGUI::Widget *sender, int count)
void dropItem ()
void onCloseButtonClicked (MyGUI::Widget *_sender)
void onTakeAllButtonClicked (MyGUI::Widget *_sender)
void onDisposeCorpseButtonClicked (MyGUI::Widget *sender)
virtual void onReferenceUnavailable ()
 called when reference has become unavailable

Private Attributes

DragAndDropmDragAndDrop
MWGui::ItemViewmItemView
SortFilterItemModelmSortModel
ItemModelmModel
size_t mSelectedItem
MyGUI::Button * mDisposeCorpseButton
MyGUI::Button * mTakeButton
MyGUI::Button * mCloseButton

Constructor & Destructor Documentation


Member Function Documentation

void MWGui::ContainerWindow::dragItem ( MyGUI::Widget *  sender,
int  count 
) [private]
void MWGui::ContainerWindow::onCloseButtonClicked ( MyGUI::Widget *  _sender) [private]
void MWGui::ContainerWindow::onDisposeCorpseButtonClicked ( MyGUI::Widget *  sender) [private]
void MWGui::ContainerWindow::onItemSelected ( int  index) [private]

called when reference has become unavailable

Implements MWGui::ReferenceInterface.

void MWGui::ContainerWindow::onTakeAllButtonClicked ( MyGUI::Widget *  _sender) [private]
void MWGui::ContainerWindow::open ( const MWWorld::Ptr container,
bool  loot = false 
)

Member Data Documentation

MyGUI::Button* MWGui::ContainerWindow::mCloseButton [private]
MyGUI::Button* MWGui::ContainerWindow::mTakeButton [private]

The documentation for this class was generated from the following files: