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

#include <companionwindow.hpp>

List of all members.

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

ItemViewmItemView
SortFilterItemModelmSortModel
CompanionItemModelmModel
size_t mSelectedItem
DragAndDropmDragAndDrop
MyGUI::Button * mCloseButton
MyGUI::TextBox * mProfitLabel
Widgets::MWDynamicStatmEncumbranceBar
MessageBoxManagermMessageBoxManager

Constructor & Destructor Documentation


Member Function Documentation

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

called when reference has become unavailable

Implements MWGui::ReferenceInterface.


Member Data Documentation

MyGUI::Button* MWGui::CompanionWindow::mCloseButton [private]
MyGUI::TextBox* MWGui::CompanionWindow::mProfitLabel [private]

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