dillo
3.0.5
About: dillo is a small, fast, extensible Web browser particularly suitable for older or smaller computers and embedded systems (but only limited or no support for frames, CSS, JavaScript, Java).
![]() ![]() |
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 = PACKAGE "/" VERSION |
Miscellaneous stuff, which does not fit anywhere else.
Actually, the other parts, beginning with ::object, depend on this.
|
inline |
Definition at line 56 of file misc.hh.
References AsciiTolower().
Referenced by dw::fltk::strstrip().
|
inline |
Definition at line 46 of file misc.hh.
Referenced by AsciiStrcasecmp(), and dw::core::style::strAsciiTolower().
|
inline |
Definition at line 35 of file misc.hh.
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::isBreakAllowed(), CssParser::parseValue(), 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[] | ||
) |
Definition at line 35 of file misc.cc.
References prgName.
Referenced by dw::fltk::ui::FltkComplexButtonResource::FltkComplexButtonResource(), dw::fltk::FltkImgbuf::FltkImgbuf(), and dw::fltk::FltkImgbuf::init().
|
inline |
Definition at line 20 of file misc.hh.
Referenced by dw::Textblock::accumulateWordData(), dw::Textblock::accumulateWordExtremes(), dw::Textblock::accumulateWordForLine(), 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::Table::apportion_percentages2(), dw::core::Layout::attachView(), dw::Textblock::calcTextSize(), dw::Image::contentX(), dw::Image::contentY(), dList_find_sorted(), dList_insert_sorted(), dw::core::Layout::draw(), dw::core::style::drawBackgroundImage(), dw::core::style::StyleImage::ExternalImgRenderer::drawRow(), dw::Textblock::fillParagraphs(), dw::fltk::FltkFont::FltkFont(), dw::Table::forceCalcCellSizes(), dw::Table::forceCalcColumnExtremes(), dw::fltk::ui::CustBrowser::full_width(), dw::Table::getExtremesImpl(), dw::fltk::ui::FltkOptionMenuResource::getMaxItemWidth(), dw::core::Layout::LayoutImgRenderer::getRefArea(), dw::Textblock::handleWordExtremes(), dw::Hyphenator::hyphenateSingleWord(), dw::core::Rectangle::intersectsWith(), max(), numOptions(), dw::core::Layout::queueDrawExcept(), dw::Textblock::queueDrawRange(), ProgressBar::range(), dw::fltk::FltkImgbuf::scaleBuffer(), dw::fltk::FltkViewport::scrollTo(), dw::core::Iterator::scrollTo(), dw::core::style::StyleImage::StyleImgRenderer::setBuffer(), dw::core::style::Color::shadeColor(), and dw::Bullet::sizeRequestImpl().
|
inline |
|
inline |
Definition at line 19 of file misc.hh.
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::fltk::FltkImgbuf::copyTo(), dw::core::SelectionState::correctCharPos(), dList_find_sorted(), dList_insert_sorted(), dw::Bullet::draw(), dw::core::style::drawBackgroundImage(), dw::core::style::StyleImage::ExternalImgRenderer::drawRow(), dw::Textblock::drawWord0(), dw::Table::forceCalcCellSizes(), dw::Textblock::TextblockIterator::getAllocation(), 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(), ProgressBar::range(), dw::Textblock::rewrap(), dw::fltk::FltkViewport::scrollTo(), dw::core::Iterator::scrollTo(), dw::Table::setColWidth(), dw::Table::setCumHeight(), and dw::Textblock::sizeAllocateImpl().
|
inline |
|
inline |
Definition at line 41 of file misc.hh.
Referenced by StyleEngine::apply(), dw::Textblock::calcTextSize(), StyleEngine::computeValue(), CSS_CREATE_LENGTH(), dw::fltk::FltkWidgetView::drawText(), dw::core::style::multiplyWithPerLengthRounded(), StyleEngine::StyleEngine(), and dw::fltk::FltkPlatform::textWidth().
const char * lout::misc::prgName = PACKAGE "/" VERSION |
Definition at line 33 of file misc.cc.
Referenced by assertNotReached(), and init().