OpenMW
Public Member Functions | Protected Member Functions | Private Attributes
MWGui::BookWindow Class Reference

#include <bookwindow.hpp>

List of all members.

Public Member Functions

 BookWindow ()
void open (MWWorld::Ptr book)
void setTakeButtonShow (bool show)
void nextPage ()
void prevPage ()
void setInventoryAllowed (bool allowed)

Protected Member Functions

void onNextPageButtonClicked (MyGUI::Widget *sender)
void onPrevPageButtonClicked (MyGUI::Widget *sender)
void onCloseButtonClicked (MyGUI::Widget *sender)
void onTakeButtonClicked (MyGUI::Widget *sender)
void updatePages ()
void clearPages ()
void adjustButton (MWGui::ImageButton *button)

Private Attributes

MWGui::ImageButtonmCloseButton
MWGui::ImageButtonmTakeButton
MWGui::ImageButtonmNextPageButton
MWGui::ImageButtonmPrevPageButton
MyGUI::TextBox * mLeftPageNumber
MyGUI::TextBox * mRightPageNumber
MyGUI::Widget * mLeftPage
MyGUI::Widget * mRightPage
unsigned int mCurrentPage
std::vector< MyGUI::Widget * > mPages
MWWorld::Ptr mBook
bool mTakeButtonShow
bool mTakeButtonAllowed

Constructor & Destructor Documentation


Member Function Documentation

void MWGui::BookWindow::adjustButton ( MWGui::ImageButton button) [protected]
void MWGui::BookWindow::clearPages ( ) [protected]
void MWGui::BookWindow::onCloseButtonClicked ( MyGUI::Widget *  sender) [protected]
void MWGui::BookWindow::onNextPageButtonClicked ( MyGUI::Widget *  sender) [protected]
void MWGui::BookWindow::onPrevPageButtonClicked ( MyGUI::Widget *  sender) [protected]
void MWGui::BookWindow::onTakeButtonClicked ( MyGUI::Widget *  sender) [protected]
void MWGui::BookWindow::updatePages ( ) [protected]

Member Data Documentation

unsigned int MWGui::BookWindow::mCurrentPage [private]
MyGUI::Widget* MWGui::BookWindow::mLeftPage [private]
MyGUI::TextBox* MWGui::BookWindow::mLeftPageNumber [private]
std::vector<MyGUI::Widget*> MWGui::BookWindow::mPages [private]
MyGUI::Widget* MWGui::BookWindow::mRightPage [private]
MyGUI::TextBox* MWGui::BookWindow::mRightPageNumber [private]

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