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::AlchemyWindow Class Reference

#include <alchemywindow.hpp>

Inheritance diagram for MWGui::AlchemyWindow:
Collaboration diagram for MWGui::AlchemyWindow:

Public Member Functions

 AlchemyWindow ()
 
virtual void open ()
 Notify that window has been made visible. More...
 
virtual void exit ()
 Gracefully exits the window. More...
 
- Public Member Functions inherited from MWGui::WindowBase
 WindowBase (const std::string &parLayout)
 
virtual void close ()
 Notify that window has been hidden. 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 ()
 
- 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 onCancelButtonClicked (MyGUI::Widget *_sender)
 
void onCreateButtonClicked (MyGUI::Widget *_sender)
 
void onIngredientSelected (MyGUI::Widget *_sender)
 
void onSelectedItem (int index)
 
void removeIngredient (MyGUI::Widget *ingredient)
 
void update ()
 

Private Attributes

std::string mSuggestedPotionName
 
ItemViewmItemView
 
SortFilterItemModelmSortModel
 
MyGUI::Button * mCreateButton
 
MyGUI::Button * mCancelButton
 
MyGUI::Widget * mEffectsBox
 
MyGUI::EditBox * mNameEdit
 
std::auto_ptr
< MWMechanics::Alchemy
mAlchemy
 
std::vector< ItemWidget * > mApparatus
 
std::vector< ItemWidget * > mIngredients
 

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::AlchemyWindow::AlchemyWindow ( )

Here is the call graph for this function:

Member Function Documentation

void MWGui::AlchemyWindow::exit ( )
virtual

Gracefully exits the window.

Reimplemented from MWGui::WindowBase.

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::AlchemyWindow::onCancelButtonClicked ( MyGUI::Widget *  _sender)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::AlchemyWindow::onCreateButtonClicked ( MyGUI::Widget *  _sender)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::AlchemyWindow::onIngredientSelected ( MyGUI::Widget *  _sender)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::AlchemyWindow::onSelectedItem ( int  index)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::AlchemyWindow::open ( )
virtual

Notify that window has been made visible.

Reimplemented from MWGui::WindowBase.

Here is the call graph for this function:

void MWGui::AlchemyWindow::removeIngredient ( MyGUI::Widget *  ingredient)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::AlchemyWindow::update ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::auto_ptr<MWMechanics::Alchemy> MWGui::AlchemyWindow::mAlchemy
private
std::vector<ItemWidget*> MWGui::AlchemyWindow::mApparatus
private
MyGUI::Button* MWGui::AlchemyWindow::mCancelButton
private
MyGUI::Button* MWGui::AlchemyWindow::mCreateButton
private
MyGUI::Widget* MWGui::AlchemyWindow::mEffectsBox
private
std::vector<ItemWidget*> MWGui::AlchemyWindow::mIngredients
private
ItemView* MWGui::AlchemyWindow::mItemView
private
MyGUI::EditBox* MWGui::AlchemyWindow::mNameEdit
private
SortFilterItemModel* MWGui::AlchemyWindow::mSortModel
private
std::string MWGui::AlchemyWindow::mSuggestedPotionName
private

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