OpenMW
|
#include <container.hpp>
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 | |
DragAndDrop * | mDragAndDrop |
MWGui::ItemView * | mItemView |
SortFilterItemModel * | mSortModel |
ItemModel * | mModel |
size_t | mSelectedItem |
MyGUI::Button * | mDisposeCorpseButton |
MyGUI::Button * | mTakeButton |
MyGUI::Button * | mCloseButton |
MWGui::ContainerWindow::ContainerWindow | ( | DragAndDrop * | dragAndDrop | ) |
void MWGui::ContainerWindow::dragItem | ( | MyGUI::Widget * | sender, |
int | count | ||
) | [private] |
void MWGui::ContainerWindow::dropItem | ( | ) | [private] |
void MWGui::ContainerWindow::onBackgroundSelected | ( | ) | [private] |
void MWGui::ContainerWindow::onCloseButtonClicked | ( | MyGUI::Widget * | _sender | ) | [private] |
void MWGui::ContainerWindow::onDisposeCorpseButtonClicked | ( | MyGUI::Widget * | sender | ) | [private] |
void MWGui::ContainerWindow::onItemSelected | ( | int | index | ) | [private] |
void MWGui::ContainerWindow::onReferenceUnavailable | ( | ) | [private, virtual] |
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 |
||
) |
MyGUI::Button* MWGui::ContainerWindow::mCloseButton [private] |
MyGUI::Button* MWGui::ContainerWindow::mDisposeCorpseButton [private] |
DragAndDrop* MWGui::ContainerWindow::mDragAndDrop [private] |
MWGui::ItemView* MWGui::ContainerWindow::mItemView [private] |
ItemModel* MWGui::ContainerWindow::mModel [private] |
size_t MWGui::ContainerWindow::mSelectedItem [private] |
MyGUI::Button* MWGui::ContainerWindow::mTakeButton [private] |