OpenMW
|
utilities for parsing book/scroll text as mygui widgets More...
#include <formatting.hpp>
Public Member Functions | |
Paginator::Pages | markupToWidget (MyGUI::Widget *parent, const std::string &markup, const int pageWidth, const int pageHeight) |
Paginator::Pages | markupToWidget (MyGUI::Widget *parent, const std::string &markup) |
Private Member Functions | |
void | resetFontProperties () |
void | handleDiv (const BookTextParser::Attributes &attr) |
void | handleFont (const BookTextParser::Attributes &attr) |
Private Attributes | |
TextStyle | mTextStyle |
BlockStyle | mBlockStyle |
utilities for parsing book/scroll text as mygui widgets
|
private |
|
private |
Paginator::Pages MWGui::Formatting::BookFormatter::markupToWidget | ( | MyGUI::Widget * | parent, |
const std::string & | markup, | ||
const int | pageWidth, | ||
const int | pageHeight | ||
) |
Paginator::Pages MWGui::Formatting::BookFormatter::markupToWidget | ( | MyGUI::Widget * | parent, |
const std::string & | markup | ||
) |
|
private |
|
private |
|
private |