OpenMW
Classes | Public Types | Public Member Functions | Public Attributes | Protected Types
MWGui::PageDisplay Class Reference

List of all members.

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
size_t mPage
MyGUI::ILayerNode * mNode
ActiveTextFormats mActiveTextFormats

Protected Types

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

Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

void MWGui::PageDisplay::createActiveFormats ( boost::shared_ptr< TypesetBookImpl newBook) [inline]
void MWGui::PageDisplay::createDrawItem ( MyGUI::ITexture *  texture,
MyGUI::ILayerNode *  node 
) [inline]
void MWGui::PageDisplay::doRender ( TextFormat textFormat) [inline]
void MWGui::PageDisplay::doRender ( ) [inline]
void MWGui::PageDisplay::onMouseButtonPressed ( int  left,
int  top,
MyGUI::MouseButton  id 
) [inline]
void MWGui::PageDisplay::onMouseButtonReleased ( int  left,
int  top,
MyGUI::MouseButton  id 
) [inline]
void MWGui::PageDisplay::onMouseMove ( int  left,
int  top 
) [inline]
void MWGui::PageDisplay::setVisible ( bool  newVisible) [inline]
void MWGui::PageDisplay::showPage ( TypesetBook::Ptr  book,
size_t  newPage 
) [inline]

Member Data Documentation

MyGUI::MouseButton MWGui::PageDisplay::mLastDown
boost::function<void (intptr_t)> MWGui::PageDisplay::mLinkClicked
MyGUI::ILayerNode* MWGui::PageDisplay::mNode

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