#include <inventorywindow.hpp>
|
| | InventoryWindow (DragAndDrop *dragAndDrop, osg::Group *parent, Resource::ResourceSystem *resourceSystem) |
| |
| virtual void | onOpen () |
| | Notify that window has been made visible. More...
|
| |
| void | setTrading (bool trading) |
| | start trading, disables item drag&drop More...
|
| |
| void | onFrame (float dt) |
| | Called every frame if the window is in an active GUI mode. More...
|
| |
| void | pickUpObject (MWWorld::Ptr object) |
| |
| MWWorld::Ptr | getAvatarSelectedItem (int x, int y) |
| |
| void | rebuildAvatar () |
| |
| SortFilterItemModel * | getSortFilterModel () |
| |
| TradeItemModel * | getTradeModel () |
| |
| ItemModel * | getModel () |
| |
| void | updateItemView () |
| |
| void | updatePlayer () |
| |
| void | clear () |
| | Clear any state specific to the running game. More...
|
| |
| void | useItem (const MWWorld::Ptr &ptr, bool force=false) |
| |
| void | setGuiMode (GuiMode mode) |
| |
| void | cycle (bool next) |
| | Cycle to previous/next weapon. More...
|
| |
| | WindowPinnableBase (const std::string &parLayout) |
| |
| bool | pinned () |
| |
| void | setPinned (bool pinned) |
| |
| void | setPinButtonVisible (bool visible) |
| |
| | WindowBase (const std::string &parLayout) |
| |
| virtual MyGUI::Widget * | getDefaultKeyFocus () |
| |
| virtual void | setPtr (const MWWorld::Ptr &ptr) |
| | Open this object in the GUI, for windows that support it. More...
|
| |
| virtual void | onClose () |
| | Notify that window has been hidden. More...
|
| |
| virtual bool | exit () |
| | Gracefully exits the window. More...
|
| |
| virtual void | setVisible (bool visible) |
| | Sets the visibility of the window. More...
|
| |
| bool | isVisible () |
| | Returns the visibility state of the window. More...
|
| |
| void | center () |
| |
| virtual void | onResChange (int width, int height) |
| | Called when GUI viewport changes size. More...
|
| |
| | Layout (const std::string &_layout, MyGUI::Widget *_parent=nullptr) |
| |
| virtual | ~Layout () |
| |
| MyGUI::Widget * | getWidget (const std::string &_name) |
| |
| template<typename T > |
| void | getWidget (T *&_widget, const std::string &_name) |
| |
| void | setCoord (int x, int y, int w, int h) |
| |
| void | setText (const std::string &name, const std::string &caption) |
| |
| void | setTitle (const std::string &title) |
| |
| void MWGui::InventoryWindow::adjustPanes |
( |
| ) |
|
|
private |
| void MWGui::InventoryWindow::clear |
( |
| ) |
|
|
virtual |
| void MWGui::InventoryWindow::cycle |
( |
bool |
next | ) |
|
Cycle to previous/next weapon.
| void MWGui::InventoryWindow::dirtyPreview |
( |
| ) |
|
|
private |
| void MWGui::InventoryWindow::dragItem |
( |
MyGUI::Widget * |
sender, |
|
|
int |
count |
|
) |
| |
|
private |
| void MWGui::InventoryWindow::ensureSelectedItemUnequipped |
( |
int |
count | ) |
|
|
private |
Unequips count items from mSelectedItem, if it is equipped, and then updates mSelectedItem in case the items were re-stacked.
| ItemModel * MWGui::InventoryWindow::getModel |
( |
| ) |
|
| void MWGui::InventoryWindow::notifyContentChanged |
( |
| ) |
|
|
private |
| void MWGui::InventoryWindow::onAvatarClicked |
( |
MyGUI::Widget * |
_sender | ) |
|
|
private |
| void MWGui::InventoryWindow::onBackgroundSelected |
( |
| ) |
|
|
private |
| void MWGui::InventoryWindow::onFilterChanged |
( |
MyGUI::Widget * |
_sender | ) |
|
|
private |
| void MWGui::InventoryWindow::onFrame |
( |
float |
duration | ) |
|
|
virtual |
Called every frame if the window is in an active GUI mode.
Reimplemented from MWGui::WindowBase.
| void MWGui::InventoryWindow::onItemSelected |
( |
int |
index | ) |
|
|
private |
| void MWGui::InventoryWindow::onItemSelectedFromSourceModel |
( |
int |
index | ) |
|
|
private |
| void MWGui::InventoryWindow::onOpen |
( |
| ) |
|
|
virtual |
| void MWGui::InventoryWindow::onPinToggled |
( |
| ) |
|
|
privatevirtual |
| void MWGui::InventoryWindow::onTitleDoubleClicked |
( |
| ) |
|
|
privatevirtual |
| void MWGui::InventoryWindow::onWindowResize |
( |
MyGUI::Window * |
_sender | ) |
|
|
private |
| void MWGui::InventoryWindow::pickUpObject |
( |
MWWorld::Ptr |
object | ) |
|
| void MWGui::InventoryWindow::rebuildAvatar |
( |
| ) |
|
| void MWGui::InventoryWindow::sellItem |
( |
MyGUI::Widget * |
sender, |
|
|
int |
count |
|
) |
| |
|
private |
| void MWGui::InventoryWindow::setGuiMode |
( |
GuiMode |
mode | ) |
|
| void MWGui::InventoryWindow::setTrading |
( |
bool |
trading | ) |
|
start trading, disables item drag&drop
| void MWGui::InventoryWindow::updateArmorRating |
( |
| ) |
|
|
private |
| void MWGui::InventoryWindow::updateEncumbranceBar |
( |
| ) |
|
|
private |
| void MWGui::InventoryWindow::updateItemView |
( |
| ) |
|
| void MWGui::InventoryWindow::updatePlayer |
( |
| ) |
|
| void MWGui::InventoryWindow::updatePreviewSize |
( |
| ) |
|
|
private |
| void MWGui::InventoryWindow::useItem |
( |
const MWWorld::Ptr & |
ptr, |
|
|
bool |
force = false |
|
) |
| |
| MyGUI::TextBox* MWGui::InventoryWindow::mArmorRating |
|
private |
| MyGUI::Widget* MWGui::InventoryWindow::mAvatar |
|
private |
| MyGUI::ImageBox* MWGui::InventoryWindow::mAvatarImage |
|
private |
| MyGUI::Button* MWGui::InventoryWindow::mFilterAll |
|
private |
| MyGUI::Button* MWGui::InventoryWindow::mFilterApparel |
|
private |
| MyGUI::Button* MWGui::InventoryWindow::mFilterMagic |
|
private |
| MyGUI::Button* MWGui::InventoryWindow::mFilterMisc |
|
private |
| MyGUI::Button* MWGui::InventoryWindow::mFilterWeapon |
|
private |
| GuiMode MWGui::InventoryWindow::mGuiMode |
|
private |
| int MWGui::InventoryWindow::mLastXSize |
|
private |
| int MWGui::InventoryWindow::mLastYSize |
|
private |
| MyGUI::Widget* MWGui::InventoryWindow::mLeftPane |
|
private |
| std::unique_ptr<MyGUI::ITexture> MWGui::InventoryWindow::mPreviewTexture |
|
private |
| MyGUI::Widget* MWGui::InventoryWindow::mRightPane |
|
private |
| float MWGui::InventoryWindow::mScaleFactor |
|
private |
| int MWGui::InventoryWindow::mSelectedItem |
|
private |
| bool MWGui::InventoryWindow::mTrading |
|
private |
| float MWGui::InventoryWindow::mUpdateTimer |
|
private |
The documentation for this class was generated from the following files: