string Exception::getText(const size_t& index) const throw() { if (index < 0 || index>=getTextCount()) { string tmp; return tmp; } else { return text[index]; } }
void Exception::dump(ostream& s) const throw() { int i; for (i=0; i<getTextCount(); i++) { s << "text " << i << ":" << this->getText(i) << endl; } for (i=0; i<getLocationCount(); i++) { s << "location " << i << ":" << getLocation(i).what() << endl; } }
int16 GfxText32::getTextCount(const Common::String &text, const uint index, const GuiResourceId fontId, const Common::Rect &textRect, const bool doScaling) { setFont(fontId); return getTextCount(text, index, textRect, doScaling); }