OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
MWGui::PageDisplay Class Reference
Inheritance diagram for MWGui::PageDisplay:
Collaboration diagram for MWGui::PageDisplay:

Classes

struct  CreateActiveFormat
 
struct  RenderRun
 
struct  TextFormat
 

Public Types

typedef TypesetBookImpl::StyleImpl Style
 
typedef std::map
< TextFormat::Id, TextFormat * > 
ActiveTextFormats
 

Public Member Functions

 PageDisplay ()
 
void dirtyFocusItem ()
 
void onMouseLostFocus ()
 
void onMouseMove (int left, int top)
 
void onMouseButtonPressed (int left, int top, MyGUI::MouseButton id)
 
void onMouseButtonReleased (int left, int top, MyGUI::MouseButton id)
 
void showPage (TypesetBook::Ptr book, size_t newPage)
 
void createActiveFormats (boost::shared_ptr< TypesetBookImpl > newBook)
 
void setVisible (bool newVisible)
 
void createDrawItem (MyGUI::ITexture *texture, MyGUI::ILayerNode *node)
 
void doRender (TextFormat &textFormat)
 
void doRender ()
 
void _updateView ()
 
void _correctView ()
 
void destroyDrawItem ()
 

Public Attributes

int mViewTop
 
int mViewBottom
 
StylemFocusItem
 
bool mItemActive
 
MyGUI::MouseButton mLastDown
 
boost::function< void(intptr_t)> mLinkClicked
 
boost::shared_ptr
< TypesetBookImpl
mBook
 
MyGUI::ILayerNode * mNode
 
ActiveTextFormats mActiveTextFormats
 

Protected Types

typedef TypesetBookImpl::Section Section
 
typedef TypesetBookImpl::Line Line
 
typedef TypesetBookImpl::Run Run
 

Protected Member Functions

void resetPage ()
 
void setPage (size_t page)
 
bool isPageDifferent (size_t page)
 

Protected Attributes

bool mIsPageReset
 
size_t mPage
 

Member Typedef Documentation

Constructor & Destructor Documentation

MWGui::PageDisplay::PageDisplay ( )
inline

Here is the call graph for this function:

Member Function Documentation

void MWGui::PageDisplay::_correctView ( )
inline
void MWGui::PageDisplay::_updateView ( )
inline
void MWGui::PageDisplay::createActiveFormats ( boost::shared_ptr< TypesetBookImpl newBook)
inline

Here is the caller graph for this function:

void MWGui::PageDisplay::createDrawItem ( MyGUI::ITexture *  texture,
MyGUI::ILayerNode *  node 
)
inline
void MWGui::PageDisplay::destroyDrawItem ( )
inline
void MWGui::PageDisplay::dirtyFocusItem ( )
inline

Here is the caller graph for this function:

void MWGui::PageDisplay::doRender ( TextFormat textFormat)
inline

Here is the caller graph for this function:

void MWGui::PageDisplay::doRender ( )
inline
bool MWGui::PageDisplay::isPageDifferent ( size_t  page)
inlineprotected

Here is the caller graph for this function:

void MWGui::PageDisplay::onMouseButtonPressed ( int  left,
int  top,
MyGUI::MouseButton  id 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::PageDisplay::onMouseButtonReleased ( int  left,
int  top,
MyGUI::MouseButton  id 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::PageDisplay::onMouseLostFocus ( )
inline

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::PageDisplay::onMouseMove ( int  left,
int  top 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::PageDisplay::resetPage ( )
inlineprotected

Here is the caller graph for this function:

void MWGui::PageDisplay::setPage ( size_t  page)
inlineprotected

Here is the caller graph for this function:

void MWGui::PageDisplay::setVisible ( bool  newVisible)
inline
void MWGui::PageDisplay::showPage ( TypesetBook::Ptr  book,
size_t  newPage 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

ActiveTextFormats MWGui::PageDisplay::mActiveTextFormats
boost::shared_ptr<TypesetBookImpl> MWGui::PageDisplay::mBook
Style* MWGui::PageDisplay::mFocusItem
bool MWGui::PageDisplay::mIsPageReset
protected
bool MWGui::PageDisplay::mItemActive
MyGUI::MouseButton MWGui::PageDisplay::mLastDown
boost::function<void (intptr_t)> MWGui::PageDisplay::mLinkClicked
MyGUI::ILayerNode* MWGui::PageDisplay::mNode
size_t MWGui::PageDisplay::mPage
protected
int MWGui::PageDisplay::mViewBottom
int MWGui::PageDisplay::mViewTop

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