OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
MWGui::Formatting::Paginator Class Reference

#include <formatting.hpp>

Collaboration diagram for MWGui::Formatting::Paginator:

Public Types

typedef std::pair< int, intPage
 
typedef std::vector< PagePages
 

Public Member Functions

 Paginator (int pageWidth, int pageHeight)
 
int getStartTop () const
 
int getCurrentTop () const
 
int getPageWidth () const
 
int getPageHeight () const
 
bool getIgnoreLeadingEmptyLines () const
 
Pages getPages () const
 
void setStartTop (int top)
 
void setCurrentTop (int top)
 
void setIgnoreLeadingEmptyLines (bool ignore)
 
Paginatoroperator<< (const Page &page)
 

Private Attributes

int mStartTop
 
int mCurrentTop
 
int mPageWidth
 
int mPageHeight
 
bool mIgnoreLeadingEmptyLines
 
Pages mPages
 

Member Typedef Documentation

Constructor & Destructor Documentation

MWGui::Formatting::Paginator::Paginator ( int  pageWidth,
int  pageHeight 
)
inline

Member Function Documentation

int MWGui::Formatting::Paginator::getCurrentTop ( ) const
inline

Here is the caller graph for this function:

bool MWGui::Formatting::Paginator::getIgnoreLeadingEmptyLines ( ) const
inline

Here is the caller graph for this function:

int MWGui::Formatting::Paginator::getPageHeight ( ) const
inline

Here is the caller graph for this function:

Pages MWGui::Formatting::Paginator::getPages ( ) const
inline

Here is the caller graph for this function:

int MWGui::Formatting::Paginator::getPageWidth ( ) const
inline

Here is the caller graph for this function:

int MWGui::Formatting::Paginator::getStartTop ( ) const
inline

Here is the caller graph for this function:

Paginator& MWGui::Formatting::Paginator::operator<< ( const Page page)
inline
void MWGui::Formatting::Paginator::setCurrentTop ( int  top)
inline

Here is the caller graph for this function:

void MWGui::Formatting::Paginator::setIgnoreLeadingEmptyLines ( bool  ignore)
inline

Here is the caller graph for this function:

void MWGui::Formatting::Paginator::setStartTop ( int  top)
inline

Here is the caller graph for this function:

Member Data Documentation

int MWGui::Formatting::Paginator::mCurrentTop
private
bool MWGui::Formatting::Paginator::mIgnoreLeadingEmptyLines
private
int MWGui::Formatting::Paginator::mPageHeight
private
Pages MWGui::Formatting::Paginator::mPages
private
int MWGui::Formatting::Paginator::mPageWidth
private
int MWGui::Formatting::Paginator::mStartTop
private

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