#include <tradewindow.hpp>
|
void | sellToNpc (const MWWorld::Ptr &item, int count, bool boughtItem) |
| only used for adjusting the gold balance More...
|
|
void | buyFromNpc (const MWWorld::Ptr &item, int count, bool soldItem) |
| only used for adjusting the gold balance More...
|
|
void | updateOffer () |
|
void | onItemSelected (int index) |
|
void | sellItem (MyGUI::Widget *sender, int count) |
|
void | onFilterChanged (MyGUI::Widget *_sender) |
|
void | onOfferButtonClicked (MyGUI::Widget *_sender) |
|
void | onCancelButtonClicked (MyGUI::Widget *_sender) |
|
void | onMaxSaleButtonClicked (MyGUI::Widget *_sender) |
|
void | onIncreaseButtonPressed (MyGUI::Widget *_sender, int _left, int _top, MyGUI::MouseButton _id) |
|
void | onDecreaseButtonPressed (MyGUI::Widget *_sender, int _left, int _top, MyGUI::MouseButton _id) |
|
void | onBalanceButtonReleased (MyGUI::Widget *_sender, int _left, int _top, MyGUI::MouseButton _id) |
|
void | onBalanceValueChanged (int value) |
|
void | onRepeatClick (MyGUI::Widget *widget, MyGUI::ControllerItem *controller) |
|
void | addRepeatController (MyGUI::Widget *widget) |
|
void | onIncreaseButtonTriggered () |
|
void | onDecreaseButtonTriggered () |
|
void | addOrRemoveGold (int gold, const MWWorld::Ptr &actor) |
|
void | updateLabels () |
|
virtual void | onReferenceUnavailable () |
| called when reference has become unavailable More...
|
|
int | getMerchantGold () |
|
void | restock () |
|
MWGui::TradeWindow::TradeWindow |
( |
| ) |
|
void MWGui::TradeWindow::addOrRemoveGold |
( |
int |
gold, |
|
|
const MWWorld::Ptr & |
actor |
|
) |
| |
|
private |
void MWGui::TradeWindow::addRepeatController |
( |
MyGUI::Widget * |
widget | ) |
|
|
private |
void MWGui::TradeWindow::borrowItem |
( |
int |
index, |
|
|
size_t |
count |
|
) |
| |
only used for adjusting the gold balance
void MWGui::TradeWindow::exit |
( |
| ) |
|
|
virtual |
int MWGui::TradeWindow::getMerchantGold |
( |
| ) |
|
|
private |
int MWGui::TradeWindow::getMerchantServices |
( |
| ) |
|
void MWGui::TradeWindow::onBalanceButtonReleased |
( |
MyGUI::Widget * |
_sender, |
|
|
int |
_left, |
|
|
int |
_top, |
|
|
MyGUI::MouseButton |
_id |
|
) |
| |
|
private |
void MWGui::TradeWindow::onBalanceValueChanged |
( |
int |
value | ) |
|
|
private |
void MWGui::TradeWindow::onCancelButtonClicked |
( |
MyGUI::Widget * |
_sender | ) |
|
|
private |
void MWGui::TradeWindow::onDecreaseButtonPressed |
( |
MyGUI::Widget * |
_sender, |
|
|
int |
_left, |
|
|
int |
_top, |
|
|
MyGUI::MouseButton |
_id |
|
) |
| |
|
private |
void MWGui::TradeWindow::onDecreaseButtonTriggered |
( |
| ) |
|
|
private |
void MWGui::TradeWindow::onFilterChanged |
( |
MyGUI::Widget * |
_sender | ) |
|
|
private |
void MWGui::TradeWindow::onIncreaseButtonPressed |
( |
MyGUI::Widget * |
_sender, |
|
|
int |
_left, |
|
|
int |
_top, |
|
|
MyGUI::MouseButton |
_id |
|
) |
| |
|
private |
void MWGui::TradeWindow::onIncreaseButtonTriggered |
( |
| ) |
|
|
private |
void MWGui::TradeWindow::onItemSelected |
( |
int |
index | ) |
|
|
private |
void MWGui::TradeWindow::onMaxSaleButtonClicked |
( |
MyGUI::Widget * |
_sender | ) |
|
|
private |
void MWGui::TradeWindow::onOfferButtonClicked |
( |
MyGUI::Widget * |
_sender | ) |
|
|
private |
void MWGui::TradeWindow::onReferenceUnavailable |
( |
| ) |
|
|
privatevirtual |
void MWGui::TradeWindow::onRepeatClick |
( |
MyGUI::Widget * |
widget, |
|
|
MyGUI::ControllerItem * |
controller |
|
) |
| |
|
private |
void MWGui::TradeWindow::resetReference |
( |
| ) |
|
|
virtual |
void MWGui::TradeWindow::restock |
( |
| ) |
|
|
private |
void MWGui::TradeWindow::returnItem |
( |
int |
index, |
|
|
size_t |
count |
|
) |
| |
void MWGui::TradeWindow::sellItem |
( |
MyGUI::Widget * |
sender, |
|
|
int |
count |
|
) |
| |
|
private |
only used for adjusting the gold balance
void MWGui::TradeWindow::startTrade |
( |
const MWWorld::Ptr & |
actor | ) |
|
void MWGui::TradeWindow::updateLabels |
( |
| ) |
|
|
private |
void MWGui::TradeWindow::updateOffer |
( |
| ) |
|
|
private |
MyGUI::Widget* MWGui::TradeWindow::mBottomPane |
|
private |
MyGUI::Button* MWGui::TradeWindow::mCancelButton |
|
private |
int MWGui::TradeWindow::mCurrentBalance |
|
private |
int MWGui::TradeWindow::mCurrentMerchantOffer |
|
private |
MyGUI::Button* MWGui::TradeWindow::mDecreaseButton |
|
private |
MyGUI::Button* MWGui::TradeWindow::mFilterAll |
|
private |
MyGUI::Button* MWGui::TradeWindow::mFilterApparel |
|
private |
MyGUI::Button* MWGui::TradeWindow::mFilterMagic |
|
private |
MyGUI::Button* MWGui::TradeWindow::mFilterMisc |
|
private |
MyGUI::Button* MWGui::TradeWindow::mFilterWeapon |
|
private |
MyGUI::Button* MWGui::TradeWindow::mIncreaseButton |
|
private |
int MWGui::TradeWindow::mItemToSell |
|
private |
MyGUI::Button* MWGui::TradeWindow::mMaxSaleButton |
|
private |
MyGUI::TextBox* MWGui::TradeWindow::mMerchantGold |
|
private |
MyGUI::Button* MWGui::TradeWindow::mOfferButton |
|
private |
MyGUI::TextBox* MWGui::TradeWindow::mPlayerGold |
|
private |
MyGUI::TextBox* MWGui::TradeWindow::mTotalBalanceLabel |
|
private |
const float MWGui::TradeWindow::sBalanceChangeInitialPause = 0.5f |
|
staticprivate |
const float MWGui::TradeWindow::sBalanceChangeInterval = 0.1f |
|
staticprivate |
The documentation for this class was generated from the following files: