OpenMW
|
#include <waitdialog.hpp>
Public Member Functions | |
WaitDialog () | |
virtual void | open () |
void | onFrame (float dt) |
void | bedActivated () |
bool | getSleeping () |
void | wakeUp () |
Protected Member Functions | |
void | onUntilHealedButtonClicked (MyGUI::Widget *sender) |
void | onWaitButtonClicked (MyGUI::Widget *sender) |
void | onCancelButtonClicked (MyGUI::Widget *sender) |
void | onHourSliderChangedPosition (MyGUI::ScrollBar *sender, size_t position) |
void | setCanRest (bool canRest) |
void | startWaiting (int hoursToWait) |
void | stopWaiting () |
Protected Attributes | |
MyGUI::TextBox * | mDateTimeText |
MyGUI::TextBox * | mRestText |
MyGUI::TextBox * | mHourText |
MyGUI::Button * | mUntilHealedButton |
MyGUI::Button * | mWaitButton |
MyGUI::Button * | mCancelButton |
MWGui::Widgets::MWScrollBar * | mHourSlider |
bool | mWaiting |
bool | mSleeping |
int | mCurHour |
int | mHours |
int | mManualHours |
float | mRemainingTime |
WaitDialogProgressBar | mProgressBar |
void MWGui::WaitDialog::bedActivated | ( | ) | [inline] |
bool MWGui::WaitDialog::getSleeping | ( | ) | [inline] |
void MWGui::WaitDialog::onCancelButtonClicked | ( | MyGUI::Widget * | sender | ) | [protected] |
void MWGui::WaitDialog::onFrame | ( | float | dt | ) |
void MWGui::WaitDialog::onHourSliderChangedPosition | ( | MyGUI::ScrollBar * | sender, |
size_t | position | ||
) | [protected] |
void MWGui::WaitDialog::onUntilHealedButtonClicked | ( | MyGUI::Widget * | sender | ) | [protected] |
void MWGui::WaitDialog::onWaitButtonClicked | ( | MyGUI::Widget * | sender | ) | [protected] |
void MWGui::WaitDialog::open | ( | ) | [virtual] |
Reimplemented from MWGui::WindowBase.
void MWGui::WaitDialog::setCanRest | ( | bool | canRest | ) | [protected] |
void MWGui::WaitDialog::startWaiting | ( | int | hoursToWait | ) | [protected] |
void MWGui::WaitDialog::stopWaiting | ( | ) | [protected] |
void MWGui::WaitDialog::wakeUp | ( | ) |
MyGUI::Button* MWGui::WaitDialog::mCancelButton [protected] |
int MWGui::WaitDialog::mCurHour [protected] |
MyGUI::TextBox* MWGui::WaitDialog::mDateTimeText [protected] |
int MWGui::WaitDialog::mHours [protected] |
MyGUI::TextBox* MWGui::WaitDialog::mHourText [protected] |
int MWGui::WaitDialog::mManualHours [protected] |
WaitDialogProgressBar MWGui::WaitDialog::mProgressBar [protected] |
float MWGui::WaitDialog::mRemainingTime [protected] |
MyGUI::TextBox* MWGui::WaitDialog::mRestText [protected] |
bool MWGui::WaitDialog::mSleeping [protected] |
MyGUI::Button* MWGui::WaitDialog::mUntilHealedButton [protected] |
MyGUI::Button* MWGui::WaitDialog::mWaitButton [protected] |
bool MWGui::WaitDialog::mWaiting [protected] |