OpenMW
|
#include <companionwindow.hpp>
Public Member Functions | |
CompanionWindow (DragAndDrop *dragAndDrop, MessageBoxManager *manager) | |
void | open (const MWWorld::Ptr &npc) |
void | onFrame () |
Private Member Functions | |
void | onItemSelected (int index) |
void | onBackgroundSelected () |
void | dragItem (MyGUI::Widget *sender, int count) |
void | onMessageBoxButtonClicked (int button) |
void | updateEncumbranceBar () |
void | onCloseButtonClicked (MyGUI::Widget *_sender) |
virtual void | onReferenceUnavailable () |
called when reference has become unavailable | |
Private Attributes | |
ItemView * | mItemView |
SortFilterItemModel * | mSortModel |
CompanionItemModel * | mModel |
size_t | mSelectedItem |
DragAndDrop * | mDragAndDrop |
MyGUI::Button * | mCloseButton |
MyGUI::TextBox * | mProfitLabel |
Widgets::MWDynamicStat * | mEncumbranceBar |
MessageBoxManager * | mMessageBoxManager |
MWGui::CompanionWindow::CompanionWindow | ( | DragAndDrop * | dragAndDrop, |
MessageBoxManager * | manager | ||
) |
void MWGui::CompanionWindow::dragItem | ( | MyGUI::Widget * | sender, |
int | count | ||
) | [private] |
void MWGui::CompanionWindow::onBackgroundSelected | ( | ) | [private] |
void MWGui::CompanionWindow::onCloseButtonClicked | ( | MyGUI::Widget * | _sender | ) | [private] |
void MWGui::CompanionWindow::onFrame | ( | ) |
void MWGui::CompanionWindow::onItemSelected | ( | int | index | ) | [private] |
void MWGui::CompanionWindow::onMessageBoxButtonClicked | ( | int | button | ) | [private] |
void MWGui::CompanionWindow::onReferenceUnavailable | ( | ) | [private, virtual] |
called when reference has become unavailable
Implements MWGui::ReferenceInterface.
void MWGui::CompanionWindow::open | ( | const MWWorld::Ptr & | npc | ) |
void MWGui::CompanionWindow::updateEncumbranceBar | ( | ) | [private] |
MyGUI::Button* MWGui::CompanionWindow::mCloseButton [private] |
DragAndDrop* MWGui::CompanionWindow::mDragAndDrop [private] |
ItemView* MWGui::CompanionWindow::mItemView [private] |
CompanionItemModel* MWGui::CompanionWindow::mModel [private] |
MyGUI::TextBox* MWGui::CompanionWindow::mProfitLabel [private] |
size_t MWGui::CompanionWindow::mSelectedItem [private] |