OpenMW
Public Member Functions | Protected Member Functions | Protected Attributes
MWGui::WaitDialog Class Reference

#include <waitdialog.hpp>

List of all members.

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::MWScrollBarmHourSlider
bool mWaiting
bool mSleeping
int mCurHour
int mHours
int mManualHours
float mRemainingTime
WaitDialogProgressBar mProgressBar

Constructor & Destructor Documentation


Member Function Documentation

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]

Member Data Documentation

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]
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]

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