OpenMW
|
#include <bookwindow.hpp>
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::ImageButton * | mCloseButton |
MWGui::ImageButton * | mTakeButton |
MWGui::ImageButton * | mNextPageButton |
MWGui::ImageButton * | mPrevPageButton |
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 |
void MWGui::BookWindow::adjustButton | ( | MWGui::ImageButton * | button | ) | [protected] |
void MWGui::BookWindow::clearPages | ( | ) | [protected] |
void MWGui::BookWindow::nextPage | ( | ) |
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::open | ( | MWWorld::Ptr | book | ) |
void MWGui::BookWindow::prevPage | ( | ) |
void MWGui::BookWindow::setInventoryAllowed | ( | bool | allowed | ) |
void MWGui::BookWindow::setTakeButtonShow | ( | bool | show | ) |
void MWGui::BookWindow::updatePages | ( | ) | [protected] |
MWWorld::Ptr MWGui::BookWindow::mBook [private] |
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] |
MWGui::ImageButton* MWGui::BookWindow::mTakeButton [private] |
bool MWGui::BookWindow::mTakeButtonAllowed [private] |
bool MWGui::BookWindow::mTakeButtonShow [private] |