1 #ifndef OPENMW_MWGUI_COMPANIONWINDOW_H
2 #define OPENMW_MWGUI_COMPANIONWINDOW_H
10 class MessageBoxManager;
13 class SortFilterItemModel;
14 class CompanionItemModel;
43 void dragItem(MyGUI::Widget* sender,
int count);
Definition: companionwindow.hpp:16
void onBackgroundSelected()
Definition: companionwindow.cpp:97
void openCompanion(const MWWorld::Ptr &npc)
Definition: companionwindow.cpp:106
CompanionWindow(DragAndDrop *dragAndDrop, MessageBoxManager *manager)
Definition: companionwindow.cpp:35
Definition: itemview.hpp:11
MyGUI::Button * mCloseButton
Definition: companionwindow.hpp:36
MessageBoxManager * mMessageBoxManager
Definition: companionwindow.hpp:39
Widgets::MWDynamicStat * mEncumbranceBar
Definition: companionwindow.hpp:38
int mSelectedItem
Definition: companionwindow.hpp:32
void updateEncumbranceBar()
Definition: companionwindow.cpp:124
Definition: messagebox.hpp:20
DragAndDrop * mDragAndDrop
Definition: companionwindow.hpp:34
Definition: draganddrop.hpp:17
MyGUI::TextBox * mProfitLabel
Definition: companionwindow.hpp:37
void dragItem(MyGUI::Widget *sender, int count)
Definition: companionwindow.cpp:92
void onFrame()
Definition: companionwindow.cpp:119
void onItemSelected(int index)
Definition: companionwindow.cpp:55
void onCloseButtonClicked(MyGUI::Widget *_sender)
Definition: companionwindow.cpp:140
Definition: sortfilteritemmodel.hpp:9
virtual void onReferenceUnavailable()
called when reference has become unavailable
Definition: companionwindow.cpp:169
SortFilterItemModel * mSortModel
Definition: companionwindow.hpp:30
The companion item model keeps track of the companion's profit by monitoring which items are being ad...
Definition: companionitemmodel.hpp:11
void onMessageBoxButtonClicked(int button)
Definition: companionwindow.cpp:159
Definition: windowbase.hpp:16
virtual void resetReference()
Definition: companionwindow.cpp:174
CompanionItemModel * mModel
Definition: companionwindow.hpp:31
this class is intended for GUI interfaces that access an MW-Reference for example dialogue window acc...
Definition: referenceinterface.hpp:12
ItemView * mItemView
Definition: companionwindow.hpp:29
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
virtual void exit()
Gracefully exits the window.
Definition: companionwindow.cpp:145