|
Dillo
|
Miscellaneous stuff, which does not fit anywhere else. More...
Classes | |
| class | Comparable |
| Instances of a sub class of this interface may be compared (less, greater). More... | |
| class | SimpleVector |
| Simple (simpler than container::untyped::Vector and container::typed::Vector) template based vector. More... | |
| class | NotSoSimpleVector |
| Container similar to lout::misc::SimpleVector, but some cases of insertion optimized (used for hyphenation). More... | |
| class | StringBuffer |
| A class for fast concatenation of a large number of strings. More... | |
| class | BitSet |
| A bit set, which automatically reallocates when needed. 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 |
Miscellaneous stuff, which does not fit anywhere else.
Actually, the other parts, beginning with ::object, depend on this.
|
inline |
References AsciiTolower().
Referenced by dw::fltk::strstrip().
|
inline |
Referenced by AsciiStrcasecmp(), and dw::core::style::strAsciiTolower().
|
inline |
|
inline |
References prgName.
Referenced by dw::Textblock::BadnessAndPenalty::badnessValue(), lout::object::Object::clone(), dw::core::TextIterator::compareTo(), dw::core::Layout::LinkEmitter::emitToReceiver(), dw::core::Layout::Emitter::emitToReceiver(), dw::core::ui::Resource::ActivateEmitter::emitToReceiver(), lout::object::Object::equals(), dw::core::SelectionState::handleEvent(), dw::Textblock::BadnessAndPenalty::penaltyValue(), dw::core::Layout::processMouseEvent(), dw::core::Widget::removeChild(), dw::core::DeepIterator::searchSideward(), and dw::core::style::Color::shadeColor().
| void lout::misc::init | ( | int | argc, |
| char * | argv[] | ||
| ) |
References prgName.
Referenced by dw::fltk::ui::FltkComplexButtonResource::FltkComplexButtonResource(), and dw::fltk::FltkImgbuf::FltkImgbuf().
|
inline |
Referenced by dw::Textblock::accumulateWordExtremes(), dw::Textblock::accumulateWordForLine(), dw::Textblock::addLine(), dw::Textblock::addParbreak(), dw::core::Polygon::addPoint(), dw::core::Region::addRectangle(), dw::core::Layout::adjustScrollPos(), dw::core::Layout::attachView(), dw::Image::contentX(), dw::Image::contentY(), dw::fltk::FltkFont::FltkFont(), dw::Textblock::getExtremesImpl(), dw::fltk::ui::FltkOptionMenuResource::getMaxItemWidth(), dw::fltk::ui::FltkListResource::getMaxItemWidth(), dw::Hyphenator::hyphenateWord(), dw::core::Rectangle::intersectsWith(), max(), dw::core::Layout::queueDrawExcept(), dw::Textblock::queueDrawRange(), dw::fltk::FltkViewport::scrollTo(), dw::core::Iterator::scrollTo(), dw::core::style::Color::shadeColor(), and dw::Bullet::sizeRequestImpl().
|
inline |
References max().
|
inline |
Referenced by dw::core::Polygon::addPoint(), dw::core::Region::addRectangle(), dw::core::Layout::adjustScrollPos(), dw::Table::apportion_percentages2(), dw::Image::contentX(), dw::Image::contentY(), dw::core::SelectionState::correctCharPos(), dw::Bullet::draw(), dw::Textblock::drawWord0(), dw::Table::forceCalcCellSizes(), dw::Textblock::TextblockIterator::getAllocation(), dw::Hyphenator::hyphenateWord(), dw::core::Rectangle::intersectsWith(), dw::Textblock::markChange(), 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::setColWidth(), dw::Table::setCumHeight(), and dw::Textblock::sizeAllocateImpl().
|
inline |
References min().
|
inline |
| const char * lout::misc::prgName = PRGNAME |
Referenced by assertNotReached(), and init().
1.8.2