OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MWGui::SaveGameDialog Class Reference

#include <savegamedialog.hpp>

Inheritance diagram for MWGui::SaveGameDialog:
Collaboration diagram for MWGui::SaveGameDialog:

Public Member Functions

 SaveGameDialog ()
 
virtual void open ()
 Notify that window has been made visible. More...
 
virtual void exit ()
 Gracefully exits the window. More...
 
void setLoadOrSave (bool load)
 
- Public Member Functions inherited from MWGui::WindowModal
 WindowModal (const std::string &parLayout)
 
virtual void close ()
 Notify that window has been hidden. More...
 
- Public Member Functions inherited from MWGui::WindowBase
 WindowBase (const std::string &parLayout)
 
virtual void setVisible (bool visible)
 Sets the visibility of the window. More...
 
bool isVisible ()
 Returns the visibility state of the window. More...
 
void center ()
 
- Public Member Functions inherited from MWGui::Layout
 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)
 

Private Member Functions

void confirmDeleteSave ()
 
void onKeyButtonPressed (MyGUI::Widget *_sender, MyGUI::KeyCode key, MyGUI::Char character)
 
void onCancelButtonClicked (MyGUI::Widget *sender)
 
void onOkButtonClicked (MyGUI::Widget *sender)
 
void onDeleteButtonClicked (MyGUI::Widget *sender)
 
void onCharacterSelected (MyGUI::ComboBox *sender, size_t pos)
 
void onSlotSelected (MyGUI::ListBox *sender, size_t pos)
 
void onSlotActivated (MyGUI::ListBox *sender, size_t pos)
 
void onSlotMouseClick (MyGUI::ListBox *sender, size_t pos)
 
void onDeleteSlotConfirmed ()
 
void onEditSelectAccept (MyGUI::EditBox *sender)
 
void onSaveNameChanged (MyGUI::EditBox *sender)
 
void onConfirmationGiven ()
 
void accept (bool reallySure=false)
 
void fillSaveList ()
 

Private Attributes

std::auto_ptr< MyGUI::ITexture > mScreenshotTexture
 
MyGUI::ImageBox * mScreenshot
 
bool mSaving
 
MyGUI::ComboBox * mCharacterSelection
 
MyGUI::EditBox * mInfoText
 
MyGUI::Button * mOkButton
 
MyGUI::Button * mCancelButton
 
MyGUI::Button * mDeleteButton
 
MyGUI::ListBox * mSaveList
 
MyGUI::EditBox * mSaveNameEdit
 
MyGUI::Widget * mSpacer
 
const MWState::CharactermCurrentCharacter
 
const MWState::SlotmCurrentSlot
 

Additional Inherited Members

- Public Types inherited from MWGui::WindowBase
typedef
MyGUI::delegates::CMultiDelegate1
< WindowBase * > 
EventHandle_WindowBase
 
- Public Attributes inherited from MWGui::Layout
MyGUI::Widget * mMainWidget
 
- Protected Attributes inherited from MWGui::Layout
std::string mPrefix
 
std::string mLayoutName
 
MyGUI::VectorWidgetPtr mListWindowRoot
 

Constructor & Destructor Documentation

MWGui::SaveGameDialog::SaveGameDialog ( )

Here is the call graph for this function:

Member Function Documentation

void MWGui::SaveGameDialog::accept ( bool  reallySure = false)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::confirmDeleteSave ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::exit ( )
virtual

Gracefully exits the window.

Reimplemented from MWGui::WindowModal.

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::fillSaveList ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onCancelButtonClicked ( MyGUI::Widget *  sender)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onCharacterSelected ( MyGUI::ComboBox *  sender,
size_t  pos 
)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onConfirmationGiven ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onDeleteButtonClicked ( MyGUI::Widget *  sender)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onDeleteSlotConfirmed ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onEditSelectAccept ( MyGUI::EditBox *  sender)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onKeyButtonPressed ( MyGUI::Widget *  _sender,
MyGUI::KeyCode  key,
MyGUI::Char  character 
)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onOkButtonClicked ( MyGUI::Widget *  sender)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onSaveNameChanged ( MyGUI::EditBox *  sender)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onSlotActivated ( MyGUI::ListBox *  sender,
size_t  pos 
)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onSlotMouseClick ( MyGUI::ListBox *  sender,
size_t  pos 
)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::onSlotSelected ( MyGUI::ListBox *  sender,
size_t  pos 
)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SaveGameDialog::open ( )
virtual

Notify that window has been made visible.

Reimplemented from MWGui::WindowModal.

Here is the call graph for this function:

void MWGui::SaveGameDialog::setLoadOrSave ( bool  load)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

MyGUI::Button* MWGui::SaveGameDialog::mCancelButton
private
MyGUI::ComboBox* MWGui::SaveGameDialog::mCharacterSelection
private
const MWState::Character* MWGui::SaveGameDialog::mCurrentCharacter
private
const MWState::Slot* MWGui::SaveGameDialog::mCurrentSlot
private
MyGUI::Button* MWGui::SaveGameDialog::mDeleteButton
private
MyGUI::EditBox* MWGui::SaveGameDialog::mInfoText
private
MyGUI::Button* MWGui::SaveGameDialog::mOkButton
private
MyGUI::ListBox* MWGui::SaveGameDialog::mSaveList
private
MyGUI::EditBox* MWGui::SaveGameDialog::mSaveNameEdit
private
bool MWGui::SaveGameDialog::mSaving
private
MyGUI::ImageBox* MWGui::SaveGameDialog::mScreenshot
private
std::auto_ptr<MyGUI::ITexture> MWGui::SaveGameDialog::mScreenshotTexture
private
MyGUI::Widget* MWGui::SaveGameDialog::mSpacer
private

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