Miscellaneous stuff, which does not fit anywhere else. More…
Classes |
|
class | BitSet |
A bit set, which automatically reallocates when needed. More… | |
class | NotSoSimpleVector |
Container similar to lout::misc::SimpleVector, but some cases of insertion optimized (used for hyphenation). More… | |
class | SimpleVector |
Simple (simpler than container::untyped::Vector and container::typed::Vector) template based vector. More… | |
class | StringBuffer |
A class for fast concatenation of a large number of strings. More… | |
class | ZoneAllocator |
A simple allocator optimized to handle many small chunks of memory. The chunks can not be free’d individually. Instead the whole zone must be free’d with zoneFree(). More… | |
Functions |
|
void | init (int argc, char *argv[]) |
template<class T > | |
T | min (T a, T b) |
template<class T > | |
T | max (T a, T b) |
template<class T > | |
T | min (T a, T b, T c) |
template<class T > | |
T | max (T a, T b, T c) |
void | assertNotReached () |
int | roundInt (double d) |
int | AsciiTolower (char c) |
int | AsciiToupper (char c) |
int | AsciiStrcasecmp (const char *s1, const char *s2) |
Variables |
|
const char * | prgName = PRGNAME |
Detailed Description
Miscellaneous stuff, which does not fit anywhere else.
Actually, the other parts, beginning with object, depend on this.
Function Documentation
|
inline |
References AsciiTolower().
Referenced by dw::fltk::strstrip().
|
inline |
Referenced by AsciiStrcasecmp(), and dw::core::style::strAsciiTolower().
|
inline |
Referenced by main(), and textTimeout().
|
inline |
Referenced by dw::OutOfFlowMgr::addWidgetOOF(), dw::Textblock::BadnessAndPenalty::badnessValue(), dw::OutOfFlowMgr::calcClearPosition(), dw::OutOfFlowMgr::calcFloatX(), dw::Textblock::calcTextOffset(), lout::object::Object::clone(), dw::core::TextIterator::compareTo(), dw::core::ui::Resource::correctExtremesOfChild(), dw::core::ui::Resource::correctRequisitionOfChild(), dw::core::Layout::LinkEmitter::emitToReceiver(), dw::core::Layout::Emitter::emitToReceiver(), dw::core::ui::Resource::ActivateEmitter::emitToReceiver(), lout::object::Object::equals(), dw::Table::forceCalcCellSizes(), dw::core::ui::Resource::getAvailHeightOfChild(), dw::core::ui::Resource::getAvailWidthOfChild(), dw::Table::getExtreme(), dw::Table::getExtrModName(), dw::OutOfFlowMgr::getFloatsListsAndSide(), dw::core::SelectionState::handleEvent(), dw::SimpleContainer::SimpleContainerIterator::index(), dw::Textblock::isBreakAllowed(), dw::OutOfFlowMgr::markSizeChange(), dw::core::Layout::processMouseEvent(), dw::core::Widget::removeChild(), dw::core::DeepIterator::searchSideward(), dw::Table::setExtreme(), and dw::core::style::Color::shadeColor().
void lout::misc::init | ( | int | argc, |
char * | argv[] | ||
) |
|
inline |
Referenced by dw::Textblock::accumulateWordData(), dw::Textblock::accumulateWordForLine(), dw::Table::actuallyCalcCellSizes(), dw::Table::addCell(), dw::Textblock::addLine(), dw::Textblock::addParbreak(), dw::core::Polygon::addPoint(), dw::core::Region::addRectangle(), dw::core::Layout::adjustScrollPos(), dw::Table::apportion2(), dw::core::Layout::attachView(), dw::Textblock::borderChanged(), dw::Table::calcAvailWidthForDescendant(), dw::Textblock::calcBorders(), dw::OutOfFlowMgr::calcClearPosition(), dw::Table::calcExtremesSpanMultiCols(), dw::OutOfFlowMgr::calcFloatX(), dw::core::Widget::calcHeight(), dw::Textblock::calcLineBreakWidth(), dw::Textblock::calcLinePartHeight(), dw::Textblock::calcTextSize(), dw::core::Widget::calcWidth(), dw::Image::contentX(), dw::Image::contentY(), dw::tablecell::correctAvailWidthOfChild(), dw::tablecell::correctCorrectedRequisitionOfChild(), dw::core::ui::ComplexButtonResource::correctExtremesOfChild(), dw::core::ui::ComplexButtonResource::correctRequisitionOfChild(), dw::core::Layout::draw(), dw::core::style::drawBackgroundImage(), dw::core::style::StyleImage::ExternalImgRenderer::drawRow(), dw::Textblock::fillParagraphs(), dw::fltk::FltkFont::FltkFont(), dw::Table::forceCalcColumnExtremes(), dw::Textblock::TextblockIterator::getAllocation(), dw::core::Widget::getAvailHeightOfChild(), dw::core::ui::ComplexButtonResource::getAvailHeightOfChild(), dw::core::Widget::getAvailWidthOfChild(), dw::core::ui::ComplexButtonResource::getAvailWidthOfChild(), dw::Textblock::getAvailWidthOfChild(), dw::OutOfFlowMgr::getBorder(), dw::Table::getExtreme(), dw::OutOfFlowMgr::getExtremes(), dw::Bullet::getExtremesImpl(), dw::core::ui::Embed::getExtremesImpl(), dw::Textblock::getExtremesImpl(), dw::OutOfFlowMgr::getFloatsExtremes(), dw::OutOfFlowMgr::getFloatsSize(), dw::fltk::ui::FltkOptionMenuResource::getMaxItemWidth(), dw::core::Layout::LayoutImgRenderer::getRefArea(), dw::OutOfFlowMgr::getSize(), dw::Textblock::handleWordExtremes(), dw::Hyphenator::hyphenateSingleWord(), dw::Textblock::initNewLine(), dw::core::Rectangle::intersectsWith(), max(), dw::core::Layout::queueDrawExcept(), dw::Textblock::queueDrawRange(), dw::fltk::FltkImgbuf::scaleBuffer(), dw::fltk::FltkViewport::scrollTo(), dw::core::Iterator::scrollTo(), dw::core::style::StyleImage::StyleImgRenderer::setBuffer(), dw::core::style::Color::shadeColor(), dw::Textblock::sizeAllocateImpl(), dw::Bullet::sizeRequestImpl(), dw::Ruler::sizeRequestImpl(), dw::Textblock::Line::totalHeight(), and dw::Textblock::wrapWordInFlow().
|
inline |
References max().
|
inline |
Referenced by dw::Table::actuallyCalcCellSizes(), dw::core::Polygon::addPoint(), dw::core::Region::addRectangle(), dw::core::Layout::adjustScrollPos(), dw::Table::apportion2(), dw::Textblock::borderChanged(), dw::Table::calcAvailWidthForDescendant(), dw::OutOfFlowMgr::checkAllocatedFloatCollisions(), dw::Image::contentX(), dw::Image::contentY(), dw::fltk::FltkImgbuf::copyTo(), dw::tablecell::correctAvailWidthOfChild(), dw::core::SelectionState::correctCharPos(), dw::tablecell::correctCorrectedRequisitionOfChild(), dw::Bullet::draw(), dw::core::style::drawBackgroundImage(), dw::core::style::StyleImage::ExternalImgRenderer::drawRow(), dw::Textblock::drawWord0(), dw::Textblock::fillParagraphs(), dw::Textblock::TextblockIterator::getAllocation(), dw::Table::getExtreme(), dw::Ruler::getExtremesImpl(), dw::Image::getExtremesImpl(), dw::OutOfFlowMgr::getFloatsSize(), dw::OutOfFlowMgr::getGBWidthForAllocation(), dw::OutOfFlowMgr::hasRelationChanged(), dw::Hyphenator::hyphenateSingleWord(), dw::core::Rectangle::intersectsWith(), dw::Textblock::markExtremesChange(), dw::Textblock::markSizeChange(), min(), dw::core::Layout::processMouseEvent(), dw::core::Layout::queueDrawExcept(), dw::Textblock::queueDrawRange(), dw::Textblock::rewrap(), dw::fltk::FltkViewport::scrollTo(), dw::core::Iterator::scrollTo(), dw::Table::setCumHeight(), dw::Textblock::sizeAllocateImpl(), and dw::Textblock::wrapWordInFlow().
|
inline |
References min().
|
inline |
Variable Documentation
const char * lout::misc::prgName = PRGNAME |
Generated on Mon Apr 6 2015 02:15:19 for Dillo by
